Skip to content

Commit

Permalink
fix: ephemeral first-time-praise message
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyvy-vi committed Aug 2, 2022
1 parent 4fa2379 commit 7cf4957
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/discord-bot/src/handlers/praise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,10 @@ export const praiseHandler: CommandHandler = async (
}

if (praiseItemsCount === 0) {
await msg.reply(await firstTimePraiserInfo());
await interaction.followUp({
content: await firstTimePraiserInfo(),
ephemeral: true,
});
}

return;
Expand Down

0 comments on commit 7cf4957

Please sign in to comment.