diff --git a/commands/ticket.js b/commands/ticket.js index d3e9a9c..22127b2 100644 --- a/commands/ticket.js +++ b/commands/ticket.js @@ -16,7 +16,7 @@ exports.run = (bot, message, args) => { .setDescription(`:x: Cannot create a ticket because **${bot.settings.Ticket_Channel_Name}-${message.author.username}** already exists.`) .setColor(bot.settings.colour) if (message.guild.channels.find(TicketChannel => TicketChannel.name === `${bot.settings.Ticket_Channel_Name}-` + message.author.username)) return message.channel.send(alreadyopen); - message.guild.createChannel(`ticket-${message.author.username}`, { + message.guild.createChannel(`${bot.settings.Ticket_Channel_Name}-${message.author.username}`, { type: 'text', }).then(TicketChannel => {