plugin text commands: minor docstrings improvments
This commit is contained in:
parent
9443b14c59
commit
a820e07d8f
1 changed files with 11 additions and 2 deletions
|
|
@ -271,7 +271,12 @@ class TextCommands(object):
|
|||
self.host.bridge.newMessage(unicode(mess_data["to"]), message, C.MESS_TYPE_INFO, unicode(_from), {}, profile=profile)
|
||||
|
||||
def cmd_whois(self, mess_data, profile):
|
||||
"""show information on entity"""
|
||||
"""show informations on entity
|
||||
|
||||
@command: [JID|ROOM_NICK]
|
||||
- JID: entity to request
|
||||
- ROOM_NICK: nick of the room to request
|
||||
"""
|
||||
log.debug("Catched whois command")
|
||||
|
||||
entity = mess_data["unparsed"].strip()
|
||||
|
|
@ -367,6 +372,10 @@ class TextCommands(object):
|
|||
self.feedBack(help_mess, mess_data, profile)
|
||||
|
||||
def cmd_me(self, mess_data, profile):
|
||||
"""Display a message at third person"""
|
||||
"""Display a message at third person
|
||||
|
||||
@command: message
|
||||
- message: message to display at the third person
|
||||
"""
|
||||
# We just catch the method and continue it as the frontends should manage /me display
|
||||
return True
|
||||
|
|
|
|||
Loading…
Reference in a new issue