clean up stuff

This commit is contained in:
spiral 2021-10-20 11:45:50 -04:00
parent 14dd8a5453
commit 1777df5370
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
12 changed files with 185 additions and 542 deletions

View file

@ -1,6 +0,0 @@
global.APP_MAIN_COLOUR = 'A95B44';
global.SECOND = 1000;
global.MINUTE = 60 * SECOND;
global.HOUR = 60 * MINUTE;
global.DAY = 24 * HOUR;

View file

@ -21,8 +21,6 @@ load();
// text string;
// }
const { MessageEmbed } = require("discord.js");
module.exports = {
get names() {
return names;
@ -37,7 +35,7 @@ module.exports = {
if (!msg) return;
return {
color: APP_MAIN_COLOUR,
color: "A95B44",
author: {
name: msg.title,
iconURL: bot.user.displayAvatarURL({ dynamic: true }),

View file

@ -1,9 +0,0 @@
/**
* @param {int} milliseconds
* @returns {Promise}
*/
global.sleep = async (milliseconds) => {
return new Promise((resolve) => {
setTimeout(resolve, milliseconds);
});
};