From d98071ce5b73b590ef31ae329a23f420e3b39ace Mon Sep 17 00:00:00 2001 From: kieranrobson Date: Tue, 10 May 2022 12:33:44 +0100 Subject: [PATCH] Updated embed colours from orange to green --- commands/fun/8ball.js | 2 +- commands/general/ping.js | 2 +- commands/general/suggestions.js | 55 --------------------------------- 3 files changed, 2 insertions(+), 57 deletions(-) delete mode 100644 commands/general/suggestions.js diff --git a/commands/fun/8ball.js b/commands/fun/8ball.js index cda20b6..64bfc29 100644 --- a/commands/fun/8ball.js +++ b/commands/fun/8ball.js @@ -22,7 +22,7 @@ module.exports = { if (!messageArgs[1]) return message.reply('Please specify a topic.'); const embed = new MessageEmbed() - .setColor('ORANGE') + .setColor('GREEN') .setFooter(`Called By: ${message.author.tag}`) .setTimestamp() .setTitle("8Ball") diff --git a/commands/general/ping.js b/commands/general/ping.js index 8ca77e5..2c7f189 100644 --- a/commands/general/ping.js +++ b/commands/general/ping.js @@ -17,7 +17,7 @@ module.exports = { const embed = new MessageEmbed() - .setColor('ORANGE') + .setColor('GREEN') .setFooter(`Called By: ${message.author.tag}`) .setTimestamp() .setTitle("Ping") diff --git a/commands/general/suggestions.js b/commands/general/suggestions.js deleted file mode 100644 index 3d84fc4..0000000 --- a/commands/general/suggestions.js +++ /dev/null @@ -1,55 +0,0 @@ -const { Message, Client, MessageEmbed } = require("discord.js"); -const discord = require('discord.js') - -module.exports = { - name: "suggestion", - aliases: ['suggest'], - /** - * - * @param {Client} client - * @param {Message} message - * @param {String[]} args - */ - run: async (client, message, args) => { - if(message.guild && message.guild.id === '744586833135927366') - { - - const suggestChannel = client.channels.cache.get('858348481412726794') - let messageArgs = args.join(' '); - const threadAuthor = message.member.displayName; - const embed = new discord.MessageEmbed() - .setColor('ORANGE') - .setFooter(`Called By: ${message.author.tag}`) - .setTimestamp() - .setAuthor(message.author.tag, message.author.displayAvatarURL({ dynamic: true })) - .setDescription(messageArgs); - - suggestChannel.send({ embeds: [embed] }).then((msg) =>{ - msg.react('<:upvote:881547644672024607>'); - msg.react('<:downvote:881547582650851330>'); - msg.startThread({ - name: `${threadAuthor} - ${messageArgs}`, - autoArchiveDuration: 60, - type: 'GUILD_PUBLIC_THREAD' - }); - - message.delete(); - message.channel.send('Your suggestion has been sent to: <#858348481412726794>') - }).catch((err)=>{ - throw err; - }); - } - else - { - message.reply("That is not available within this server") - } - - - - - } -} - - - -