Discord Bot icon

Discord Bot

Send messages and manage slash commands for Discord bots

Set Member Nickname

AI-generated

Summary

Sets or clears the guild nickname of a Discord member.

Inputs

  • Guild ID (required) — The Discord guild (server) snowflake ID. Use {{ $JSON.guildId }} when passing from a Discord trigger.
  • User ID (required) — The Discord user snowflake ID of the member whose nickname will be changed. Use {{ $JSON.userId }} when passing from a Discord trigger.
  • Nickname — The new server nickname to assign. Leave empty to clear the member's current nickname.

Output shape

Execution result of the nickname update.

The source pack does not expose the exact returned payload, so the output is the node's execution result after the Discord nickname update.

Examples

Example 1: Useful for moderation, member onboarding, or renaming users to match community conventions.

Changes or clears a Discord member's server nickname in the specified guild using the connected bot account. Provide the Guild ID and the target member's User ID; the Nickname field is optional and setting it to empty clears the existing nickname.

Links

Discussion