Praxis_Bot/main.py
dtookey 453c1de0cc Let PEP8 do it's thing and reformat all the files.
Removed bots.py and slurs.py and moved them into config.py. twitch_script_class.py has been updated to handle this
added a test harness for twitch_script_class.py
contains_url and contains_slur are both validated
refactored contains_url to use a simple(ish) regex instead of an if cascade
2020-09-20 11:40:51 -04:00

26 lines
549 B
Python

# I moved all the requirements into requirements.txt.
# you can install everything with pip install -r requirements.txt while you're in the directory
import sys
import time
import twitch_script_class
import utilities_script as utility
twitch_chat: twitch_script_class.Twitch_Module
def main():
print("Connecting to Channels...")
global twitch_chat
twitch_chat = twitch_script_class.Twitch_Module()
twitch_chat.join_channel("thecuriousnerd")
# twitch_chat.send_message("activated")
if __name__ == "__main__":
main()