Skip to content

Commit 72dd9fe

Browse files
authored
Merge branch 'main' into feat/english-only-tip
2 parents 065157a + fe873f3 commit 72dd9fe

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

src/commands/tips/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ const slashCommand = createCommand({
5454
}
5555
const tip = subjectChoices.get(subject);
5656
if (!tip) {
57-
await interaction.reply({ content: 'No tip found for that subject.', ephemeral: true });
57+
await interaction.reply({
58+
content: 'No tip found for that subject.',
59+
flags: MessageFlags.Ephemeral,
60+
});
5861
return;
5962
}
6063

@@ -68,7 +71,7 @@ const slashCommand = createCommand({
6871
},
6972
});
7073

71-
await interaction.reply({ content: 'Tip sent!', ephemeral: true });
74+
await interaction.reply({ content: 'Tip sent!', flags: MessageFlags.Ephemeral });
7275
},
7376
});
7477

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Sandbox
3+
---
4+
5+
It would be much easier to help you if we could see (parts) of your code! Try reproducing your issue on one of these sites, save and then link it here:
6+
7+
- <https://codepen.io/> - requires account
8+
- <https://codesandbox.io/>
9+
- <https://repl.it/>
10+
- <https://ideone.com/>
11+
- <https://jsfiddle.net/>
12+
13+
Sometimes trying to recreate a problem outside of your project already helps you track down the issue on your own.

0 commit comments

Comments
 (0)