Discord Script + Threading #11

Merged
alex_orid merged 29 commits from Discord-Script into master 2020-11-17 10:35:19 +00:00
Showing only changes of commit b2b1d87949 - Show all commits

View File

@ -18,5 +18,5 @@ class CommandTTS(AbstractCommand, metaclass=ABCMeta):
bot.tts_enabled = True
elif args[1] == "stop":
if twitch_message.sender.lower() == twitch_message.channel:
bot.send_message("tts activated on #%s" % twitch_message.channel)
bot.send_message("tts deactivated on #%s" % twitch_message.channel)
bot.tts_enabled = False