Skip to main content

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.

Namepermissions
Typeobject
RequiredNo

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.

PermissionType
ManageCommunityCommunity
ManageRolesCommunity
ManageEmojisCommunity
CreateInviteCommunity
ManageInvitesCommunity
CreateBanCommunity
ManageBansCommunity
KickCommunity
ChangeOtherNicknameCommunity
CreateChannelGroupCommunity
FullControlChannel
UseExternalEmojiChannel
CreateMessageChannel
DeleteMessageOtherChannel
ManagePinnedMessagesChannel
ViewMessageHistoryChannel
CreateMessageAttachmentChannel
CreateMessageMentionChannel
CreateMessageReactionChannel
MoveUserOtherChannel
VoiceMuteOtherChannel
VoiceDeafenOtherChannel
VoiceKickChannel
ManageFilesChannel
CreateFileChannel
ViewFileChannel

Example

Sample permissions for moderation operations
{
"permissions": {
"community": {
"Kick": true
},
"channel": {
"CreateMessage": true,
"DeleteMessageOther": true
}
}
}