From 7982158aaddd728f9d06ded3bed77bc04dd6aac3 Mon Sep 17 00:00:00 2001 From: copyleftie Date: Fri, 24 May 2019 21:11:20 -0400 Subject: [PATCH] add important wrapper commands around `/me` --- .../command_system/implementation/standard.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gajim/command_system/implementation/standard.py b/gajim/command_system/implementation/standard.py index 44aaf3100..6ec0c1310 100644 --- a/gajim/command_system/implementation/standard.py +++ b/gajim/command_system/implementation/standard.py @@ -78,6 +78,26 @@ class StandardCommonCommands(CommandContainer): @doc(_("Send action (in the third person) to the current chat")) def me(self, action): self.send("/me %s" % action) + + @command('kiss',raw=True) + @doc(_("Send kiss (in the third person) to the current chat")) + def kisses(self, action): + self.send("/me kisses %s" % action) + + @command('cuddle',raw=True) + @doc(_("Send kiss (in the third person) to the current chat")) + def cuddles(self, action): + self.send("/me cuddles %s" % action) + + @command('nuzzle','nuzl',raw=True) + @doc(_("Send nuzzles (in the third person) to the current chat")) + def nuzzles(self, action): + self.send("/me nuzzles %s" % action) + + @command('hug',raw=True) + @doc(_("Send hugs (in the third person) to the current chat")) + def hugs(self, action): + self.send("/me hugs %s" % action) @command('lastlog', overlap=True) @doc(_("Show logged messages which mention given text"))