feat(shard): ✨ Add command aliases for p.bans and p.reports and add permission checking to commands before execution.

This commit is contained in:
2025-03-19 19:55:01 -03:00
parent 76526d6ea8
commit be2b27d992
2 changed files with 9 additions and 2 deletions
+7
View File
@@ -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:
"""