mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
test
This commit is contained in:
parent
660d6b5613
commit
bd47fe7900
@ -91,7 +91,6 @@ class BotPrerun():
|
||||
return prerun_split
|
||||
|
||||
def trigger_runstatus(self, bot, trigger):
|
||||
return True
|
||||
|
||||
# Bots can't run commands
|
||||
if Identifier(trigger.nick) == bot.nick:
|
||||
@ -105,6 +104,9 @@ class BotPrerun():
|
||||
bot.osd("The admin switch (-a) is for use by authorized nicks ONLY.", 'notice')
|
||||
return False
|
||||
|
||||
if trigger.sb["hyphen_arg"]:
|
||||
return False
|
||||
|
||||
# don't run commands that are disabled in channels
|
||||
if not trigger.is_privmsg:
|
||||
commandused = trigger.sb["realcom"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user