This commit is contained in:
Eartharoid 2019-05-03 22:49:58 +01:00
parent 5693458e8d
commit 09b4b0a298
3 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ module.exports = {
.setAuthor(`${client.user.username} / Ticket Log`, client.user.avatarURL) .setAuthor(`${client.user.username} / Ticket Log`, client.user.avatarURL)
.setColor("#2ECC71") .setColor("#2ECC71")
.setDescription(":white_check_mark: **Started succesfully**") .setDescription(":white_check_mark: **Started succesfully**")
.setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot\nDiscordTickets by Eartharoid`); .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`);
message.channel.send({embed}) message.channel.send({embed})
} else { } else {
message.channel.send(`**Prefix =** \`${config.prefix}\`\n**Bot Version =** \`${version}\``) message.channel.send(`**Prefix =** \`${config.prefix}\`\n**Bot Version =** \`${version}\``)

View File

@ -15,7 +15,7 @@ module.exports = {
.setColour .setColour
.addField("Username", message.author.tag, true) .addField("Username", message.author.tag, true)
.addField("Channel", ticketChannel, true) .addField("Channel", ticketChannel, true)
.setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot\nDiscordTickets by Eartharoid`); .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`);
client.channels.get(config.logChannel).send({embed}) client.channels.get(config.logChannel).send({embed})
} else { } else {
client.channels.get(config.logChannel).send(`New ticket created by **${message.author.tag} (${message.author.id})**`); 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) .setAuthor(`${client.user.username} / Ticket Log`, client.user.avatarURL)
.setColor("#2ECC71") .setColor("#2ECC71")
.setDescription(":white_check_mark: **Started succesfully**") .setDescription(":white_check_mark: **Started succesfully**")
.setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot\nDiscordTickets by Eartharoid`); .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`);
client.channels.get(config.logChannel).send({embed}) client.channels.get(config.logChannel).send({embed})
} else { } else {
client.channels.get(config.logChannel).send(":white_check_mark: **Started succesfully**") 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) .setAuthor(`${client.user.username} / Ticket Log`, client.user.avatarURL)
.setColor("#2ECC71") .setColor("#2ECC71")
.setDescription(":white_check_mark: **Required permissions have been granted**") .setDescription(":white_check_mark: **Required permissions have been granted**")
.setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot\nDiscordTickets by Eartharoid`); .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`);
client.channels.get(config.logChannel).send({embed}) client.channels.get(config.logChannel).send({embed})
} else { } else {
client.channels.get(config.logChannel).send(":white_check_mark: **Started succesfully**") 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) .setAuthor(`${client.user.username} / Ticket Log`, client.user.avatarURL)
.setColor("#E74C3C") .setColor("#E74C3C")
.setDescription(":x: **Required permissions have not been granted**\nPlease give the bot the `ADMINISTRATOR` permission") .setDescription(":x: **Required permissions have not been granted**\nPlease give the bot the `ADMINISTRATOR` permission")
.setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot\nDiscordTickets by Eartharoid`); .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`);
client.channels.get(config.logChannel).send({embed}) client.channels.get(config.logChannel).send({embed})
} else { } else {
client.channels.get(config.logChannel).send(":white_check_mark: **Started succesfully**") client.channels.get(config.logChannel).send(":white_check_mark: **Started succesfully**")
@ -134,7 +134,7 @@ client.on('message', message => {
.setTitle("DM Logger") .setTitle("DM Logger")
.addField("Username", message.author.tag, true) .addField("Username", message.author.tag, true)
.addField("Message", message.content, true) .addField("Message", message.content, true)
.setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot\nDiscordTickets by Eartharoid`); .setFooter(`${client.guilds.get(config.guildID).name} / Ticket Bot : DiscordTickets by Eartharoid`);
client.channels.get(config.logChannel).send({embed}) client.channels.get(config.logChannel).send({embed})
} else { } else {
client.channels.get(config.logChannel).send(`DM received from **${message.author.tag} (${message.author.id})** : \n\n\`\`\`${message.content}\`\`\``); client.channels.get(config.logChannel).send(`DM received from **${message.author.tag} (${message.author.id})** : \n\n\`\`\`${message.content}\`\`\``);