Minor Edits
This commit is contained in:
parent
979c8dd2e9
commit
fabbd544f7
@ -78,6 +78,6 @@ botList = ("Nightbot", "StreamElements", "Moobot", "Praxis Bot", "praxis_bot", "
|
||||
|
||||
slurList = ("fag", "faggot", "niga", "nigga", "nigger", "retard", "tard", "rtard", "coon")
|
||||
|
||||
currentSpeaker = Speaker.STREAMLABS_API
|
||||
currentSpeaker = Speaker.GOOGLE_TEXT_TO_SPEECH
|
||||
fileNameStrategy = FileNameStrategy.CONTENT_BASED
|
||||
streamlabsVoice = PollyVoices.Justin
|
||||
|
||||
5
main.py
5
main.py
@ -17,10 +17,7 @@ twitch_chat: twitch_script.Twitch_Module
|
||||
credentials_manager: credentials.Credentials_Module
|
||||
discord_connection: discord_script.Discord_Module
|
||||
|
||||
def main():
|
||||
pass
|
||||
|
||||
def new_main(inputArg):
|
||||
def main(inputArg):
|
||||
args = utility.get_args(inputArg)
|
||||
|
||||
|
||||
|
||||
@ -74,6 +74,7 @@ class Twitch_Module():
|
||||
|
||||
if not self.isSenderBot(message):
|
||||
if self.cooldownModule.isCooldownActive("twitchChat") == False:
|
||||
print("Pre Eval")
|
||||
self.eval_commands(message)
|
||||
self.tts_message(message)
|
||||
|
||||
@ -98,7 +99,7 @@ class Twitch_Module():
|
||||
|
||||
command = self.commands[command_text]
|
||||
if command is not None and command.command_type is AbstractCommand.CommandType.TWITCH:
|
||||
print("evaling command")
|
||||
print("running command")
|
||||
command.do_command(self, message)
|
||||
except Exception as e:
|
||||
# Undo the following for debug stuff
|
||||
|
||||
Loading…
Reference in New Issue
Block a user