mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
[UX] Add "server" alias for commands that have "guild" in name (#3947)
This commit is contained in:
@@ -267,7 +267,7 @@ class Economy(commands.Cog):
|
||||
"""Prune bank accounts."""
|
||||
pass
|
||||
|
||||
@_prune.command(name="local")
|
||||
@_prune.command(name="server", aliases=["guild", "local"])
|
||||
@commands.guild_only()
|
||||
@checks.guildowner()
|
||||
async def _local(self, ctx, confirmation: bool = False):
|
||||
|
||||
Reference in New Issue
Block a user