Rollback to a python secret file
This commit is contained in:
parent
ae6f2f9d0c
commit
a01a09d23c
11
bot.py
11
bot.py
|
@ -7,20 +7,11 @@ Description
|
|||
Allow to make and run a Bot instance which will communicate to the V5 server and IRC one.
|
||||
"""
|
||||
|
||||
import json
|
||||
#import socket
|
||||
#from threading import Thread
|
||||
|
||||
from secrets import USER, PASSWORD
|
||||
from irc import IRC
|
||||
from v5 import V5
|
||||
|
||||
|
||||
with open("secrets.json", "r", encoding="utf-8") as file:
|
||||
secrets = json.load(file)
|
||||
USER = secrets["user"]
|
||||
PASSWORD = secrets["password"]
|
||||
|
||||
|
||||
class Bot:
|
||||
"""Run the connexion between IRC's server and V5 one.
|
||||
|
||||
|
|
Loading…
Reference in New Issue