Updated config defaults

This commit is contained in:
Noah committed 2021-10-27 19:48:00 -05:00
1 parent 6c14a6a06c
commit a6b105a2e1
4 files changed
+13 -11

No files matched your search

+2 -2
View File
@@ -66,7 +66,7 @@ module.exports = new Command({
if (
interaction.guild.channels.cache.find(
(ticketChannel) =>
ticketChannel.name === `${supportbot.TicketChannel}-${ticketNumberID}`
ticketChannel.name === `${supportbot.TicketPrefix}${ticketNumberID}`
)
) {
return interaction.reply({ embeds: [TicketExists] });
@@ -115,7 +115,7 @@ module.exports = new Command({
const Author = interaction.user;
const Everyone = interaction.guild.id;
const ticketChannel = await interaction.guild.channels.create(
`${supportbot.TicketChannel}-${ticketNumberID}`,
`${supportbot.TicketPrefix}${ticketNumberID}`,
{
type: "GUILD_TEXT",
}