Skip to content
Snippets Groups Projects
Commit 3c988ac5 authored by Levatax's avatar Levatax
Browse files

Update ready.js

parent 2bb76498
No related branches found
No related tags found
No related merge requests found
const chalk = require('chalk');
const moment = require('moment');
const Discord = require('discord.js');
const settings = require('../settings.json');
const db = require('quick.db');
const chalk = require("chalk");
const moment = require("moment");
const Discord = require("discord.js");
const settings = require("../settings.json");
const db = require("quick.db");
module.exports = client => {
let prefix = settings.prefix
let prefix = settings.prefix;
console.log(`[${moment().format('YYYY-MM-DD HH:mm:ss')}] Loaded All Commands!`);
console.log(
`[${moment().format("YYYY-MM-DD HH:mm:ss")}] Loaded All Commands!`
);
client.user.setStatus("dnd");
var games = [
`*help for commands`,
`Servers`,
`ban, mute`
];
var games = [`*help for commands`, `Servers`, `ban, mute`];
setInterval(function() {
var random = Math.floor(Math.random() * (games.length - 0 + 1) + 0);
client.user.setActivity(games[random], { type: "WATCHING" });
}, 3000);
}
\ No newline at end of file
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment