mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
fix
This commit is contained in:
parent
8a24ca71e7
commit
9a52fe983b
@ -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, target, timestamp, reason, bywhom, disabletype="fully"):
|
def unset_command_disabled(self, command, 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