Added vendetta lastfm whitelist

This commit is contained in:
nin0dev 2024-05-12 10:36:38 -04:00 committed by GitHub
parent 6ae42c8607
commit 97281b3b8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,6 +37,10 @@ function onUpdate(data) {
listening = true
content = `Listening to ${presence["details"]} - ${presence["state"]}`
}
if(presence["application_id"] == "1054951789318909972") { // vendetta lastfm
listening = true
content = `Listening to ${presence["details"]} - ${presence["state"].replace("by ", "")}`
}
if(presence["type"] == 0 && presence["application_id"] != "463151177836658699" && presence["application_id"] != "1108588077900898414") { // generic playing status that isn't vencord lastfm or premid
listening = false
content = `Playing ${presence["name"]}`