Skip to content

Commit

Permalink
fixed unban command
Browse files Browse the repository at this point in the history
  • Loading branch information
TKperson committed Sep 24, 2022
1 parent 2588110 commit e351904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c-realV2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ async def unban(ctx, *, name):
if not await hasTarget(ctx):
return

member_ = containing([s.user for s in await selected_server.bans()], nameIdHandler(name))
member_ = containing([s.user async for s in selected_server.bans()], nameIdHandler(name))
if member_ is None:
await log(ctx, f'Unable to find user `{name}` in server `{selected_server.name}`.')
return
Expand Down

0 comments on commit e351904

Please sign in to comment.