Commit Graph

131 Commits

Author SHA1 Message Date
Alex Orid
a95684053a Added Search Function for Credentials and Simplified Main() 2020-09-23 16:54:48 -04:00
dtookey
70cbb2ca9a Merge remote-tracking branch 'origin/master' 2020-09-23 15:30:30 -04:00
dtookey
2ad08c3c0d Merge branch 'credentials-class-idea' 2020-09-23 15:30:07 -04:00
Alex Orid
e058acd697 Merge branch 'credentials-class-idea' 2020-09-23 15:20:58 -04:00
Alex Orid
8b90dc4ac7 Fixed gitignore 2020-09-23 15:13:24 -04:00
ccaee336dd Merge pull request 'Added DB Module to the Twitch Module' (#4) from DB-Credentials-Integration into credentials-class-idea
Reviewed-on: #4
2020-09-23 19:03:48 +00: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
ff4c21a747 Updated Readme 2020-09-23 03:03:18 -04:00
99b303958a Merge pull request 'Implementation of credentials in the twitch script' (#3) from credentials-class-for-twitch-script into credentials-class-idea
Reviewed-on: #3
2020-09-23 06:51:47 +00: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
2dab24bb48 updated to reflect current branches 2020-09-23 05:50:25 +00: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
Alex Orid
d773d8b8da Modified load_credentials()
Made the load_credentials function add credentials to the credential lists.
2020-09-22 18:26:04 -04:00
Alex Orid
7d0520b0b0 Added the DB Credential Template 2020-09-22 18:20:56 -04:00
97166feaf0 Merge pull request 'implemented quick and easy way for storing credentials in json files. Most of the stuff in here is template ideas, season them to taste for yourself' (#2) from class_credentials_loader into credentials-class-idea
Reviewed-on: #2
Awesome, thanks.
2020-09-22 22:04:14 +00:00
dtookey
c2113116cd implemented quick and easy way for storing credentials in json files. Most of the stuff in here is template ideas, season them to taste for yourself
added .idea to .gitignore
2020-09-22 01:38:35 -04:00
Alex Orid
9f449a916c Credentials Class Idea 2020-09-21 23:31:36 -04:00
Alex Orid
992c923be2 Updated .gitignore
Added /__pycache__/ to .gitignore
2020-09-21 04:00:15 -04:00
Alex Orid
a585f3ed2c Altered __main__
Also added git ignore for /tts/
2020-09-21 03:57:45 -04:00
Alex Orid
937504816d Windows TTS Tweak
Changed the ogg to mp3 for now until I make a detect os function if it doesnt work on other systems.
2020-09-21 03:48:11 -04:00
Alex Orid
1e4ef223e1 Merge branch 'tookeymeddling' 2020-09-21 03:43:02 -04:00
dtookey
f25991641a Merge remote-tracking branch 'origin/tookeymeddling' into tookeymeddling 2020-09-20 13:52:37 -04:00
dtookey
68674de54e removed pyglet because playsound appears to work just fine
added documentation to several functions in tty.py
2020-09-20 13:52:29 -04:00
dtookey
0c3733e2c0 removed pyglet because playsound appears to work just fine
added documentation to several functions in tty.py
2020-09-20 13:51:14 -04:00
dtookey
f02bb4d3ee Merge remote-tracking branch 'origin/tookeymeddling' into tookeymeddling
# Conflicts:
#	config.py
#	requirements.txt
#	tests/test_twitch_script_class.py
#	tts.py
#	twitch_script_class.py
2020-09-20 13:36:18 -04:00
dtookey
17e1a092be updated tts.py
support both gtts and aws polly (we borrow from the streamlabs api)
moved some configuration stuff around
added one test method for creating file names, but it doesn't have any assertions, so it's useless
added enums for different configuration properties like tts engine, file naming, and poly voices
2020-09-20 13:35:53 -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
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
Alex Orid
05a95b9696 Updated README 2020-09-20 00:15:47 -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