Update DOCUMENT.md
This commit is contained in:
parent
11ee782d75
commit
50d19e464f
@ -164,13 +164,13 @@ Custom Status
|
|||||||
```js
|
```js
|
||||||
const RichPresence = require('discord-rpc-contructor'); // My module :))
|
const RichPresence = require('discord-rpc-contructor'); // My module :))
|
||||||
const custom = new RichPresence.CustomStatus()
|
const custom = new RichPresence.CustomStatus()
|
||||||
.setUnicodeEmoji('🎮') // Set Unicode Emoji [Using one]
|
.setUnicodeEmoji('🎮') // Set Unicode Emoji [Using one]
|
||||||
.setDiscordEmoji({ // Set Custom Emoji (Nitro Classic / Boost) [Using one]
|
.setDiscordEmoji({ // Set Custom Emoji (Nitro Classic / Boost) [Using one]
|
||||||
name: 'nom',
|
name: 'nom',
|
||||||
id: '737373737373737373',
|
id: '737373737373737373',
|
||||||
animated: false,
|
animated: false,
|
||||||
})
|
})
|
||||||
.setState('Testing') // Name of presence
|
.setState('Testing') // Name of presence
|
||||||
.toDiscord();
|
.toDiscord();
|
||||||
client.user.setActivity(custom);
|
client.user.setActivity(custom);
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user