mirror of
https://github.com/DarthKilroy/Spot.git
synced 2026-02-04 02:26:48 +00:00
clean up stuff
This commit is contained in:
parent
14dd8a5453
commit
1777df5370
12 changed files with 185 additions and 542 deletions
|
|
@ -1,6 +0,0 @@
|
|||
global.APP_MAIN_COLOUR = 'A95B44';
|
||||
|
||||
global.SECOND = 1000;
|
||||
global.MINUTE = 60 * SECOND;
|
||||
global.HOUR = 60 * MINUTE;
|
||||
global.DAY = 24 * HOUR;
|
||||
|
|
@ -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 }),
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
/**
|
||||
* @param {int} milliseconds
|
||||
* @returns {Promise}
|
||||
*/
|
||||
global.sleep = async (milliseconds) => {
|
||||
return new Promise((resolve) => {
|
||||
setTimeout(resolve, milliseconds);
|
||||
});
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue