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