Skip to content

Commit

Permalink
aegis: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jerbmega committed Nov 23, 2024
1 parent 94c3dc1 commit 88de83f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/aegis.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def global_ban(ctx: lightbulb.Context) -> None:
raise err.InvalidGlobalBanURL

await ctx.respond(
f"Processing {len(users)} users across {len(elegible_guilds)} servers. Buckle up... this is gonna take a while.",
f"Processing {len(users)} users across {len(eligible_guilds)} servers. Buckle up... this is gonna take a while.",
flags=hikari.MessageFlag.EPHEMERAL,
)

Expand All @@ -63,6 +63,8 @@ async def global_ban(ctx: lightbulb.Context) -> None:
await asyncio.sleep(1)
except hikari.errors.NotFoundError:
pass
except hikari.errors.ForbiddenError:
pass
await ctx.edit_last_response("Done.")


Expand Down

0 comments on commit 88de83f

Please sign in to comment.