Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rework grant system #133

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions src/data/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,27 +89,21 @@ const commands = [
"type": "Admin",
"description": "Give a Discord role the permissions to run a specific admin command",
"usage": [
"/grant queue_commands [role] [command]",
"/grant server_commands [role] [command]",
"/grant game_commands [role] [command]",
"/grant leaderboard_commands [role] [command]"
"/permissions grant",
],
"examples": [
"/grant queue_commands @Moderators Reset a queue"
"/permissions grant"
]
},
{
"name": "revoke",
"type": "Admin",
"description": "Remove the admin command from a discord role you previously set",
"usage": [
"/revoke queue_commands [role] [command]",
"/revoke server_commands [role] [command]",
"/revoke game_commands [role] [command]",
"/revoke leaderboard [role] [command]"
"/permissions revoke",
],
"examples": [
"/revoke queue_commands @Moderators Reset a queue"
"/permissions revoke"
]
},
{
Expand Down