Update DOCUMENT.md

This commit is contained in:
March 7th 2022-03-28 21:15:26 +07:00 committed by GitHub
parent 11ee782d75
commit 50d19e464f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,13 +164,13 @@ Custom Status
```js
const RichPresence = require('discord-rpc-contructor'); // My module :))
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]
name: 'nom',
id: '737373737373737373',
animated: false,
})
.setState('Testing') // Name of presence
.setState('Testing') // Name of presence
.toDiscord();
client.user.setActivity(custom);
```
@ -346,4 +346,4 @@ await client.reddemNitro('code')
## Warning
- 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.