fix(RichPresence): Wrong method (toDiscord)
This commit is contained in:
parent
2d78b2437e
commit
fa174ebd9e
@ -100,7 +100,7 @@ const r = new Discord.RichPresence()
|
|||||||
.setAssetsSmallImage('895316294222635008')
|
.setAssetsSmallImage('895316294222635008')
|
||||||
.setAssetsSmallText('Bot')
|
.setAssetsSmallText('Bot')
|
||||||
.addButton('name', 'https://link.com/')
|
.addButton('name', 'https://link.com/')
|
||||||
client.user.setActivity(r.toDiscord().game);
|
client.user.setActivity(r.toJSON());
|
||||||
```
|
```
|
||||||
|
|
||||||
<img src='https://cdn.discordapp.com/attachments/820557032016969751/995301015257616414/unknown.png'>
|
<img src='https://cdn.discordapp.com/attachments/820557032016969751/995301015257616414/unknown.png'>
|
||||||
@ -121,4 +121,4 @@ const asset = await bot.application.fetchAssets();
|
|||||||
<img src='https://cdn.discordapp.com/attachments/820557032016969751/995307606115618926/unknown.png'>
|
<img src='https://cdn.discordapp.com/attachments/820557032016969751/995307606115618926/unknown.png'>
|
||||||
|
|
||||||
- More:
|
- More:
|
||||||
- You can change the status 5 times every 20 seconds!
|
- You can change the status 5 times every 20 seconds!
|
||||||
|
Loading…
Reference in New Issue
Block a user