From d528213c5f3625468b29cf98c08582fb154ec85d Mon Sep 17 00:00:00 2001 From: mallory Date: Fri, 18 Dec 2020 09:48:21 -0800 Subject: [PATCH] fix for listeners --- pinhook/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinhook/bot.py b/pinhook/bot.py index 20384ba..1791101 100644 --- a/pinhook/bot.py +++ b/pinhook/bot.py @@ -71,7 +71,7 @@ class Bot(irc.bot.SingleServerIRCBot): if cmd: self.cmd = cmd self.arg = arg - if text: + if text != None: self.text = text if not (cmd==None or text==None): raise TypeError('missing cmd or text parameter')