diff src/plugins/plugin_misc_text_commands.py @ 1025:24fe24cfb363

plugin text commands: added /me command to avoid the need to escape the /
author Goffi <goffi@goffi.org>
date Thu, 15 May 2014 19:51:53 +0200
parents 291eb8216f6e
children e88bff4c8b77
line wrap: on
line diff
--- a/src/plugins/plugin_misc_text_commands.py	Thu May 15 16:35:28 2014 +0200
+++ b/src/plugins/plugin_misc_text_commands.py	Thu May 15 19:51:53 2014 +0200
@@ -233,3 +233,8 @@
 
         help_mess = _(u"Text commands available:\n%s") % (u'\n'.join(help_cmds), )
         self.feedBack(help_mess, mess_data, profile)
+
+    def cmd_me(self, mess_data, profile):
+        """Display a message at third person"""
+        # We just catch the method and continue it as the frontends should manage /me display
+        return True