fix(pterodactyl): restrict [p]pterodactyl config to bot owners

This commit is contained in:
Seaswimmer 2024-03-01 00:29:08 -05:00
parent bd7aa54efe
commit f2c56e0382
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -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."""