Flow reference: Logic
Check Permission
Verify the caller's permissions.
Verify the caller's permissions.
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:
BanMembers.Available choices (preserve the exact value):
Administrator — AdministratorManageGuild — Manage ServerManageRoles — Manage RolesManageChannels — Manage ChannelsKickMembers — Kick MembersBanMembers — Ban MembersModerateMembers — Timeout MembersManageNicknames — Manage NicknamesChangeNickname — Change NicknameManageGuildExpressions — Manage ExpressionsManageWebhooks — Manage WebhooksViewAuditLog — View Audit LogViewChannel — View ChannelSendMessages — Send MessagesSendMessagesInThreads — Send Messages in ThreadsCreatePublicThreads — Create Public ThreadsCreatePrivateThreads — Create Private ThreadsManageThreads — Manage ThreadsManageMessages — Manage MessagesPinMessages — Pin MessagesBypassSlowmode — Bypass SlowmodeEmbedLinks — Embed LinksAttachFiles — Attach FilesAddReactions — Add ReactionsUseExternalEmojis — Use External EmojisUseExternalStickers — Use External StickersMentionEveryone — Mention @everyoneReadMessageHistory — Read Message HistorySendTTSMessages — Send TTS MessagesSendVoiceMessages — Send Voice MessagesSendPolls — Create PollsUseApplicationCommands — Use Application CommandsCreateInstantInvite — Create InviteConnect — Connect (voice)Speak — SpeakStream — VideoMuteMembers — Mute MembersDeafenMembers — Deafen MembersMoveMembers — Move MembersUseVAD — Use Voice ActivityPrioritySpeaker — Priority SpeakerSetVoiceChannelStatus — Set Voice Channel StatusUseSoundboard — Use SoundboardRequestToSpeak — Request to SpeakManageEvents — Manage EventsCreateEvents — Create EventsViewGuildInsights — View Server InsightsUser — user
Choose the target user. {user} may be a command's selected user; {author} is the caller. Use an ID or the variable picker rather than a display name.
Input: Text with variable suggestions.
Default:
{user}.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).
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).