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