Version 0.3.0-alpha1 - Youtube and Spotify support

This commit is contained in:
2025-02-28 19:21:47 +01:00
parent a060d00599
commit c8c8fd71be
22 changed files with 925 additions and 167 deletions

View File

@@ -13,10 +13,7 @@ function setMusicActivity(songName, artistName, imageUrl) {
const client = bot.getClient()
client.user.setActivity(`${songName} - ${artistName}`,{
type: ActivityType.Listening,
assets: {
largeImage: imageUrl,
largeText: songName
}
url: imageUrl
});
dlog.log(`Activité mise à jour : ${songName} - ${artistName}`)
}