[UX] Add "server" alias for commands that have "guild" in name (#3947)

This commit is contained in:
Draper
2020-06-11 17:56:57 +01:00
committed by GitHub
parent d411873503
commit 76efb16f96
2 changed files with 2 additions and 2 deletions

View File

@@ -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):