Manifest permissions
Permissions control which parts of the Root Community API your code is able to use.
Details
Declare your permissions in the permissions section of your manifest.
| Name | permissions |
| Type | object |
| Required | No |
All permissions default to false; set the ones you need to true.
Which permissions are available?
The following table lists all the permissions that you can include in your manifest. They're divided into two categories based on where they apply: community and channel.
| Permission | Type |
|---|---|
ManageCommunity | Community |
ManageRoles | Community |
ManageEmojis | Community |
CreateInvite | Community |
ManageInvites | Community |
CreateBan | Community |
ManageBans | Community |
Kick | Community |
ChangeOtherNickname | Community |
CreateChannelGroup | Community |
FullControl | Channel |
UseExternalEmoji | Channel |
CreateMessage | Channel |
DeleteMessageOther | Channel |
ManagePinnedMessages | Channel |
ViewMessageHistory | Channel |
CreateMessageAttachment | Channel |
CreateMessageMention | Channel |
CreateMessageReaction | Channel |
MoveUserOther | Channel |
VoiceMuteOther | Channel |
VoiceDeafenOther | Channel |
VoiceKick | Channel |
ManageFiles | Channel |
CreateFile | Channel |
ViewFile | Channel |
Example
Sample permissions for moderation operations
{
"permissions": {
"community": {
"Kick": true
},
"channel": {
"CreateMessage": true,
"DeleteMessageOther": true
}
}
}