diff --git a/packages/bot/src/commands/calendar.ts b/packages/bot/src/commands/calendar.ts index 9ad6ef6..35d137d 100644 --- a/packages/bot/src/commands/calendar.ts +++ b/packages/bot/src/commands/calendar.ts @@ -6,6 +6,8 @@ import { } from "@discordjs/builders"; import * as api from "api"; import { + APIActionRowComponent, + APIButtonComponent, APIGuildScheduledEvent, ButtonStyle, GuildScheduledEventEntityType, @@ -275,7 +277,7 @@ export const pwhlScheduleCallback: ChatInputAppCommandCallback = async ( // }) .toJSON(); - let components; + let components: APIActionRowComponent[] = []; if (games.length > 0) { components = [ new ActionRowBuilder()