mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
tidy code
This commit is contained in:
parent
f42fc29506
commit
459b9820ac
@ -162,10 +162,6 @@ class BotPrerun():
|
||||
|
||||
def trigger_runstatus(self, bot, trigger, argsdict):
|
||||
|
||||
# Hyphen args can only be used one per && split
|
||||
if argsdict["hyphen_arg"]:
|
||||
return False
|
||||
|
||||
# don't run commands that are disabled in channels
|
||||
if not trigger.is_privmsg:
|
||||
disabled_list = spicedb.get_channel_value(bot, trigger.sender, 'disabled_commands', 'commands') or {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user