feat: new RPC
This commit is contained in:
@@ -8,7 +8,7 @@ client.on('ready', async () => {
|
||||
'367827983903490050',
|
||||
'https://assets.ppy.sh/beatmaps/1550633/covers/list.jpg', // Required if the image you use is not in Discord
|
||||
);
|
||||
const status = new RichPresence()
|
||||
const status = new RichPresence(client)
|
||||
.setApplicationId('367827983903490050')
|
||||
.setType('PLAYING')
|
||||
.setURL('https://www.youtube.com/watch?v=5icFcPkVzMg')
|
||||
@@ -26,7 +26,7 @@ client.on('ready', async () => {
|
||||
.setAssetsSmallText('click the circles')
|
||||
.addButton('Beatmap', 'https://osu.ppy.sh/beatmapsets/1391659#osu/2873429');
|
||||
// Custom Status
|
||||
const custom = new CustomStatus().setEmoji('😋').setState('yum');
|
||||
const custom = new CustomStatus(client).setEmoji('😋').setState('yum');
|
||||
// Spotify
|
||||
const spotify = new SpotifyRPC(client)
|
||||
.setAssetsLargeImage('spotify:ab67616d00001e02768629f8bc5b39b68797d1bb') // Image ID
|
||||
|
Reference in New Issue
Block a user