Setting the 'commands' flag to True
If the user attached to the bot is admin, it should be allowed to pass commands.main
parent
4f1f0014c9
commit
d489bdaced
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue