forgot a status.

This commit is contained in:
ry 2020-01-09 18:41:29 +01:00
vecāks 0ddc8e064f
revīzija 9500bc3a45
2 mainīti faili ar 109 papildinājumiem un 111 dzēšanām

Parādīt failu

@ -17,7 +17,7 @@ module.exports = {
log.hasStarted();
status.randomStatus(client)
setInterval(() => {
randomStatus(client);
status.randomStatus(client);
}, 60000);
}
};

Parādīt failu

@ -1,113 +1,111 @@
const States = [{
activity: {
name: 'server fans whirr 💨',
type: 'LISTENING'
},
status: 'online'
},
{
activity: {
name: 'True Damage - GIANTS',
type: 'LISTENING'
},
status: 'online'
},
{
activity: {
name: `${client.guilds.size} Servers -w-`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: 'Δ & ♫',
type: 'LISTENING'
},
status: 'online'
},
{
activity: {
name: `'help | thaldr.in`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `Linux Servers`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `e621 Videos`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `WannaCry`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `the Blockchain!`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `something... ;3`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `Skynet`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `Half Life`,
type: 'PLAYING'
},
status: 'online'
},
{
activity: {
name: `Half Life 2`,
type: 'PLAYING'
},
status: 'online'
},
{
activity: {
name: `Portal`,
type: 'PLAYING'
},
status: 'online'
},
{
activity: {
name: `Portal 2`,
type: 'PLAYING'
},
status: 'online'
}
// { game: { name: `over ${thal.users.get('318044130796109825').username}~`, type: 'WATCHING' }, status: 'dnd' }
];
function randomStatus(client) {
const States = [{
activity: {
name: 'server fans whirr 💨',
type: 'LISTENING'
},
status: 'online'
},
{
activity: {
name: 'True Damage - GIANTS',
type: 'LISTENING'
},
status: 'online'
},
{
activity: {
name: `${client.guilds.size} Servers -w-`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: 'Δ & ♫',
type: 'LISTENING'
},
status: 'online'
},
{
activity: {
name: `'help | thaldr.in`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `Linux Servers`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `e621 Videos`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `WannaCry`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `the Blockchain!`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `something... ;3`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `Skynet`,
type: 'WATCHING'
},
status: 'online'
},
{
activity: {
name: `Half Life`,
type: 'PLAYING'
},
status: 'online'
},
{
activity: {
name: `Half Life 2`,
type: 'PLAYING'
},
status: 'online'
},
{
activity: {
name: `Portal`,
type: 'PLAYING'
},
status: 'online'
},
{
activity: {
name: `Portal 2`,
type: 'PLAYING'
},
status: 'online'
}
// { game: { name: `over ${thal.users.get('318044130796109825').username}~`, type: 'WATCHING' }, status: 'dnd' }
];
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
};