forked from blizzthewolf/SeaCogs
fix(pterodactyl): fixed another issue with hybrid commands
This commit is contained in:
parent
f707b70097
commit
1bb7e22b95
1 changed files with 4 additions and 4 deletions
|
@ -239,7 +239,7 @@ class Pterodactyl(commands.Cog):
|
|||
await config.invite.set(invite)
|
||||
await ctx.send(f"Invite link set to {invite}")
|
||||
|
||||
@pterodactyl_config.group(name = "chat")
|
||||
@pterodactyl_config.group(name = "chat", with_app_command = False)
|
||||
async def pterodactyl_config_chat(self, ctx: commands.Context):
|
||||
"""Configure chat settings."""
|
||||
|
||||
|
@ -258,7 +258,7 @@ class Pterodactyl(commands.Cog):
|
|||
await config.chat_command.set(command)
|
||||
await ctx.send(f"Chat command set to:\n{box(command, 'json')}")
|
||||
|
||||
@pterodactyl_config.group(name = "regex")
|
||||
@pterodactyl_config.group(name = "regex", with_app_command = False)
|
||||
async def pterodactyl_config_regex(self, ctx: commands.Context) -> None:
|
||||
"""Set regex patterns."""
|
||||
|
||||
|
@ -302,7 +302,7 @@ class Pterodactyl(commands.Cog):
|
|||
await config.achievement_regex.set(regex)
|
||||
await ctx.send(f"Achievement regex set to:\n{box(regex, 'regex')}")
|
||||
|
||||
@pterodactyl_config.group(name = "messages", aliases = ['msg', 'msgs', 'message'])
|
||||
@pterodactyl_config.group(name = "messages", aliases = ['msg', 'msgs', 'message'], with_app_command = False)
|
||||
async def pterodactyl_config_messages(self, ctx: commands.Context):
|
||||
"""Configure message settings."""
|
||||
|
||||
|
@ -345,7 +345,7 @@ class Pterodactyl(commands.Cog):
|
|||
await config.api_endpoint.set(endpoint)
|
||||
await ctx.send(f"API endpoint set to {endpoint}")
|
||||
|
||||
@pterodactyl_config_regex.group(name = "blacklist", aliases = ['block', 'blocklist'])
|
||||
@pterodactyl_config_regex.group(name = "blacklist", aliases = ['block', 'blocklist'], with_app_command = False)
|
||||
async def pterodactyl_config_regex_blacklist(self, ctx: commands.Context):
|
||||
"""Blacklist regex patterns."""
|
||||
|
||||
|
|
Loading…
Reference in a new issue