diff --git a/Document/RichPresence.md b/Document/RichPresence.md index 7fa56be..77ba2e3 100644 --- a/Document/RichPresence.md +++ b/Document/RichPresence.md @@ -100,7 +100,7 @@ const r = new Discord.RichPresence() .setAssetsSmallImage('895316294222635008') .setAssetsSmallText('Bot') .addButton('name', 'https://link.com/') -client.user.setActivity(r.toDiscord().game); +client.user.setActivity(r.toJSON()); ``` @@ -121,4 +121,4 @@ const asset = await bot.application.fetchAssets(); - More: - - You can change the status 5 times every 20 seconds! \ No newline at end of file + - You can change the status 5 times every 20 seconds!