forgot a status.

master
ry 3 years ago
parent 0ddc8e064f
commit 9500bc3a45

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

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