fix: ticket close DM

This commit is contained in:
Isaac 2023-05-29 18:41:59 +01:00
parent 6f227f2f48
commit 6f36ef9204
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -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(),