Skip to content

Commit

Permalink
Fix #58
Browse files Browse the repository at this point in the history
  • Loading branch information
saiteja-madha committed Dec 3, 2021
1 parent e2be291 commit c4f163a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/admin/ticket/ticket.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ module.exports = class Ticket extends Command {
if (args.length < 2) return message.reply("Please provide a channel where ticket logs must be sent");
const target = getMatchingChannel(message.guild, args[1]);
if (target.length === 0) return message.reply("Could not find any matching channel");
response = await setupLogChannel(message, target);
response = await setupLogChannel(message, target[0]);
}

// Set limit
Expand Down

0 comments on commit c4f163a

Please sign in to comment.