Flow reference: Server Management
Edit Channel
Change a channel's name and/or a voice channel's user limit, e.g. a join-to-create room. Empty fields keep what the channel has.
Change a channel's name and/or a voice channel's user limit, e.g. a join-to-create room. Empty fields keep what the channel has.
When and how to use it
Connect the input from the preceding step on the path that should change the channel.
Give the channel as an ID, a mention or a {variable}:
{voice.channel.id} in a Voice Join flow, {created.id} after Create Channel, {privateChannel.id} after Create Private Channel.Fill only what should change: a new name, a user limit or both. An empty field keeps the channel's current value.
Connect
failed to a message or log so a missing permission does not go unnoticed.Join-to-create: Voice Join (filtered to the "Create a room" channel) → Create Channel (Type Voice, Store as
room) → Move Member to {room.id} → Edit Channel with channel {room.id} and User limit 5.Configuration fields
Voice or text channel — channel
The channel to change: its ID (
123456789012345678), a mention (<#123456789012345678>) or a {variable} holding one. An ID works in every flow, also scheduled ones without a server; a plain channel name only works in a flow that runs in a server.Input: Text with variable suggestions.
Format example, not a ready value for your server:
{voice.channel.id}.Default: ``.
New name (empty = keep) — name
The new channel name, at most 100 characters. Voice channels and categories keep it as written; Discord turns text channel names into lower case with dashes. Discord allows 2 name changes per channel every 10 minutes; a third waits until the limit resets.
Input: Text with variable suggestions.
Format example, not a ready value for your server:
{user.displayName}'s room.Default: ``.
User limit (empty = keep) — userLimit
How many members may be in a voice or stage channel at once:
0 removes the limit, 1 to 99 sets it. A {variable} works too and is checked when the block runs. A limit for a text channel, or a value that is not 0-99, takes failed.Input: Text with variable suggestions.
Format example, not a ready value for your server:
5.Default: ``.
Reason (audit log) — reason
Optional text shown in the server's audit log next to the change.
Input: Text.
Default: ``.
Outputs and next steps
out: The channel was changed (or there was nothing to change).failed: The channel was not found, the limit was not 0-99 or the channel is not a voice channel, or Discord refused (for example the bot lacks Manage Channels); {editChannel.error} says why.Test and troubleshoot
The bot needs Manage Channels on that channel (a channel override can take it away). In the Live Preview the pretend channel is renamed and its limit remembered.
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).