added bot status
This commit is contained in:
parent
9bc0ed3d7e
commit
2901c12bb9
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue