Compare commits
No commits in common. 'a22ac3edd2ddac54b94ada7d002ceb6abd04cc97' and 'dfedd09384ddd51f3907d86cf33bc363978a4efc' have entirely different histories.
a22ac3edd2
...
dfedd09384
@ -1,8 +1,5 @@ |
|||||||
const Discord = require('discord.js'); |
const Discord = require('discord.js'); |
||||||
|
|
||||||
module.exports = async client => { |
module.exports = async client => { |
||||||
client.prefix = "n?"; |
|
||||||
|
|
||||||
require('../../startup/run/hello')(client); // startup info
|
require('../../startup/run/hello')(client); // startup info
|
||||||
require('../../startup/run/setstatus')(client); |
|
||||||
}; |
}; |
@ -1,10 +1,9 @@ |
|||||||
const moment = require("moment"); |
const moment = require("moment"); |
||||||
const chalk = require('chalk'); |
const chalk = require('chalk'); |
||||||
const os = require('os'); |
const os = require('os'); |
||||||
const gs = require('gradient-string'); |
|
||||||
|
|
||||||
module.exports = client => { |
module.exports = client => { |
||||||
client.log(`Logged in as ${gs.instagram(client.user.username)}. ${chalk.greenBright(`[${chalk.grey(client.user.id)}]`)}`); |
client.log(`Logged in as ${chalk.blueBright(client.user.username)}. ${chalk.greenBright(`[${chalk.grey(client.user.id)}]`)}`); |
||||||
client.log(`Time: ${chalk.blueBright(moment().format('MMMM d, YYYY - HH:MM:SS'))}`); |
client.log(`Time: ${chalk.blueBright(moment().format('MMMM d, YYYY - HH:MM:SS'))}`); |
||||||
client.log(`Running on ${chalk.blueBright(client.guilds.cache.size)} ${chalk.blue("servers")} and interacting with about ${chalk.blueBright(client.users.cache.size)} ${chalk.blue("users")}.`); |
client.log(`Running on ${chalk.blueBright(client.guilds.cache.size)} ${chalk.blue("servers")} and interacting with about ${chalk.blueBright(client.users.cache.size)} ${chalk.blue("users")}.`); |
||||||
client.log(`This ${chalk.blue('heap')} has ${chalk.blueBright((process.memoryUsage().heapTotal / (1024 ** 2)).toFixed(2))}MB allocated; The ${chalk.blue('machine')} has ${chalk.blueBright((os.totalmem() / (1024 ** 3)).toFixed(2))}GB (${chalk.blueBright((os.freemem() / (1024 ** 3)).toFixed(2))}GB free)`); |
client.log(`This ${chalk.blue('heap')} has ${chalk.blueBright((process.memoryUsage().heapTotal / (1024 ** 2)).toFixed(2))}MB allocated; The ${chalk.blue('machine')} has ${chalk.blueBright((os.totalmem() / (1024 ** 3)).toFixed(2))}GB (${chalk.blueBright((os.freemem() / (1024 ** 3)).toFixed(2))}GB free)`); |
||||||
|
@ -1,42 +0,0 @@ |
|||||||
module.exports = client => { |
|
||||||
const prefix = client.prefix; |
|
||||||
const statuses = { |
|
||||||
"PLAYING": [ |
|
||||||
`with my darling`, 'RAIN: Shadow Lords', "with my waifu", "with the neko formula", |
|
||||||
"with magic", "terrible anime games", "anime OSTs at max volume", |
|
||||||
`${Math.ceil(Math.random() * 100)} days of trying to become a samurai`, |
|
||||||
"with the sauce", "witch hats are >", "explosion magic is the best magic", |
|
||||||
"with Kazuma's sanity", "please help i gave myself cat ears", |
|
||||||
"starting my own harem", "wor. wor never changes", "a little more UwU than necessary", |
|
||||||
"please i just want a cat girl in my life", "i'm your waifu now.", |
|
||||||
"i'm in intervention for my neko addiction", "i tried to make a catgirl and broke my staff", |
|
||||||
"fluffy tails = drugs", "in a dungeon without wearing my plot armor", |
|
||||||
"benefits of Natsuki worship: my beautiful face" |
|
||||||
,`in ${client.guilds.cache.size} servers` |
|
||||||
], |
|
||||||
"WATCHING": [ |
|
||||||
`for ${client.commands.size} commands`, |
|
||||||
"I'm not a bad slime, slurp!", "Lelouch rule the world!", |
|
||||||
"a slime somehow start an empire", "a fox-maid get her tail fluffed", |
|
||||||
"a raccoon-girl and some guy with a shield", "some chick with unusually red hair", |
|
||||||
"Mob hit 100", "a really bad harem anime", "The Black Swordsman", |
|
||||||
"The Misfit of Demon King Academy", "Akame ga Kill", "a witch explode a castle", |
|
||||||
"Code Geass", "\"did you really think ___ would be enough to kill me?\"", |
|
||||||
"hentacle tentai", "JIBUN WO-", "he did it... he actually made risotto", |
|
||||||
"sasageyo, sasageyo, chi nto wo sasegeyo", "scientists make nekos real :3", |
|
||||||
"yet another isekai don't @ me", "magical girl anime", "episode 1 of One Piece.. pain.", |
|
||||||
"a white-haired dude and a goddess with some MELONS" |
|
||||||
,`over ${client.guilds.cache.size} servers` |
|
||||||
] |
|
||||||
}; |
|
||||||
|
|
||||||
try {if (client.misc.statusTimeout) {clearTimeout(client.misc.statusTimeout)};} catch {} |
|
||||||
|
|
||||||
const setStatus = () => { |
|
||||||
let type = Object.keys(statuses)[Math.floor(Math.random() * Object.keys(statuses).length)]; |
|
||||||
if (type === "PLAYING") {client.user.setActivity(statuses[type][Math.floor(Math.random() * statuses[type].length)] + " | " + prefix + "help");} |
|
||||||
else {client.user.setActivity(statuses[type][Math.floor(Math.random() * statuses[type].length)] + " | " + prefix + "help", {type: type});} |
|
||||||
}; |
|
||||||
setStatus(); |
|
||||||
client.misc.statusTimeout = setTimeout(setStatus, 14400000); |
|
||||||
}; |
|
Loading…
Reference in new issue