forgot a status.
This commit is contained in:
parent
0ddc8e064f
commit
9500bc3a45
2 changed files with 109 additions and 111 deletions
|
@ -17,7 +17,7 @@ module.exports = {
|
|||
log.hasStarted();
|
||||
status.randomStatus(client)
|
||||
setInterval(() => {
|
||||
randomStatus(client);
|
||||
status.randomStatus(client);
|
||||
}, 60000);
|
||||
}
|
||||
};
|
|
@ -1,3 +1,4 @@
|
|||
function randomStatus(client) {
|
||||
const States = [{
|
||||
activity: {
|
||||
name: 'server fans whirr 💨',
|
||||
|
@ -105,9 +106,6 @@ const States = [{
|
|||
}
|
||||
// { game: { name: `over ${thal.users.get('318044130796109825').username}~`, type: 'WATCHING' }, status: 'dnd' }
|
||||
];
|
||||
|
||||
|
||||
function randomStatus(client) {
|
||||
let status = States[~~(Math.random() * States.length)];
|
||||
return client.user.setPresence(status);
|
||||
}
|
||||
|
@ -118,6 +116,6 @@ module.exports = {
|
|||
playing: "PLAYING",
|
||||
watching: "WATCHING",
|
||||
listening: "LISTENING",
|
||||
streaming: "STREAMING";
|
||||
streaming: "STREAMING",
|
||||
randomStatus
|
||||
};
|
Loading…
Reference in a new issue