aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar vcokltfre <[email protected]>2021-04-05 15:45:10 +0100
committerGravatar GitHub <[email protected]>2021-04-05 15:45:10 +0100
commit30756d4dcc2dcdba334cc3493d82eccdc9c6aded (patch)
treed9c86456b5d272e6bddebf454ef3aae9ec0c9eb8
parentfix: use get_user in 8bitify to avoid events issues (diff)
fix: use api fetch not cache get
-rw-r--r--bot/exts/evergreen/8bitify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/8bitify.py b/bot/exts/evergreen/8bitify.py
index ee2b4034..7eb4d313 100644
--- a/bot/exts/evergreen/8bitify.py
+++ b/bot/exts/evergreen/8bitify.py
@@ -25,7 +25,7 @@ class EightBitify(commands.Cog):
async def eightbit_command(self, ctx: commands.Context) -> None:
"""Pixelates your avatar and changes the palette to an 8bit one."""
async with ctx.typing():
- author = await self.bot.get_user(ctx.author.id)
+ author = await self.bot.fetch_user(ctx.author.id)
image_bytes = await author.avatar_url.read()
avatar = Image.open(BytesIO(image_bytes))
avatar = avatar.convert("RGBA").resize((1024, 1024))