mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Alias] Remove guild_only deco from main alias command group (#3941)
* Update alias.py * alias help and show * well... avoid the dumb
This commit is contained in:
parent
aea6f68598
commit
bc19b0d103
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user