add important wrapper commands around `/me`
This commit is contained in:
parent
c32f46e99f
commit
7982158aad
|
@ -79,6 +79,26 @@ class StandardCommonCommands(CommandContainer):
|
||||||
def me(self, action):
|
def me(self, action):
|
||||||
self.send("/me %s" % action)
|
self.send("/me %s" % action)
|
||||||
|
|
||||||
|
@command('kiss',raw=True)
|
||||||
|
@doc(_("Send kiss (in the third person) to the current chat"))
|
||||||
|
def kisses(self, action):
|
||||||
|
self.send("/me kisses %s" % action)
|
||||||
|
|
||||||
|
@command('cuddle',raw=True)
|
||||||
|
@doc(_("Send kiss (in the third person) to the current chat"))
|
||||||
|
def cuddles(self, action):
|
||||||
|
self.send("/me cuddles %s" % action)
|
||||||
|
|
||||||
|
@command('nuzzle','nuzl',raw=True)
|
||||||
|
@doc(_("Send nuzzles (in the third person) to the current chat"))
|
||||||
|
def nuzzles(self, action):
|
||||||
|
self.send("/me nuzzles %s" % action)
|
||||||
|
|
||||||
|
@command('hug',raw=True)
|
||||||
|
@doc(_("Send hugs (in the third person) to the current chat"))
|
||||||
|
def hugs(self, action):
|
||||||
|
self.send("/me hugs %s" % action)
|
||||||
|
|
||||||
@command('lastlog', overlap=True)
|
@command('lastlog', overlap=True)
|
||||||
@doc(_("Show logged messages which mention given text"))
|
@doc(_("Show logged messages which mention given text"))
|
||||||
def grep(self, text, limit=None):
|
def grep(self, text, limit=None):
|
||||||
|
|
Loading…
Reference in New Issue