We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ccf347 commit fe873f3Copy full SHA for fe873f3
‎src/commands/tips/index.ts‎
@@ -54,7 +54,10 @@ const slashCommand = createCommand({
54
}
55
const tip = subjectChoices.get(subject);
56
if (!tip) {
57
- await interaction.reply({ content: 'No tip found for that subject.', ephemeral: true });
+ await interaction.reply({
58
+ content: 'No tip found for that subject.',
59
+ flags: MessageFlags.Ephemeral,
60
+ });
61
return;
62
63
@@ -68,7 +71,7 @@ const slashCommand = createCommand({
68
71
},
69
72
});
70
73
- await interaction.reply({ content: 'Tip sent!', ephemeral: true });
74
+ await interaction.reply({ content: 'Tip sent!', flags: MessageFlags.Ephemeral });
75
76
77
0 commit comments