changes to allow processing other events
This commit is contained in:
parent
5c9278bc63
commit
fdca6da624
@ -1 +1 @@
|
|||||||
__version__ = '1.9.5'
|
__version__ = '1.9.6'
|
||||||
|
@ -249,7 +249,10 @@ class Bot(irc.bot.SingleServerIRCBot):
|
|||||||
nick = e.source.nick
|
nick = e.source.nick
|
||||||
if nick == self.bot_nick:
|
if nick == self.bot_nick:
|
||||||
pass
|
pass
|
||||||
|
if e.arguments:
|
||||||
text = e.arguments[0]
|
text = e.arguments[0]
|
||||||
|
else:
|
||||||
|
text = ''
|
||||||
if e.type == 'privmsg' or e.type == 'pubmsg':
|
if e.type == 'privmsg' or e.type == 'pubmsg':
|
||||||
msg_type = 'message'
|
msg_type = 'message'
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user