Flow reference: Logic

Bot Has Permission?

Check a permission the bot itself has.

Check a permission the bot itself has.

When and how to use it

Connect the input from the preceding step on the path that should perform this operation.
Fill the fields with data available in the trigger's context.
Connect the needed outputs; an unconnected path cannot run later blocks.

Configuration fields

Permission — permission


Select the exact Discord permission to check or change. Caller permission and bot permission are independent.

Input: Fixed choice.

Default: ManageMessages.

Available choices (preserve the exact value):
Administrator — Administrator
ManageGuild — Manage Server
ManageRoles — Manage Roles
ManageChannels — Manage Channels
KickMembers — Kick Members
BanMembers — Ban Members
ModerateMembers — Timeout Members
ManageNicknames — Manage Nicknames
ChangeNickname — Change Nickname
ManageGuildExpressions — Manage Expressions
ManageWebhooks — Manage Webhooks
ViewAuditLog — View Audit Log
ViewChannel — View Channel
SendMessages — Send Messages
SendMessagesInThreads — Send Messages in Threads
CreatePublicThreads — Create Public Threads
CreatePrivateThreads — Create Private Threads
ManageThreads — Manage Threads
ManageMessages — Manage Messages
PinMessages — Pin Messages
BypassSlowmode — Bypass Slowmode
EmbedLinks — Embed Links
AttachFiles — Attach Files
AddReactions — Add Reactions
UseExternalEmojis — Use External Emojis
UseExternalStickers — Use External Stickers
MentionEveryone — Mention @everyone
ReadMessageHistory — Read Message History
SendTTSMessages — Send TTS Messages
SendVoiceMessages — Send Voice Messages
SendPolls — Create Polls
UseApplicationCommands — Use Application Commands
CreateInstantInvite — Create Invite
Connect — Connect (voice)
Speak — Speak
Stream — Video
MuteMembers — Mute Members
DeafenMembers — Deafen Members
MoveMembers — Move Members
UseVAD — Use Voice Activity
PrioritySpeaker — Priority Speaker
SetVoiceChannelStatus — Set Voice Channel Status
UseSoundboard — Use Soundboard
RequestToSpeak — Request to Speak
ManageEvents — Manage Events
CreateEvents — Create Events
ViewGuildInsights — View Server Insights

Outputs and next steps

true: The condition matched.
false: The condition did not match.

Test and troubleshoot

Invoke the correct trigger with simple inputs and verify the expected effect. Confirm variables exist on this path. A preview alone does not verify Discord delivery.

Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).