Don't forget to update the file
This commit is contained in:
parent
d2f13337b0
commit
6c2eb49ccd
1
bot.py
1
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]
|
||||
|
|
Loading…
Reference in New Issue