discord js client set presence code example
Example: discord js presence update
client.on("presenceUpdate", function (oldMember, newMember) {
console.log(`a guild member's presence changes`);
});
client.on("presenceUpdate", function (oldMember, newMember) {
console.log(`a guild member's presence changes`);
});