Make command for admin only.
This commit is contained in:
@@ -22,7 +22,10 @@ class HelpCog(commands.Cog, name="Help commands."):
|
||||
Parent slash command for help. Never called.
|
||||
"""
|
||||
|
||||
@help.subcommand(description="Describes how to get started with Agon.")
|
||||
@help.subcommand(
|
||||
description="Describes how to get started with Agon.",
|
||||
default_member_permissions=nextcord.Permissions(administrator=True),
|
||||
)
|
||||
async def setup(self, interaction: nextcord.Interaction):
|
||||
"""
|
||||
Sends a message describing how to get started with Agon.
|
||||
|
||||
Reference in New Issue
Block a user