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 1239386 commit 1818490Copy full SHA for 1818490
src/commands/reminders/cancel.ts
@@ -28,7 +28,7 @@ const command: Command = {
28
ephemeral: true,
29
async execute(interaction: CommandInteraction, client: ExtendedClient, Discord: typeof import("discord.js")) {
30
try {
31
- const id = interaction.options.get("id").value;
+ const id = interaction.options.get("id").value as string;
32
33
const reminder = await Reminder.findOne({ reminder_id: id, user: interaction.user.id });
34
0 commit comments