Compare commits
No commits in common. "199359315084dabbf4522fc3277ad6b32f957170" and "354a6da9ae64390f1459d5ee5cd4d9fc9409c96c" have entirely different histories.
1993593150
...
354a6da9ae
@ -67,11 +67,11 @@ class Twitch_Module():
|
|||||||
self.tts_message(message)
|
self.tts_message(message)
|
||||||
|
|
||||||
def eval_commands(self, message: twitch.chat.Message):
|
def eval_commands(self, message: twitch.chat.Message):
|
||||||
# containsURL: bool = self.contains_url(message)
|
containsURL: bool = self.contains_url(message)
|
||||||
command_text = message.text[0:message.text.index(' ')]
|
command_text = message.text[0:message.text.index(' ')]
|
||||||
|
|
||||||
command = self.commands[command_text]
|
command = self.commands[command_text]
|
||||||
if command is not None and command.command_type is AbstractCommand.CommandType.TWITCH:
|
if command is not None and command.command_type is not AbstractCommand.CommandType.NONE:
|
||||||
command.do_command(self, message)
|
command.do_command(self, message)
|
||||||
|
|
||||||
# if message.text.startswith('!tts start'):
|
# if message.text.startswith('!tts start'):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user