diff options
-rw-r--r-- | plugins/figlet.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/figlet.py b/plugins/figlet.py index ccff687a..cf885352 100644 --- a/plugins/figlet.py +++ b/plugins/figlet.py @@ -4,6 +4,8 @@ import subprocess class Plugin(BasePlugin): def init(self): self.add_poezio_event_handler('muc_say', self.figletize) + self.add_poezio_event_handler('conversation_say', self.figletize) + self.add_poezio_event_handler('private_say', self.figletize) def figletize(self, msg): process = subprocess.Popen(['figlet', msg['body']], stdout=subprocess.PIPE) |