diff --git a/src/util.ts b/src/util.ts index bf97c20..47d826f 100644 --- a/src/util.ts +++ b/src/util.ts @@ -30,9 +30,9 @@ export function ordinal(number: number): string { return (number + suffix); } -export async function sendEventLogMessage(guild: Guild, originId: string | null, embed: EmbedBuilder, content?: string): Promise { - const blacklistedIds = getDBList('channels.event-logs.blacklist'); - if (originId && blacklistedIds.includes(originId)) { +export async function sendEventLogMessage(guild: Guild, originID: string | null, embed: EmbedBuilder, content?: string): Promise { + const blacklistedIDs = getDBList('channels.event-logs.blacklist'); + if (originID && blacklistedIDs.includes(originID)) { return null; } @@ -45,9 +45,9 @@ export async function sendEventLogMessage(guild: Guild, originId: string | null, return logChannel.send({ content, embeds: [embed] }); } -export async function sendModLogMessage(guild: Guild, originId: string | null, embed: EmbedBuilder, content?: string): Promise { - const blacklistedIds = getDBList('channels.event-logs.blacklist'); - if (originId && blacklistedIds.includes(originId)) { +export async function sendModLogMessage(guild: Guild, originID: string | null, embed: EmbedBuilder, content?: string): Promise { + const blacklistedIDs = getDBList('channels.event-logs.blacklist'); + if (originID && blacklistedIDs.includes(originID)) { return null; }