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);
|
||||||
```
|
```
|
||||||
@ -346,4 +346,4 @@ await client.reddemNitro('code')
|
|||||||
|
|
||||||
## Warning
|
## Warning
|
||||||
- This is a beta version, so there are some bugs.
|
- This is a beta version, so there are some bugs.
|
||||||
- If you use the `Client.destroy()` function, for an account that uses 2FA, it will cause a logout and the Token will no longer be usable.
|
- If you use the `Client.destroy()` function, for an account that uses 2FA, it will cause a logout and the Token will no longer be usable.
|
||||||
|
Loading…
Reference in New Issue
Block a user