0.3.9.7.a5
- Forgot some command labels for some mod commands - `/recreate` -> `/recreate_nick_review` for clarity - This recreates reviews for a single user, if applicable - The plural command still affects all applicable users as normal
This commit is contained in:
parent
21f6150842
commit
aab931b543
2
bot.py
2
bot.py
@ -9,7 +9,7 @@ from modules.common.boot_notice import post_boot_notice
|
|||||||
|
|
||||||
# Version consists of:
|
# Version consists of:
|
||||||
# Major.Enhancement.Minor.Patch.Test (Test is alphanumeric; doesn’t trigger auto update)
|
# Major.Enhancement.Minor.Patch.Test (Test is alphanumeric; doesn’t trigger auto update)
|
||||||
VERSION = "0.3.9.7.a4"
|
VERSION = "0.3.9.7.a5"
|
||||||
|
|
||||||
# ---------- Env loading ----------
|
# ---------- Env loading ----------
|
||||||
|
|
||||||
|
@ -486,7 +486,7 @@ class NickNudgeCog(commands.Cog):
|
|||||||
ephemeral=True
|
ephemeral=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@app_commands.command(name="recreate", description="[MOD] Recreate a missing pending nickname review for one user.")
|
@app_commands.command(name="recreate_nick_review", description="[MOD] Recreate a missing pending nickname review for one user.")
|
||||||
@app_commands.describe(user="Member to recreate review for")
|
@app_commands.describe(user="Member to recreate review for")
|
||||||
async def recreate_nick_review(self, interaction: discord.Interaction, user: discord.Member):
|
async def recreate_nick_review(self, interaction: discord.Interaction, user: discord.Member):
|
||||||
"""Moderator-only single-user fixer."""
|
"""Moderator-only single-user fixer."""
|
||||||
|
@ -518,7 +518,7 @@ class PirateReportCog(commands.Cog):
|
|||||||
return (matches[0], None)
|
return (matches[0], None)
|
||||||
|
|
||||||
# Remove pirate (mod-only)
|
# Remove pirate (mod-only)
|
||||||
@commands.hybrid_command(name='remove_pirate', description='Remove an approved pirate entry')
|
@commands.hybrid_command(name='remove_pirate', description='[MOD] Remove an approved pirate entry')
|
||||||
async def remove_pirate(self, ctx, account_name: str):
|
async def remove_pirate(self, ctx, account_name: str):
|
||||||
if not await require_mod_ctx(ctx, "This command is restricted to moderators."):
|
if not await require_mod_ctx(ctx, "This command is restricted to moderators."):
|
||||||
return
|
return
|
||||||
|
@ -497,7 +497,7 @@ class UserCardsCog(commands.Cog):
|
|||||||
|
|
||||||
@commands.hybrid_command(
|
@commands.hybrid_command(
|
||||||
name="usercards_rescan",
|
name="usercards_rescan",
|
||||||
description="Re-check all users and refresh cards (mod-only)"
|
description="[MOD] Re-check all users and refresh cards"
|
||||||
)
|
)
|
||||||
@commands.has_permissions(manage_guild=True)
|
@commands.has_permissions(manage_guild=True)
|
||||||
async def usercards_rescan(self, ctx: commands.Context):
|
async def usercards_rescan(self, ctx: commands.Context):
|
||||||
|
Loading…
Reference in New Issue
Block a user