im a dumbass
This commit is contained in:
parent
4a2d05ceb6
commit
5d66c55b5b
1 changed files with 9 additions and 6 deletions
|
@ -38,9 +38,11 @@ const remind: Command = {
|
|||
|
||||
const when = parse(whenOption.value);
|
||||
if (when === null) {
|
||||
await interaction.createMessage(
|
||||
"I didn't understand that time. Try something like `3h` or `2 days`."
|
||||
);
|
||||
await interaction.createMessage({
|
||||
content:
|
||||
"I didn't understand that time. Try something like `3h` or `2 days`.",
|
||||
flags: Constants.MessageFlags.EPHEMERAL
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -55,9 +57,10 @@ const remind: Command = {
|
|||
}
|
||||
});
|
||||
|
||||
await interaction.createMessage(
|
||||
`Reminder set <t:${Math.floor(sendAt.getTime() / 1000)}:R>.`
|
||||
);
|
||||
await interaction.createMessage({
|
||||
content: `Reminder set <t:${Math.floor(sendAt.getTime() / 1000)}:R>.`,
|
||||
flags: Constants.MessageFlags.EPHEMERAL
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue