# HG changeset patch # User Goffi # Date 1426772282 -3600 # Node ID 85caf0a3abb3d1eb3e676dbd4a9a1aa278609a62 # Parent 876c9fbd0b3ddd25286035f90cd5efbacc5be838 plugin text commands: minor docstrings improvments diff -r 876c9fbd0b3d -r 85caf0a3abb3 src/plugins/plugin_misc_text_commands.py --- a/src/plugins/plugin_misc_text_commands.py Thu Mar 19 14:30:08 2015 +0100 +++ b/src/plugins/plugin_misc_text_commands.py Thu Mar 19 14:38:02 2015 +0100 @@ -271,7 +271,12 @@ 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 @@ 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