Skip to content

Commit

Permalink
fix issue with wrong id being displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev committed Apr 15, 2024
1 parent c727d95 commit 97e1251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/reminders/reminders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const command: Command = {
const list = new Discord.EmbedBuilder()
.setColor(client.config_embeds.default)
.setTitle("Your Reminders")
.setDescription(cap(reminders.map(r => `\`${r.id}\` (<t:${r.due.toString().slice(0, -3)}:R>):\n*${!fullReasons ? cap(r.reason, 100): r.reason}*`).join("\n"), 4000))
.setDescription(cap(reminders.map(r => `\`${r.reminder_id}\` (<t:${r.due.toString().slice(0, -3)}:R>):\n*${!fullReasons ? cap(r.reason, 100): r.reason}*`).join("\n"), 4000))

await interaction.editReply({ embeds: [list] });
} catch(err) {
Expand Down

0 comments on commit 97e1251

Please sign in to comment.