add admin perms to testing command...
build_develop / build (push) Successful in 1m21s

This commit is contained in:
2023-10-24 16:50:49 -04:00
parent a8def8fd69
commit f86225849c
+1 -1
View File
@@ -20,7 +20,7 @@ class TestCog(commands.Cog, name="Test commands."):
""" """
self.bot = bot self.bot = bot
@nextcord.slash_command() @nextcord.slash_command(default_member_permissions=nextcord.Permissions(administrator=True))
async def test(self, interaction: nextcord.Interaction): async def test(self, interaction: nextcord.Interaction):
""" """
Parent slash command for help. Never called. Parent slash command for help. Never called.