Skip to content
Bot profile setBotStatus

$setBotStatus

Changes the presence of the bot while it runs. It replaces the configured status rotation until the bot restarts or its configuration is synced again; one change every 15 seconds at most. Bot Creator function, not in the official BDFD wiki.

Syntax

$setBotStatus[status;(activityType);(text);(url)]

Parameters

Parameter Description
status Required. online, idle, dnd or invisible.
activityType Optional. playing, streaming, listening, watching, competing or custom (default).
text Optional. The text, 128 characters at most.
url Optional. A Twitch or YouTube URL for streaming.

Return Value

  • Nothing.

Example

$setBotStatus[dnd;watching;the server]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.