more self error

This commit is contained in:
deathbybandaid 2019-05-23 18:36:01 -04:00
parent d66c29fda9
commit 60a7c4cc87

View File

@ -43,7 +43,7 @@ class BotCommands():
return self.dict['disabled']
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
else:
return False