From c8d0d1271ab0d06a97ff67507dbe88024b8867ca Mon Sep 17 00:00:00 2001 From: "Nyeki.py" <84998222+Nekidev@users.noreply.github.com> Date: Sat, 19 Oct 2024 01:21:45 -0300 Subject: [PATCH] feat(bot): :sparkles: Alias `p.shutdown` to `p.restart`. --- payphone/cogs/mods/cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payphone/cogs/mods/cog.py b/payphone/cogs/mods/cog.py index e0db3a8..a05771d 100644 --- a/payphone/cogs/mods/cog.py +++ b/payphone/cogs/mods/cog.py @@ -229,7 +229,7 @@ class Mods(base.Cog): f"✅ **{profile_row.name}**'s moderator status was set to `{"on" if user_row.is_moderator else "off"}`." ) - @commands.command() + @commands.command(aliases=["restart"]) @commands.is_owner() @transactions.atomic() async def shutdown(