Skip to content

Commit

Permalink
fix: ticket close DM
Browse files Browse the repository at this point in the history
  • Loading branch information
eartharoid committed May 29, 2023
1 parent 6f227f2 commit 6f36ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/tickets/manager.js
Expand Up @@ -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(),
Expand Down

0 comments on commit 6f36ef9

Please sign in to comment.