[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

@@ -489,7 +489,7 @@ class Core(commands.Cog, CoreLogic):
_("Embeds are now {} by default.").format(_("disabled") if current else _("enabled"))
)
@embedset.command(name="guild")
@embedset.command(name="server", aliases=["guild"])
@checks.guildowner_or_permissions(administrator=True)
@commands.guild_only()
async def embedset_guild(self, ctx: commands.Context, enabled: bool = None):