diff --git a/src/util.ts b/src/util.ts index 291d46a..ea3f2bd 100644 --- a/src/util.ts +++ b/src/util.ts @@ -19,9 +19,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; } @@ -34,9 +34,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; }