Rollback to a python secret file

This commit is contained in:
Shadow15510 2023-06-09 20:04:19 +02:00
parent ae6f2f9d0c
commit a01a09d23c
1 changed files with 1 additions and 10 deletions

11
bot.py
View File

@ -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.