Skip to content

Commit

Permalink
chore: correct naming for ID variables
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewL246 committed Aug 7, 2024
1 parent f83bfdd commit 313701f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Message | null> {
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<Message | null> {
const blacklistedIDs = getDBList('channels.event-logs.blacklist');
if (originID && blacklistedIDs.includes(originID)) {
return null;
}

Expand All @@ -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<Message | null> {
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<Message | null> {
const blacklistedIDs = getDBList('channels.event-logs.blacklist');
if (originID && blacklistedIDs.includes(originID)) {
return null;
}

Expand Down

0 comments on commit 313701f

Please sign in to comment.