fix(pterodactyl): restrict [p]pterodactyl config to bot owners
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 18s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s

This commit is contained in:
Seaswimmer 2024-03-01 00:29:08 -05:00
parent bd7aa54efe
commit f2c56e0382
Signed by: 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."""