We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a12410f commit e00f6d9Copy full SHA for e00f6d9
1 file changed
src/commands/aoc.ts
@@ -134,7 +134,7 @@ export async function publishAocLeaderBoard(context: BotContext) {
134
const channel = targetChannel as discord.ThreadChannel;
135
const leaderBoard = await getLeaderBoard(aocConfig.leaderBoardJsonUrl, aocConfig.sessionToken);
136
const embed = createEmbedFromLeaderBoard(aocConfig.userMap, leaderBoard, "local_score");
137
- return channel.send({ embeds: [embed] });
+ await channel.send({ embeds: [embed] });
138
}
139
140
export default class AoCCommand implements ApplicationCommand {
0 commit comments