From bafc5b52673c15b5c12bbe02bd271a52a1e7bea5 Mon Sep 17 00:00:00 2001 From: Vanny <48239094+VannyBuns@users.noreply.github.com> Date: Mon, 9 Sep 2024 19:31:37 -0400 Subject: [PATCH] Update mod_warn.py --- cogs/mod_warn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/mod_warn.py b/cogs/mod_warn.py index 6d5df5c91..644bce65e 100644 --- a/cogs/mod_warn.py +++ b/cogs/mod_warn.py @@ -35,7 +35,7 @@ async def cog_check(self, ctx: KurisuContext): @is_staff('Helper') @commands.guild_only() - @commands.command() + @commands.command(aliases=["smack"]) async def warn(self, ctx: GuildContext, member: Optional[discord.Member | discord.User], *, reason: str): """Warn a user. Staff and Helpers only.""" issuer = ctx.author @@ -76,7 +76,7 @@ async def warn(self, ctx: GuildContext, member: Optional[discord.Member | discor await self.bot.channels['mod-logs'].send(msg) @is_staff('Helper') - @commands.command() + @commands.command(aliases=["boop"]) async def softwarn(self, ctx: GuildContext, member: discord.Member | discord.User, *, reason: Optional[str]): """Warn a user without automated action. Staff and Helpers only.""" issuer = ctx.author