aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
authorMango0x45 <thomasvoss@live.com>2020-07-29 09:19:48 +0000
committerMango0x45 <thomasvoss@live.com>2020-07-29 09:19:48 +0000
commitb237569b2701d51df1cfa42d2fb970afec7aa397 (patch)
tree65a5b8ce363556cd986da4110b2b0678799856b6 /cogs
parent3a43cabfc2e758e0f05c953553bdcd77e594ac3d (diff)
downloadsteve-bot-b237569b2701d51df1cfa42d2fb970afec7aa397.tar
steve-bot-b237569b2701d51df1cfa42d2fb970afec7aa397.tar.gz
steve-bot-b237569b2701d51df1cfa42d2fb970afec7aa397.tar.bz2
steve-bot-b237569b2701d51df1cfa42d2fb970afec7aa397.tar.lz
steve-bot-b237569b2701d51df1cfa42d2fb970afec7aa397.tar.xz
steve-bot-b237569b2701d51df1cfa42d2fb970afec7aa397.tar.zst
steve-bot-b237569b2701d51df1cfa42d2fb970afec7aa397.zip
Squashed the same bug, again
Diffstat (limited to 'cogs')
-rwxr-xr-xcogs/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/admin.py b/cogs/admin.py
index 0ac415b..8fcf43a 100755
--- a/cogs/admin.py
+++ b/cogs/admin.py
@@ -292,7 +292,7 @@ class Admin(commands.Cog):
async def blacklistplayer(self, ctx, player):
"""Set runs from a specific player to be auto rejected"""
with open('runs_blacklist.json', 'w') as f:
- self.bot.runs_blacklist["players"].append(uri)
+ self.bot.runs_blacklist["players"].append(player)
json.dump(self.bot.runs_blacklist, f, indent=4)
await ctx.send(f'Blacklisted runs from `{player}`')