Update rename.js

This commit is contained in:
ItzEmerald authored and GitHub committed 2019-11-29 22:34:57 +00:00
1 parent d416c2e421
commit 197bda14b8
1 file changed
+2 -2
+2 -2
View File
@@ -26,7 +26,7 @@ exports.run = (bot, message, args) => {
.setColor(bot.settings.colour)
if (!message.channel.name.startsWith(`ticket-`)) return message.channel.send({embed: outsideticket});
const renameto = args.join(" ")
message.channel.setName(`ticket-${renameto}-${message.author.username}`)
message.channel.setName(`ticket-${renameto}`)
// Renamed Ticket Logistic
const logEmbed = new Discord.RichEmbed()
@@ -60,4 +60,4 @@ exports.run = (bot, message, args) => {
exports.help = {
name: bot.settings.Rename_Command,
}
}