Skip to content

Commit 1818490

Browse files
committed
Update cancel.ts
1 parent 1239386 commit 1818490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/reminders/cancel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const command: Command = {
2828
ephemeral: true,
2929
async execute(interaction: CommandInteraction, client: ExtendedClient, Discord: typeof import("discord.js")) {
3030
try {
31-
const id = interaction.options.get("id").value;
31+
const id = interaction.options.get("id").value as string;
3232

3333
const reminder = await Reminder.findOne({ reminder_id: id, user: interaction.user.id });
3434

0 commit comments

Comments
 (0)