mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 14:10:58 -05:00
better ? detection
This commit is contained in:
parent
fc9d4d1772
commit
4ba356918f
@ -14,7 +14,7 @@ from sopel_modules.SpiceBot_Events.System import bot_events_check
|
||||
def bot_command_nick(bot, trigger):
|
||||
|
||||
# command must not start with
|
||||
if str(trigger).startswith(tuple(['?'])):
|
||||
if str(trigger.args[1])[0] == "?":
|
||||
return
|
||||
|
||||
while not bot_events_check(bot, ['1004', '2002']):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user