Compare commits
1 Commits
abbf24f6fa
...
7982158aad
Author | SHA1 | Date |
---|---|---|
'leftie | 7982158aad |
|
@ -74,42 +74,30 @@ class StandardCommonCommands(CommandContainer):
|
|||
def say(self, message):
|
||||
self.send(message)
|
||||
|
||||
@command('we','us', raw=True)
|
||||
@command('we','us',raw=True)
|
||||
@doc(_("Send action (in the third person) to the current chat"))
|
||||
def me(self, action):
|
||||
self.send("/me %s" % action)
|
||||
|
||||
@command('kiss', raw=True, empty=True)
|
||||
@command('kiss',raw=True)
|
||||
@doc(_("Send kiss (in the third person) to the current chat"))
|
||||
def kisses(self, action):
|
||||
if action:
|
||||
self.send("/me kisses %s" % action)
|
||||
else:
|
||||
self.send("/me kisses")
|
||||
self.send("/me kisses %s" % action)
|
||||
|
||||
@command('cuddle', raw=True, empty=True)
|
||||
@doc(_("Send cuddles (in the third person) to the current chat"))
|
||||
@command('cuddle',raw=True)
|
||||
@doc(_("Send kiss (in the third person) to the current chat"))
|
||||
def cuddles(self, action):
|
||||
if action:
|
||||
self.send("/me cuddles %s" % action)
|
||||
else:
|
||||
self.send("/me cuddles")
|
||||
self.send("/me cuddles %s" % action)
|
||||
|
||||
@command('nuzzle','nuzl', raw=True, empty=True)
|
||||
@command('nuzzle','nuzl',raw=True)
|
||||
@doc(_("Send nuzzles (in the third person) to the current chat"))
|
||||
def nuzzles(self, action):
|
||||
if action:
|
||||
self.send("/me nuzzles %s" % action)
|
||||
else:
|
||||
self.send("/me nuzzles")
|
||||
self.send("/me nuzzles %s" % action)
|
||||
|
||||
@command('hug', raw=True, empty=True)
|
||||
@command('hug',raw=True)
|
||||
@doc(_("Send hugs (in the third person) to the current chat"))
|
||||
def hugs(self, action):
|
||||
if action:
|
||||
self.send("/me hugs %s" % action)
|
||||
else:
|
||||
self.send("/me hugs")
|
||||
self.send("/me hugs %s" % action)
|
||||
|
||||
@command('lastlog', overlap=True)
|
||||
@doc(_("Show logged messages which mention given text"))
|
||||
|
|
Loading…
Reference in New Issue