parent
c3613f196a
commit
d528213c5f
|
@ -71,7 +71,7 @@ class Bot(irc.bot.SingleServerIRCBot):
|
||||||
if cmd:
|
if cmd:
|
||||||
self.cmd = cmd
|
self.cmd = cmd
|
||||||
self.arg = arg
|
self.arg = arg
|
||||||
if text:
|
if text != None:
|
||||||
self.text = text
|
self.text = text
|
||||||
if not (cmd==None or text==None):
|
if not (cmd==None or text==None):
|
||||||
raise TypeError('missing cmd or text parameter')
|
raise TypeError('missing cmd or text parameter')
|
||||||
|
|
Loading…
Reference in New Issue