From bc19b0d103a4a6582ab229acbfd03fd8606c89c7 Mon Sep 17 00:00:00 2001 From: Dav Date: Thu, 11 Jun 2020 13:00:38 +0000 Subject: [PATCH] [Alias] Remove guild_only deco from main alias command group (#3941) * Update alias.py * alias help and show * well... avoid the dumb --- redbot/cogs/alias/alias.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/redbot/cogs/alias/alias.py b/redbot/cogs/alias/alias.py index 0cd9eae37..9e9e202eb 100644 --- a/redbot/cogs/alias/alias.py +++ b/redbot/cogs/alias/alias.py @@ -124,7 +124,6 @@ class Alias(commands.Cog): await menu(ctx, alias_list, DEFAULT_CONTROLS) @commands.group() - @commands.guild_only() async def alias(self, ctx: commands.Context): """Manage command aliases.""" pass @@ -253,7 +252,6 @@ class Alias(commands.Cog): ) @alias.command(name="help") - @commands.guild_only() async def _help_alias(self, ctx: commands.Context, alias_name: str): """Try to execute help for the base command of the alias.""" alias = await self._aliases.get_alias(ctx.guild, alias_name=alias_name) @@ -263,7 +261,6 @@ class Alias(commands.Cog): await ctx.send(_("No such alias exists.")) @alias.command(name="show") - @commands.guild_only() async def _show_alias(self, ctx: commands.Context, alias_name: str): """Show what command the alias executes.""" alias = await self._aliases.get_alias(ctx.guild, alias_name)