Public documentation

Role hierarchy and channel permissions

Which Discord permissions DarkInk needs and how role order and channel permissions affect it.

Role hierarchy and channel permissions

Discord decides what DarkInk may do. DarkInk can only manage roles below its own highest role and can only post or act in channels where its permissions allow it.

Setup

When you invite DarkInk, Discord asks for these permissions: Kick Members, Ban Members, Timeout Members, Manage Channels, Manage Server, Manage Roles, Manage Nicknames, Manage Messages, Manage Threads, Manage Webhooks, Manage Emojis & Stickers, View Audit Log, View Channels, Send Messages, Send Messages in Threads, Create Public Threads, Create Private Threads, Embed Links, Attach Files, Read Message History, Add Reactions, Mention Everyone, Pin Messages, Deafen Members, Move Members and Use App Commands. DarkInk does not ask for Administrator.

Keep the permissions you need for the modules you use. If you remove a permission, the matching actions stop working.

Role order

  • Move the DarkInk role above every role it should assign, remove or change, for example for auto roles, level rewards, self-assignable roles, temporary roles and verification. In Discord open Server Settings, then Roles, and drag the DarkInk role upwards.
  • Roles above the DarkInk role cannot be given out or changed by the bot.
  • Moderation actions follow the same logic for people: moderators cannot ban, kick, mute or softban members whose role is equal to or higher than their own.

Channel permissions

Every channel that DarkInk should use needs View Channel plus the permission for the action:

Action Permission
Post text messages Send Messages
Post embeds and Components V2 messages Send Messages and Embed Links
Send images and cards Attach Files
Reactions and reaction features Add Reactions and Read Message History
Create or edit channels Manage Channels
Threads Create Public Threads, Create Private Threads, Send Messages in Threads, Manage Threads
Give or remove roles Manage Roles and a higher role position

Channel and category permission overwrites can deny a permission that DarkInk has on server level. Check the overwrites of the DarkInk role and of @everyone if a module cannot post.

Voice and stage channels can be selected wherever a text channel is accepted, because they have their own text chat. DarkInk needs the same text permissions there.

Troubleshooting

  • A module posts nothing: Check View Channel, Send Messages and Embed Links for DarkInk in the chosen channel, including overwrites on the channel and its category.
  • A role is not given: Move the DarkInk role above the target role and check Manage Roles.
  • A moderation action is refused: The target member has an equal or higher role than you, or DarkInk lacks the matching permission such as Ban Members or Timeout Members.