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 ```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);
``` ```