mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-17 09:23:07 +02:00
fix: ticket close DM
This commit is contained in:
parent
6f227f2f48
commit
6f36ef9204
@ -1218,7 +1218,7 @@ module.exports = class TicketManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const creator = channel?.guild.members.cache.has(ticket.createdById);
|
const creator = channel?.guild.members.cache.get(ticket.createdById);
|
||||||
if (creator) {
|
if (creator) {
|
||||||
const embed = new ExtendedEmbedBuilder({
|
const embed = new ExtendedEmbedBuilder({
|
||||||
iconURL: channel.guild.iconURL(),
|
iconURL: channel.guild.iconURL(),
|
||||||
|
Loading…
Reference in New Issue
Block a user