tidy code

This commit is contained in:
deathbybandaid 2019-05-23 19:43:07 -04:00
parent f42fc29506
commit 459b9820ac

View File

@ -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 {}