Added a test module to make it faster to include new additions.
I also updated the name == main section in each module to use the values in config instead of itself.
This is the current error I run into:
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\ADO\AppData\Local\Programs\Python\Python37\lib\threading.py", line
926, in _bootstrap_inner
self.run()
File "C:\Users\ADO\AppData\Local\Programs\Python\Python37\lib\threading.py", line
870, in run
self._target(*self._args, **self._kwargs)
TypeError: discord_module_init() argument after * must be an iterable, not Discord_Module
Expanded main() a little to add DB_Module to the Twitch_Module.
Added a db_manager to the Twitch_Module class.
Added the nickname string to the db credential.
Updated the template for database credentials.
Added the credentials module to the twitch script.
Modified the main.py to join my channel if it detects a specific credential.
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
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