aloshai / invite-manager

This bot will show who invited who. It's recording and showing the total count of invitations of an user, how many of them left, etc.
MIT License
97 stars 59 forks source link

[Suggestion status] #12

Closed cTmoNe closed 3 years ago

cTmoNe commented 3 years ago

Hello, can you add a status for bot, Playing/Watching/Listening?

aloshai commented 3 years ago

Can you do yourself. You should be look setPresence method

Create a new Ready Event Listener. For example:

client.on("ready", () => {
    // Your codes...
});

and write to client presence change method but you should look PresenceData class

client.user.setPresence({
    activity: {
        name: "I am now playing...",
        type: "PLAYING"
    }
});

and result:

client.on("ready", () => {
    client.user.setPresence({
        activity: {
            name: "I am now playing...",
            type: "PLAYING"
        }
    });
});