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 b346e60 commit 4456e15Copy full SHA for 4456e15
src/commands/reminders/remindme.ts
@@ -101,6 +101,7 @@ const command: Command = {
101
user: interaction.user.id,
102
channel: interaction.channel?.id ? interaction.channel?.id : null,
103
delay: time,
104
+ reminder_due: (Date.now() + time).toString(),
105
reason: reason,
106
send_in_channel: sendInChannel
107
}).save()
src/models/Reminder.ts
@@ -69,8 +69,7 @@ const reminderSchema = new Schema<Reminder>(
69
},
70
reminder_due: {
71
type: String,
72
- required: true,
73
- default: (Date.now() + (3600 * 1000)).toString
+ required: true
74
75
reason: {
76
0 commit comments