Skip to main content

Manifest permissions

Permissions control which parts of the Root Community API your code is able to use.

Declare your permissions in the permissions section of your manifest. All permissions default to false; set the ones you need to true.

Details

Namepermissions
Typeobject
RequiredNo

Available permissions

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.

Community permissions

PermissionDescriptionDefault
manageCommunityManage overall community settings.false
manageRolesCreate or update community roles.false
manageEmojisUpload or remove custom emojis.false
createInviteGenerate new community invites.false
manageInvitesRevoke or list existing invites.false
createBanBan members from the community.false
manageBansUnban or list banned members.false
kickRemove members from the community.false
changeOtherNicknameChange nicknames of other members.false
createChannelGroupCreate new channel groups.false

Channel permissions

PermissionDescriptionDefault
fullControlAll channel permissions.false
useExternalEmojiUse emojis from other servers.false
createMessageSend new messages.false
deleteMessageOtherDelete messages sent by others.false
managePinnedMessagesPin or unpin messages.false
viewMessageHistoryRead past messages.false
createMessageAttachmentAttach files to messages.false
createMessageMentionMention users in messages.false
createMessageReactionReact to messages.false
moveUserOtherMove other users between voice channels.false
voiceMuteOtherMute other users in voice channels.false
voiceDeafenOtherDeafen other users in voice channels.false
voiceKickKick users from voice channels.false
manageFilesUpload or download files in channels.false
createFileCreate new files in channels.false
viewFileView files shared in channels.false

Example

Sample permissions for moderation operations
{
"permissions": {
"community": {
"kick": true
},
"channel": {
"createMessage": true,
"deleteMessageOther": true
}
}
}