From 6f36ef9204879538d479d4225edee4ba38557da6 Mon Sep 17 00:00:00 2001 From: Isaac Date: Mon, 29 May 2023 18:41:59 +0100 Subject: [PATCH] fix: ticket close DM --- src/lib/tickets/manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/tickets/manager.js b/src/lib/tickets/manager.js index 4eca9b0..ca2c900 100644 --- a/src/lib/tickets/manager.js +++ b/src/lib/tickets/manager.js @@ -1218,7 +1218,7 @@ module.exports = class TicketManager { } try { - const creator = channel?.guild.members.cache.has(ticket.createdById); + const creator = channel?.guild.members.cache.get(ticket.createdById); if (creator) { const embed = new ExtendedEmbedBuilder({ iconURL: channel.guild.iconURL(),