Minor Edits

This commit is contained in:
Alex Orid 2020-11-17 15:46:03 -05:00
parent 979c8dd2e9
commit fabbd544f7
3 changed files with 4 additions and 6 deletions

View File

@ -78,6 +78,6 @@ botList = ("Nightbot", "StreamElements", "Moobot", "Praxis Bot", "praxis_bot", "
slurList = ("fag", "faggot", "niga", "nigga", "nigger", "retard", "tard", "rtard", "coon") slurList = ("fag", "faggot", "niga", "nigga", "nigger", "retard", "tard", "rtard", "coon")
currentSpeaker = Speaker.STREAMLABS_API currentSpeaker = Speaker.GOOGLE_TEXT_TO_SPEECH
fileNameStrategy = FileNameStrategy.CONTENT_BASED fileNameStrategy = FileNameStrategy.CONTENT_BASED
streamlabsVoice = PollyVoices.Justin streamlabsVoice = PollyVoices.Justin

View File

@ -17,10 +17,7 @@ twitch_chat: twitch_script.Twitch_Module
credentials_manager: credentials.Credentials_Module credentials_manager: credentials.Credentials_Module
discord_connection: discord_script.Discord_Module discord_connection: discord_script.Discord_Module
def main(): def main(inputArg):
pass
def new_main(inputArg):
args = utility.get_args(inputArg) args = utility.get_args(inputArg)

View File

@ -74,6 +74,7 @@ class Twitch_Module():
if not self.isSenderBot(message): if not self.isSenderBot(message):
if self.cooldownModule.isCooldownActive("twitchChat") == False: if self.cooldownModule.isCooldownActive("twitchChat") == False:
print("Pre Eval")
self.eval_commands(message) self.eval_commands(message)
self.tts_message(message) self.tts_message(message)
@ -98,7 +99,7 @@ class Twitch_Module():
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 AbstractCommand.CommandType.TWITCH:
print("evaling command") print("running command")
command.do_command(self, message) command.do_command(self, message)
except Exception as e: except Exception as e:
# Undo the following for debug stuff # Undo the following for debug stuff