added bot status
This commit is contained in:
parent
9bc0ed3d7e
commit
2901c12bb9
1 changed files with 6 additions and 0 deletions
|
@ -6,9 +6,15 @@ export default {
|
|||
once: true,
|
||||
execute(client: Client) {
|
||||
console.log(`Ready! Logged in as ${client.user?.tag}`);
|
||||
|
||||
client.user?.setPresence({ activities: [{ name: '/ask | Version 3.0 !', type: 3 }] });
|
||||
|
||||
setInterval(async () => {
|
||||
await checkReset();
|
||||
}, 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