evolve aocrr-bot

This commit is contained in:
Stefan Harmuth 2021-12-06 09:17:11 +01:00
parent 06edb03388
commit 767a93aa46

View File

@ -29,7 +29,6 @@ def fetch_leaderboard(session_id: str, year: int = datetime.now().year) -> dict:
class IrcBot:
def __init__(self):
super().__init__()
self.cache = JSONFile("aocrr_bot.cache", create=True)
self.__session_id = open(".session", "r").readlines()[0].strip()
self.irc_client = Client(IRC_SERVER, IRC_PORT, IRC_NICK, IRC_USER, IRC_REALNAME)