Adding dynamic statuses

This commit is contained in:
2023-04-07 21:12:00 +02:00
parent eb2d52a8a4
commit 0cfe7782ed

View File

@@ -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');