Update plugin.py

This commit is contained in:
Gordon Shumway 2019-11-17 07:12:12 -05:00 committed by GitHub
parent 67956f61d4
commit a46a0164fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ class TimeBomb(callbacks.Plugin):
self.rng.seed()
try:
self.command_char = conf.supybot.reply.whenAddressedBy.chars()[0]
except KeyError:
except:
self.command_char = ''
if self.debug:
self.irc.reply('I just created a bomb in {}'.format(channel))