added bot status

This commit is contained in:
Lukian LEIZOUR 2024-03-15 22:22:18 +01:00
parent 9bc0ed3d7e
commit 2901c12bb9

View file

@ -7,8 +7,14 @@ export default {
execute(client: Client) { execute(client: Client) {
console.log(`Ready! Logged in as ${client.user?.tag}`); console.log(`Ready! Logged in as ${client.user?.tag}`);
client.user?.setPresence({ activities: [{ name: '/ask | Version 3.0 !', type: 3 }] });
setInterval(async () => { setInterval(async () => {
await checkReset(); await checkReset();
}, 10 * 60 * 1000); }, 10 * 60 * 1000);
setInterval(async () => {
client.user?.setPresence({ activities: [{ name: '/ask | Version 3.0 !', type: 3 }] });
}, 10 * 60 * 1000);
}, },
}; };