Update Presence
AI-generatedSummary
Updates the bot’s Discord presence through a running Discord Trigger connection, setting its status, AFK flag, idle timestamp, and optional activity. Select an activity type and provide an Activity Name; choose None to clear the current activity. The Trigger must be active in the same n8n process and use the same Connection Name.
Inputs
- Connection Name — Name of the running Discord Trigger connection to use; defaults to
default. - Status — Bot status: Online, Idle, Do Not Disturb, or Invisible. Defaults to Online.
- AFK — Whether the bot is marked AFK. Defaults to false.
- Since (Unix Ms) — Unix timestamp in milliseconds for when the bot went idle. Values above 0 are sent as the idle timestamp; 0 or less is sent as null.
- Activity Type — Choose Playing, Streaming, Listening To, Watching, Competing In, Custom Status, or None (Clear Activity). Defaults to None.
- Activity Name — Required when an activity type other than None is selected.
- Activity URL — Optional streaming URL, included only for Streaming activity.
- Activity State — Optional user-defined activity state; for Custom Status, this is the visible text.
Output shape
One output item per input item, containing a success record with the operation, connection name, and sent Discord Gateway payload.
The node sends the command through the matching Trigger connection; it does not return Discord’s resulting presence state. If Continue On Fail is enabled, failed items instead contain an error field. Otherwise, a missing connection or send failure raises an error.