Statuses
Customize your bot's status!
You need to enter the statuses, in your main index (e.g server/index.js).
bot.status.add({
status: "presence",
name: "status text",
type: "TYPE",
duration: 15000
})
Breakdown
Status
Adds a presence to the bot.
Supported Presences
online
idle
dnd
invisible
Name
The text that appears in the bot's status.
Type
The status prefix.
Supported Prefixes
PLAYING
LISTENING
COMPETING
WATCHING
STREAMING
Duration
The time to wait until going to the next status (if there is one). This is in milliseconds, not seconds. Click here for a second to millisecond converter.
Putting a duration under 12 seconds/12000 milliseconds is considered API Abuse, which is against Discord's API Terms.
Streaming Statuses
For streaming statuses, you must provide Twitch stream a url
. If you want to have the streaming status without having a stream URL, use https://twitch.com/ as the URL.
Example
bot.status.add({
status: "dnd",
name: "status text",
type: "STREAMING",
duration: 15000,
url: "https://twitch.com/"
})
Multiple Statuses
Simply use bot.status.add
multiple times, and change fields.
Example
bot.status.add({
status: "dnd",
name: "Ruben singing the ABCs",
type: "LISTENING",
duration: 15000
})
bot.status.add({
status: "idle",
name: "You",
type: "WATCHING",
duration: 15000
})
Last updated
Was this helpful?