Skip to content

Commit e00f6d9

Browse files
committed
Fix type error
1 parent a12410f commit e00f6d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/aoc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export async function publishAocLeaderBoard(context: BotContext) {
134134
const channel = targetChannel as discord.ThreadChannel;
135135
const leaderBoard = await getLeaderBoard(aocConfig.leaderBoardJsonUrl, aocConfig.sessionToken);
136136
const embed = createEmbedFromLeaderBoard(aocConfig.userMap, leaderBoard, "local_score");
137-
return channel.send({ embeds: [embed] });
137+
await channel.send({ embeds: [embed] });
138138
}
139139

140140
export default class AoCCommand implements ApplicationCommand {

0 commit comments

Comments
 (0)