From 6a4c104ae92f47c26234ef4dbadb23200e7ff5ec Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 4 Apr 2025 07:17:29 +0000 Subject: [PATCH] update filename --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 66bb093..ff0b02b 100644 --- a/bot.py +++ b/bot.py @@ -18,10 +18,10 @@ helptext_short = "see https://git.tilde.town/nebula/chatterbot for instructions" class IRCBot(): def __init__(self): try: - with open("config.json", "r") as f: + with open("state.json", "r") as f: self.state = load(f) except FileNotFoundError: - exit("no config.json") + exit("no state.json") self.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.s.connect((host, port)) self.nick = self.state["nick"]