mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
Fix issue
This commit is contained in:
parent
020ff76f54
commit
e13536b5e1
@ -184,7 +184,7 @@ def nickname_comand_chanstats(bot, trigger):
|
||||
bot.osd("Topic for {}: {}".format(channel, topic))
|
||||
return
|
||||
|
||||
if commandused.upper() == ['OP', 'HOP', 'VOICE', 'OWNER', 'ADMIN']:
|
||||
if commandused.upper() in ['OP', 'HOP', 'VOICE', 'OWNER', 'ADMIN']:
|
||||
if not len(triggerargs):
|
||||
if trigger.is_privmsg:
|
||||
bot.osd("Channel name required.")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user