Version 0.3.0-alpha1 - Youtube and Spotify support
This commit is contained in:
@@ -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}`)
|
||||
}
|
||||
|
Reference in New Issue
Block a user