/[sudobot]/trunk/docs/app/(docs)/commands/settings/permission/page.mdx
ViewVC logotype

Contents of /trunk/docs/app/(docs)/commands/settings/permission/page.mdx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 632 - (show annotations)
Thu Oct 10 17:53:11 2024 UTC (5 months, 2 weeks ago) by rakinar2
File size: 1166 byte(s)
chore: synchronize

1 ---
2 title: "Command: `permission`"
3 short_name: permission
4 description: The `permission` manages permissions for a specific command. Learn more about this command.
5 ---
6
7 import Modes from "@/components/MDX/Modes";
8 import ValidPermissionIdentifiers from "@/components/MDX/ValidPermissionIdentifiers";
9
10 # `permission`
11
12 Manage permissions for a specific command.
13
14 ### Aliases
15
16 - `permission`
17 - `p`
18
19 ### Syntax
20
21 ```
22 -permission <subcommand> <command> <permissions...>
23 ```
24
25 ### Subcommands
26
27 - `set <command> <permissions...>`: Set the permissions for a command.
28 - `clear <command>`: Clear the permissions for a command.
29 - `view <command>`: List the permissions for a command.
30
31 ### Permission Argument
32
33 The permission argument must be a space-separated list of valid permission identifiers. The identifiers are case-sensitive.
34 Here is a list of valid permission identifiers:
35
36 <ValidPermissionIdentifiers />
37
38 ### Required Permissions
39
40 `MANAGE_GUILD`
41
42 ### Modes
43
44 <Modes modes={["legacy", "interaction"]} />
45
46 ### Examples
47
48 ```
49 -permission set ban Administrator
50 -permission set clear Administrator BanMembers ManageGuild
51 -permission view ban
52 -permission clear ban
53 ```

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26