diff --git a/db_cred.py b/db_cred.py deleted file mode 100644 index 13fc233..0000000 --- a/db_cred.py +++ /dev/null @@ -1 +0,0 @@ -engine_url = "mysql+mysqlconnector://" diff --git a/main.py b/main.py index 43dc7b4..c7f2b1e 100644 --- a/main.py +++ b/main.py @@ -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: diff --git a/twitch_cred.py b/twitch_cred.py deleted file mode 100644 index e5dd8d4..0000000 --- a/twitch_cred.py +++ /dev/null @@ -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/ diff --git a/twitch_script_class.py b/twitch_script.py similarity index 99% rename from twitch_script_class.py rename to twitch_script.py index b6ffbca..a25189b 100644 --- a/twitch_script_class.py +++ b/twitch_script.py @@ -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