diff --git a/payphone/cogs/admin/cog.py b/payphone/cogs/admin/cog.py index dbb644f..f90f04c 100644 --- a/payphone/cogs/admin/cog.py +++ b/payphone/cogs/admin/cog.py @@ -150,7 +150,7 @@ class Admin(base.Cog): else: await ctx.send(f"Removed the Supporter role from <@{user.id}>.") - @commands.command() + @commands.command(aliases=["rs"]) @checks.is_moderator() async def reports(self, ctx: commands.Context) -> None: """Shows the reports. @@ -168,7 +168,7 @@ class Admin(base.Cog): embed=embeds.report_embed(report), view=views.ReportView(self.bot, report) ) - @commands.command() + @commands.command(aliases=["bs"]) @checks.is_moderator() async def bans( self, ctx: commands.Context, user: discord.User | int | None = None diff --git a/payphone/cogs/calls/cog.py b/payphone/cogs/calls/cog.py index ee72a1e..a2b1cac 100644 --- a/payphone/cogs/calls/cog.py +++ b/payphone/cogs/calls/cog.py @@ -141,6 +141,10 @@ class Calls(base.Cog): ) @commands.command(aliases=["m"]) + @commands.has_permissions( + send_messages=True, + use_external_emojis=True, + ) @checks.is_not_banned() async def mask(self, ctx: commands.Context, toggle: bool | None = None) -> None: """ @@ -178,6 +182,9 @@ class Calls(base.Cog): return await ctx.send(message) @commands.command(aliases=["r"]) + @commands.has_permissions( + send_messages=True, + ) @checks.is_not_banned() async def report(self, ctx: commands.Context) -> None: """