Skip to content

Commit ed71854

Browse files
author
xyzjesper
committed
fix(logging): Message Create will trigger if Integrations is set.
1 parent a890a48 commit ed71854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/logging/events/auditlogMessageCreate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default {
4242
}
4343
});
4444

45-
if (!loggingData?.Integration) return;
45+
if (!loggingData?.Message) return;
4646

4747
const webhook = new WebhookClient({url: loggingData.Integration});
4848

0 commit comments

Comments
 (0)