Setting the 'commands' flag to True

If the user attached to the bot is admin, it should be allowed to pass commands.
main
Nicolas Ong 2024-03-29 11:12:54 +01:00
parent 4f1f0014c9
commit d489bdaced
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class TwitchIrc:
nickname = ""
password = ""
channel = ""
capabilities = {"membership": False, "tags": False, "commands": False}
capabilities = {"membership": False, "tags": False, "commands": True}
def join(self, nickname, password, channel):
self.nickname = nickname