Cleaning up code

Renamed the Twitch Script

Got rid of unneeded files.
This commit is contained in:
Alex Orid 2020-09-23 02:35:00 -04:00
parent 85909ecad9
commit 928ec6e935
4 changed files with 4 additions and 18 deletions

View File

@ -1 +0,0 @@
engine_url = "mysql+mysqlconnector://"

View File

@ -4,13 +4,13 @@
import sys
import time
import twitch_script_class
import twitch_script
import utilities_script as utility
import credentials
twitch_chat: twitch_script_class.Twitch_Module
twitch_chat: twitch_script.Twitch_Module
credentials_manager: credentials.Credentials_Module
def main():
@ -20,7 +20,7 @@ def main():
credentials_manager = credentials.Credentials_Module()
credentials_manager.load_credentials()
twitch_chat = twitch_script_class.Twitch_Module()
twitch_chat = twitch_script.Twitch_Module()
mainCert: credentials.Twitch_Credential
if credentials_manager.Twitch_Credentials_List is not None:

View File

@ -1,12 +0,0 @@
# So I'm a little conflicted here. My nit-picky self says that this should be a class you have to instantiate rather
# than static variables... I'll leave this alone for now, but you may wish to refactor this in future
username = ""
helix = ""
oauth = "oauth:"
v5_Client = ""
#Username = Twitch Username
#Helix ID https://dev.twitch.tv/console/apps
#Oauth https://twitchapps.com/tmi/
#V5 Client ID https://twitchtokengenerator.com/

View File

@ -5,9 +5,8 @@ import twitch
import twitch.chat
import config as config
import db
#import db
import tts
import twitch_cred as twitch_credentials
import credentials