changeset 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 7e43ea75cce8
children 71fdc327b318
files src/plugins/plugin_misc_text_commands.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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