Compare commits
1 commit
7982158aad
...
abbf24f6fa
Author | SHA1 | Date | |
---|---|---|---|
abbf24f6fa |
1 changed files with 22 additions and 10 deletions
|
@ -79,25 +79,37 @@ 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)
|
@command('kiss', raw=True, empty=True)
|
||||||
@doc(_("Send kiss (in the third person) to the current chat"))
|
@doc(_("Send kiss (in the third person) to the current chat"))
|
||||||
def kisses(self, action):
|
def kisses(self, action):
|
||||||
|
if action:
|
||||||
self.send("/me kisses %s" % action)
|
self.send("/me kisses %s" % action)
|
||||||
|
else:
|
||||||
|
self.send("/me kisses")
|
||||||
|
|
||||||
@command('cuddle',raw=True)
|
@command('cuddle', raw=True, empty=True)
|
||||||
@doc(_("Send kiss (in the third person) to the current chat"))
|
@doc(_("Send cuddles (in the third person) to the current chat"))
|
||||||
def cuddles(self, action):
|
def cuddles(self, action):
|
||||||
|
if action:
|
||||||
self.send("/me cuddles %s" % action)
|
self.send("/me cuddles %s" % action)
|
||||||
|
else:
|
||||||
|
self.send("/me cuddles")
|
||||||
|
|
||||||
@command('nuzzle','nuzl',raw=True)
|
@command('nuzzle','nuzl', raw=True, empty=True)
|
||||||
@doc(_("Send nuzzles (in the third person) to the current chat"))
|
@doc(_("Send nuzzles (in the third person) to the current chat"))
|
||||||
def nuzzles(self, action):
|
def nuzzles(self, action):
|
||||||
|
if action:
|
||||||
self.send("/me nuzzles %s" % action)
|
self.send("/me nuzzles %s" % action)
|
||||||
|
else:
|
||||||
|
self.send("/me nuzzles")
|
||||||
|
|
||||||
@command('hug',raw=True)
|
@command('hug', raw=True, empty=True)
|
||||||
@doc(_("Send hugs (in the third person) to the current chat"))
|
@doc(_("Send hugs (in the third person) to the current chat"))
|
||||||
def hugs(self, action):
|
def hugs(self, action):
|
||||||
|
if action:
|
||||||
self.send("/me hugs %s" % action)
|
self.send("/me hugs %s" % action)
|
||||||
|
else:
|
||||||
|
self.send("/me hugs")
|
||||||
|
|
||||||
@command('lastlog', overlap=True)
|
@command('lastlog', overlap=True)
|
||||||
@doc(_("Show logged messages which mention given text"))
|
@doc(_("Show logged messages which mention given text"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue