aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/spookyavatar.py
diff options
context:
space:
mode:
authorGravatar hundredrab <[email protected]>2018-10-22 11:49:26 +0530
committerGravatar hundredrab <[email protected]>2018-10-22 11:49:26 +0530
commitb54d59176e904cdbde1291d73570cf8c86175a09 (patch)
tree2bee8b011029852f6747dadcc96393465ab4233a /bot/cogs/spookyavatar.py
parentAdd pipfile.lock. (diff)
Add more spookifications.
Diffstat (limited to 'bot/cogs/spookyavatar.py')
-rw-r--r--bot/cogs/spookyavatar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/spookyavatar.py b/bot/cogs/spookyavatar.py
index b11c72ee..9a73a019 100644
--- a/bot/cogs/spookyavatar.py
+++ b/bot/cogs/spookyavatar.py
@@ -39,7 +39,7 @@ class SpookyAvatar:
embed.set_author(name=str(user.name), icon_url=user.avatar_url)
resp = await self.get(user.avatar_url)
im = Image.open(BytesIO(resp))
- modified_im = spookifications.inversion(im)
+ modified_im = spookifications.get_random_effect(im)
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')