This commit is contained in:
Eartharoid 2019-05-03 22:52:55 +01:00
parent 09b4b0a298
commit 6c134a6bc5
3 changed files with 7 additions and 7 deletions

View File

@ -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}\``)

View File

@ -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})**`);

View File

@ -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}\`\`\``);