Adding dynamic statuses
This commit is contained in:
20
index.js
20
index.js
@@ -130,8 +130,26 @@ for (const file of modalFiles) {
|
||||
client.on(Events.ClientReady, () => {
|
||||
console.log("Logged in as " + client.user.tag + "!");
|
||||
});
|
||||
|
||||
client.on(Events.ClientReady, () => {
|
||||
client.user.setActivity({ name: 'over the Illegitimate Guild.', type: ActivityType.Watching });
|
||||
|
||||
client.user.setActivity({ name: "over the Illegitimate Server", type: ActivityType.Watching });
|
||||
|
||||
const activities = [
|
||||
"over the Illegitimate Server",
|
||||
"Jone be an idiot",
|
||||
"Martina is definitely a bot",
|
||||
"urTryhard steal finals",
|
||||
"Perlcence be an AI",
|
||||
"Taken my creator",
|
||||
"ur mom in my bed"
|
||||
];
|
||||
|
||||
let i = 0;
|
||||
setInterval(() =>
|
||||
client.user.setActivity({ name: `${activities[i++ % activities.length]}`, type: ActivityType.Watching }), 1000 * 60 * 30
|
||||
)
|
||||
|
||||
});
|
||||
client.on(Events.ClientReady, () => {
|
||||
client.user.setStatus('dnd');
|
||||
|
||||
Reference in New Issue
Block a user