feat(moderation): add additional channel to skip in message capture logic
This commit is contained in:
@@ -39,5 +39,12 @@ describe("shouldCaptureMessageLocation", () => {
|
||||
{ guildId: "guild-1" },
|
||||
),
|
||||
).toBe(false);
|
||||
|
||||
expect(
|
||||
shouldCaptureMessageLocation(
|
||||
{ guildId: "guild-1", channelId: "1310867899745046558" },
|
||||
{ guildId: "guild-1" },
|
||||
),
|
||||
).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user