diff options
author | 2018-11-20 15:49:33 -0500 | |
---|---|---|
committer | 2018-11-20 15:49:33 -0500 | |
commit | 401126ef8d8f7955be835096791c980248145231 (patch) | |
tree | 7e5e6153b02737624e8b78f932cc15488f3810c4 /bot/cogs/hacktober/spookyavatar.py | |
parent | Add typing context manager where appropriate (diff) |
Resolve Flake8
Diffstat (limited to 'bot/cogs/hacktober/spookyavatar.py')
-rw-r--r-- | bot/cogs/hacktober/spookyavatar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/hacktober/spookyavatar.py b/bot/cogs/hacktober/spookyavatar.py index abfa1565..6ce4471c 100644 --- a/bot/cogs/hacktober/spookyavatar.py +++ b/bot/cogs/hacktober/spookyavatar.py @@ -45,7 +45,7 @@ class SpookyAvatar: modified_im.save(str(ctx.message.id)+'.png') f = discord.File(str(ctx.message.id)+'.png') embed.set_image(url='attachment://'+str(ctx.message.id)+'.png') - + await ctx.send(file=f, embed=embed) os.remove(str(ctx.message.id)+'.png') |