diff --git a/cogs/levelling.py b/cogs/levelling.py index 3d65213..dca8c00 100644 --- a/cogs/levelling.py +++ b/cogs/levelling.py @@ -74,7 +74,7 @@ async def leaderboard_levels(self, ctx: ApplicationContext): if y < 10: try: if levels_dict[i] != 0: - user_context = await commands.fetch_user(i) + user_context = await ctx.bot.fetch_user(i) if not user_context.bot and levels_dict[i] != 0: print(i, levels_dict[i]) if y == 1: yf = ":first_place:"