From 6c134a6bc59b1a5ff8143369a5fcbb700b79073f Mon Sep 17 00:00:00 2001 From: Eartharoid Date: Fri, 3 May 2019 22:52:55 +0100 Subject: [PATCH] update --- commands/help.js | 4 ++-- commands/new.js | 2 +- index.js | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/commands/help.js b/commands/help.js index aea6ba6..c9c86e3 100644 --- a/commands/help.js +++ b/commands/help.js @@ -8,9 +8,9 @@ module.exports = { if(config.useEmbeds) { const embed = new Discord.RichEmbed() .setAuthor(`${client.user.username} / Ticket Log`, client.user.avatarURL) - .setColor("#2ECC71") + .setColor(config.colour) .setDescription(":white_check_mark: **Started succesfully**") - .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`); + .setFooter(`${client.guilds.get(config.guildID).name} : DiscordTickets by Eartharoid`); message.channel.send({embed}) } else { message.channel.send(`**Prefix =** \`${config.prefix}\`\n**Bot Version =** \`${version}\``) diff --git a/commands/new.js b/commands/new.js index f63107a..b38c6ef 100644 --- a/commands/new.js +++ b/commands/new.js @@ -15,7 +15,7 @@ module.exports = { .setColour .addField("Username", message.author.tag, true) .addField("Channel", ticketChannel, true) - .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`); + .setFooter(`${client.guilds.get(config.guildID).name} : DiscordTickets by Eartharoid`); client.channels.get(config.logChannel).send({embed}) } else { client.channels.get(config.logChannel).send(`New ticket created by **${message.author.tag} (${message.author.id})**`); diff --git a/index.js b/index.js index d5204ce..464699a 100644 --- a/index.js +++ b/index.js @@ -88,7 +88,7 @@ client.once('ready', () => { // after bot has logged in .setAuthor(`${client.user.username} / Ticket Log`, client.user.avatarURL) .setColor("#2ECC71") .setDescription(":white_check_mark: **Started succesfully**") - .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`); + .setFooter(`${client.guilds.get(config.guildID).name} : DiscordTickets by Eartharoid`); client.channels.get(config.logChannel).send({embed}) } else { client.channels.get(config.logChannel).send(":white_check_mark: **Started succesfully**") @@ -100,7 +100,7 @@ client.once('ready', () => { // after bot has logged in .setAuthor(`${client.user.username} / Ticket Log`, client.user.avatarURL) .setColor("#2ECC71") .setDescription(":white_check_mark: **Required permissions have been granted**") - .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`); + .setFooter(`${client.guilds.get(config.guildID).name} : DiscordTickets by Eartharoid`); client.channels.get(config.logChannel).send({embed}) } else { client.channels.get(config.logChannel).send(":white_check_mark: **Started succesfully**") @@ -113,7 +113,7 @@ client.once('ready', () => { // after bot has logged in .setAuthor(`${client.user.username} / Ticket Log`, client.user.avatarURL) .setColor("#E74C3C") .setDescription(":x: **Required permissions have not been granted**\nPlease give the bot the `ADMINISTRATOR` permission") - .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`); + .setFooter(`${client.guilds.get(config.guildID).name} : DiscordTickets by Eartharoid`); client.channels.get(config.logChannel).send({embed}) } else { client.channels.get(config.logChannel).send(":white_check_mark: **Started succesfully**") @@ -134,7 +134,7 @@ client.on('message', message => { .setTitle("DM Logger") .addField("Username", message.author.tag, true) .addField("Message", message.content, true) - .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`); + .setFooter(`${client.guilds.get(config.guildID).name} : DiscordTickets by Eartharoid`); client.channels.get(config.logChannel).send({embed}) } else { client.channels.get(config.logChannel).send(`DM received from **${message.author.tag} (${message.author.id})** : \n\n\`\`\`${message.content}\`\`\``);