diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index 7f4d078..ec07688 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -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."""