mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
Documented new additions
This commit is contained in:
@@ -295,10 +295,24 @@ setStatus(status, `game`, `callback`)
|
||||
|
||||
Sets the Discord Status of the Client
|
||||
|
||||
- **status** - `String`, either `online` or `idle`
|
||||
- **status** - `String`, either ``online, here, active, available`` or ``idle, away``
|
||||
- **game** - `String/Number`, ID of Discord Game being played
|
||||
- **callback** - `function` taking the following:
|
||||
- **error** - error if any occurred
|
||||
|
||||
setStatusIdle()
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
**Alias:** `setStatusAway`
|
||||
|
||||
Sets the status of the Client to Idle/Away
|
||||
|
||||
setStatusOnline()
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
**Aliases:** `setStatusHere`, `setStatusActive`, `setStatusAvailable`
|
||||
|
||||
Sets the status of the Client to Online
|
||||
|
||||
setTopic(channel, topic, `callback`)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user