Client Status
Table of Contents
Bot Status
Customizing Bot Status
To customize your bot’s status, add the following code to your main file:
When using sharding, you can individually change the status of each shard:
Replace string
, number
, and boolean
with appropriate values. Here’s an example:
You can have multiple statuses by adding multiple client.status({...})
calls:
Status Types
There are various types of statuses (not case-sensitive):
- PLAYING
- WATCHING
- STREAMING
- LISTENING
- COMPETING
- CUSTOM
Client Presence
You can also set the bot’s presence by adding the status
property, for example:
Presence Types
Available presence statuses:
- online
- idle
- dnd
- invisible