Fix respect matching

This commit is contained in:
dave 2017-12-17 22:40:22 -08:00
parent 2f4ab6cd60
commit 23a9afbafb
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class PressF(ModuleBase):
ModuleBase.__init__(self, bot, moduleName)
self.last = 0
@regex(r'F', types=['PRIVMSG'], allow_private=False)
@regex(r'\bF\b', types=['PRIVMSG'], allow_private=False)
def respect(self, msg, cmd):
if time() - self.last > self.config.get("delay", 5):
self.last = time()