diff options
| author | 2020-12-05 12:09:54 -0500 | |
|---|---|---|
| committer | 2020-12-05 12:09:54 -0500 | |
| commit | d7e94f2570c69ae04c32bc4bad338b1be0c1da26 (patch) | |
| tree | 137b0dff75529016c5c58ee491aceb7c54080243 | |
| parent | Bot relays the infraction reason in the DM. (diff) | |
Add `starify` and `unstarify` as command aliases.
| -rw-r--r-- | bot/exts/moderation/infraction/superstarify.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/moderation/infraction/superstarify.py b/bot/exts/moderation/infraction/superstarify.py index a4327fb95..e7d1c4da8 100644 --- a/bot/exts/moderation/infraction/superstarify.py +++ b/bot/exts/moderation/infraction/superstarify.py @@ -104,7 +104,7 @@ class Superstarify(InfractionScheduler, Cog): await self.reapply_infraction(infraction, action) - @command(name="superstarify", aliases=("force_nick", "star")) + @command(name="superstarify", aliases=("force_nick", "star", "starify")) async def superstarify( self, ctx: Context, @@ -182,7 +182,7 @@ class Superstarify(InfractionScheduler, Cog): ) await ctx.send(embed=embed) - @command(name="unsuperstarify", aliases=("release_nick", "unstar")) + @command(name="unsuperstarify", aliases=("release_nick", "unstar", "unstarify")) async def unsuperstarify(self, ctx: Context, member: Member) -> None: """Remove the superstarify infraction and allow the user to change their nickname.""" await self.pardon_infraction(ctx, "superstar", member) |