Commit Graph

27 Commits

Author SHA1 Message Date
Alex Orid
659fe444d6 Added Configs
Added configs to either block or force functions to do or not do something.
2021-01-21 03:12:46 -05:00
Alex Orid
140d099e2d Fixed Typo 2021-01-20 05:20:51 -05:00
Alex Orid
4ef983c7cc Added Test Module & Updated Name == Main
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.
2021-01-20 04:35:09 -05:00
Alex Orid
538f46718c fixed typo 2021-01-18 10:01:57 -05:00
Alex Orid
f7d3203c28 Fixed Startup 2021-01-18 10:01:28 -05:00
Alex Orid
4be0adf737 Moved things to Config 2021-01-18 09:44:39 -05:00
Alex Orid
f518c31a98 Deleted Spaces 2020-11-19 15:54:05 -05:00
Alex Orid
8f2ae75dc8 Discord TTS Channel 2020-11-19 00:22:07 -05:00
Alex Orid
fabbd544f7 Minor Edits 2020-11-17 15:46:03 -05:00
Alex Orid
5f3b3bb775 Cleaned up Main 2020-10-20 05:07:41 -04:00
Alex Orid
14894e9aed Fixed Inconsistency 2020-10-20 03:41:56 -04:00
Alex Orid
bab4a31d95 Cleaned up Main 2020-10-20 03:24:53 -04:00
Alex Orid
c4b409fd00 Modified more Lines 2020-10-20 03:12:42 -04:00
Alex Orid
81c458ddd1 Removed Line 2020-10-20 03:10:41 -04:00
Alex Orid
c55e708928 Added Test 2020-10-20 03:08:29 -04:00
Alex Orid
b29787d5c3 This Works? 2020-10-20 03:07:26 -04:00
Alex Orid
df3aa80a65 Progress Maybe?
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
2020-10-20 03:00:33 -04:00
Alex Orid
4f55c84ba8 idea 2020-10-20 00:10:42 -04:00
Alex Orid
202b25ec26 Fixed Inconsistent Parts 2020-10-02 03:41:35 -04:00
Alex Orid
16e06f59fb Message Detection 2020-10-02 03:35:49 -04:00
Alex Orid
a95684053a Added Search Function for Credentials and Simplified Main() 2020-09-23 16:54:48 -04:00
Alex Orid
ada9d2ecb8 Added DB Module to the Twitch 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.
2020-09-23 15:01:15 -04:00
Alex Orid
dd4b42803b Added seasoning onto main()
Added some extra spice to main() for later usage.
2020-09-23 02:45:24 -04:00
Alex Orid
928ec6e935 Cleaning up code
Renamed the Twitch Script

Got rid of unneeded files.
2020-09-23 02:35:00 -04:00
Alex Orid
85909ecad9 Twitch Script Credentials Integration
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.
2020-09-23 01:48:03 -04:00
dtookey
3e24942d54 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

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:48:15 -04:00
Alex Orid
994981cfdb First Push
Im so sorry for the bad code T_T

(Also note to self, I deleted the old code)
2020-09-19 23:38:49 -04:00