From 492d0d763ec83f06baa691072ab631cbffe29af8 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 5 Feb 2020 10:29:35 -0800 Subject: [PATCH 1/2] change embed color --- commands/Moderation/ban.js | 6 +++--- commands/Moderation/warn.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/Moderation/ban.js b/commands/Moderation/ban.js index 7050860..fcff3cb 100644 --- a/commands/Moderation/ban.js +++ b/commands/Moderation/ban.js @@ -1,17 +1,17 @@ exports.run = async (client, message, args, level) => { const user = message.mentions.users.first() || client.users.get("username", args[0]).id; parseUser(message, user); - + const modlog = client.channels.find('name', config.modLogChannel); const caseNum = await caseNumber(client, modlog); - + if (!modlog) return message.reply('I cannot find a valid modlog channel.'); if (message.mentions.users.size < 1) return message.reply('You must mention someone to ban them.').catch(console.error); // message.guild.ban(user, 2); const reason = args.splice(1, args.length).join(' ') || `Awaiting moderator's input. Use ${settings.prefix}reason ${caseNum} .`; const embed = new RichEmbed() - .setColor(0x00AE86) + .setColor(0x2f3136) .setTimestamp() .setDescription(`**Action:** Ban\n**Target:** ${user.tag}\n**Moderator:** ${message.author.tag}\n**Reason:** ${reason}`) .setFooter(`Case ${caseNum}`); diff --git a/commands/Moderation/warn.js b/commands/Moderation/warn.js index 6756251..884388f 100644 --- a/commands/Moderation/warn.js +++ b/commands/Moderation/warn.js @@ -8,7 +8,7 @@ exports.run = async (client, message, args, level) => { const reason = args.splice(1, args.length).join(' ') || `Awaiting moderator's input. Use ${message.settings.prefix}reason ${caseNum} .`; const embed = new RichEmbed() - .setColor(0x00AE86) + .setColor(0x2f3136) .setTimestamp() .setDescription(`**Action:** Warning\n**Target:** ${user.tag}\n**Moderator:** ${message.author.tag}\n**Reason:** ${reason}`) .setFooter(`Case ${caseNum}`); From 9ec766d61e1f362cbe7edada96f5fcb09c753d38 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 5 Feb 2020 10:46:51 -0800 Subject: [PATCH 2/2] remove batch files, be proactive for once lol --- run.bat | 2 -- setup.bat | 2 -- 2 files changed, 4 deletions(-) delete mode 100644 run.bat delete mode 100644 setup.bat diff --git a/run.bat b/run.bat deleted file mode 100644 index ccf7423..0000000 --- a/run.bat +++ /dev/null @@ -1,2 +0,0 @@ -@echo off -node index.js \ No newline at end of file diff --git a/setup.bat b/setup.bat deleted file mode 100644 index a76c478..0000000 --- a/setup.bat +++ /dev/null @@ -1,2 +0,0 @@ -@echo off -node setup.js \ No newline at end of file