diff --git a/src/functions/fetchMessages.ts b/src/functions/fetchMessages.ts index d5485207..49804d19 100644 --- a/src/functions/fetchMessages.ts +++ b/src/functions/fetchMessages.ts @@ -66,7 +66,7 @@ async function getNeedDataFromMessage(message: Message, threadInfo?: threadInfo) channelName: threadInfo?.channelName ? threadInfo?.channelName : '', threadId: threadInfo?.threadId ? threadInfo?.threadId : null, threadName: threadInfo?.threadName ? threadInfo?.threadName : null, - // isGeneratedByWebhook: message.webhookId ? true : false + isGeneratedByWebhook: message.webhookId ? true : false }; } else { return { @@ -83,7 +83,7 @@ async function getNeedDataFromMessage(message: Message, threadInfo?: threadInfo) channelName: message.channel instanceof TextChannel ? message.channel.name : null, threadId: null, threadName: null, - // isGeneratedByWebhook: message.webhookId ? true : false + isGeneratedByWebhook: message.webhookId ? true : false }; } }