mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
more self error
This commit is contained in:
parent
d66c29fda9
commit
60a7c4cc87
@ -43,7 +43,7 @@ class BotCommands():
|
|||||||
return self.dict['disabled']
|
return self.dict['disabled']
|
||||||
|
|
||||||
def check_disabled_commands(self, bot, command, channel):
|
def check_disabled_commands(self, bot, command, channel):
|
||||||
if command in self.get_disabled_commands(self, bot, channel).keys():
|
if command in self.get_disabled_commands(bot, channel).keys():
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user