Updated Mains.
This commit is contained in:
parent
d88871abef
commit
202d8e5891
8
db.py
8
db.py
@ -69,5 +69,9 @@ class db_module():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
db_connection = db_module()
|
testModule = db_module()
|
||||||
db_connection.setup_engine()
|
|
||||||
|
credentials_manager = credentials.Credentials_Module()
|
||||||
|
credentials_manager.load_credentials()
|
||||||
|
testModule.dbCredential = credentials_manager.find_DB_Credential("praxis_bot")
|
||||||
|
testModule.setup_engine()
|
||||||
|
|||||||
@ -163,5 +163,10 @@ def main_chat_commands_check(channel, sender, text):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
testChat = Twitch_Module()
|
testModule = Twitch_Module()
|
||||||
testChat.join_channel("thecuriousnerd")
|
|
||||||
|
credentials_manager = credentials.Credentials_Module()
|
||||||
|
credentials_manager.load_credentials()
|
||||||
|
testModule.twitchCredential = credentials_manager.find_Twitch_Credential("praxis_bot")
|
||||||
|
testModule.dbCredential = credentials_manager.find_DB_Credential("praxis_bot")
|
||||||
|
testModule.join_channel(None ,"thecuriousnerd")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user