New Version to add Presence
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good
This commit is contained in:
parent
8cdfb9c682
commit
8d0a41db8f
10
src/main.js
10
src/main.js
@ -749,6 +749,11 @@ function startServer(client) {
|
||||
|
||||
const { ActivityType } = require("discord.js")
|
||||
|
||||
client.user.setPresence({
|
||||
activities: [{ name: `rien pour le moment`, type: ActivityType.Listening }],
|
||||
status: 'dnd',
|
||||
});
|
||||
|
||||
data["current"] = player.queue.current
|
||||
|
||||
if(player.queueRepeat == true) {
|
||||
@ -768,11 +773,6 @@ function startServer(client) {
|
||||
status: 'dnd',
|
||||
});
|
||||
|
||||
} else {
|
||||
client.user.setPresence({
|
||||
activities: [{ name: `rien pour le moment`, type: ActivityType.Listening }],
|
||||
status: 'dnd',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user