From 6c2eb49ccd111fdfe2f47f57caea81b800474cf1 Mon Sep 17 00:00:00 2001 From: Rampoina Date: Thu, 20 Jan 2022 20:03:05 +0100 Subject: [PATCH] Don't forget to update the file --- bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.py b/bot.py index c650571..47096bc 100755 --- a/bot.py +++ b/bot.py @@ -102,6 +102,7 @@ class Server(BaseServer): await self.send(build("PRIVMSG", [chan, "ERROR: user " + user + " is not an admin"])) if user in fadmins and game in match_players[self.name + '-' + chan]: del match_players[self.name + '-' + chan][game] + update_file(self.name + '-' + chan) await self.send(build("PRIVMSG", [chan, "Removed " + game])) elif line.params[1].startswith(".del"): user = line.source.split('!')[0]