mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
really fix
This commit is contained in:
parent
9a52fe983b
commit
8bbfbf4bd6
@ -130,7 +130,7 @@ class BotCommands():
|
||||
else:
|
||||
raise Exception(str(target.lower()) + " appears to not be a valid user/channel")
|
||||
|
||||
def unset_command_disabled(self, command, disabletype="fully"):
|
||||
def unset_command_disabled(self, command, target, disabletype="fully"):
|
||||
if disabletype not in list(self.dict['disabled'].keys()):
|
||||
self.dict['disabled'][disabletype] = {
|
||||
"users": {},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user