Skip to content

Commit

Permalink
[Warnings] Use user instead of member parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
killerbite95 authored Mar 26, 2024
1 parent 04a23c0 commit 00619ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async def _warnings_or_read(self, ctx, member):
await ctx.invoke(ctx.bot.get_command("read"), member=member.id)
except:
try:
await ctx.invoke(ctx.bot.get_command("warnings"), user=member)
await ctx.invoke(ctx.bot.get_command("warnings"), member=member.id)
except:
self.log.debug("Command warn not found.")

Expand Down

0 comments on commit 00619ff

Please sign in to comment.