Skip to content

Commit

Permalink
feat(PollService): add ephemeral flag for replies
Browse files Browse the repository at this point in the history
  • Loading branch information
lulu12329 committed Feb 26, 2024
1 parent 60c00df commit 1f9b919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/poll/service/poll.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class PollService {
if (data.upMembers.includes(interaction.user.id)) {
return await interaction.reply({
content: `${interaction.user} you already voted for this`,
// ephemeral: true,
ephemeral: true,
});
}
if (data.downMembers.includes(interaction.user.id)) {
Expand All @@ -111,7 +111,7 @@ export class PollService {
if (data.downMembers.includes(interaction.user.id)) {
return await interaction.reply({
content: `${interaction.user} you already voted for this`,
// ephemeral: true,
ephemeral: true,
});
}
if (data.upMembers.includes(interaction.user.id)) {
Expand Down

0 comments on commit 1f9b919

Please sign in to comment.