diff --git a/server/commands/closepoll.ts b/server/commands/closepoll.ts index 66c3beb..fa3be24 100644 --- a/server/commands/closepoll.ts +++ b/server/commands/closepoll.ts @@ -35,6 +35,7 @@ export async function closePoll(guild: Guild, requestId: string) { if(!channels || channels.length != 1) { logger.error(`Could not find announcement channel. Found ${channels}`) + return } const announcementChannel = channels[0]