From f2c56e0382aaf066808b6ff3edd85cf2735be9e9 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 1 Mar 2024 00:29:08 -0500 Subject: [PATCH] fix(pterodactyl): restrict `[p]pterodactyl config` to bot owners --- pterodactyl/pterodactyl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index a77e82f..889ec80 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -81,6 +81,7 @@ class Pterodactyl(commands.Cog): """Pterodactyl allows you to manage your Pterodactyl Panel from Discord.""" @pterodactyl.group(autohelp = True, name = "config", aliases = ["settings", "set"]) + @commands.is_owner() async def pterodactyl_config(self, ctx: commands.Context) -> None: """Configure Pterodactyl settings."""