add run code

This commit is contained in:
= 2025-04-04 03:26:28 +00:00
parent a1d10ff21e
commit bf101bdbf0

7
bot.py
View File

@ -165,4 +165,11 @@ class IRCBot():
self.set_time(channel, now)
self.config["counts"][channel] = 0
if __name__ == "__main__":
bot = IRCBot()
try:
bot.command_loop()
except KeyboardInterrupt:
exit()