fix reminder message
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Failing after 42s
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Failing after 42s
This commit is contained in:
parent
cb35182c6a
commit
821190a144
@ -73,7 +73,7 @@ public class SetSubCommand extends BatSubCommand {
|
|||||||
Reminder reminder = profile.addReminder(user.getDiscordUser(), event.getChannel().asTextChannel(), reminderText, new Date(System.currentTimeMillis() + time));
|
Reminder reminder = profile.addReminder(user.getDiscordUser(), event.getChannel().asTextChannel(), reminderText, new Date(System.currentTimeMillis() + time));
|
||||||
|
|
||||||
event.replyEmbeds(EmbedUtils.successEmbed()
|
event.replyEmbeds(EmbedUtils.successEmbed()
|
||||||
.setDescription("Reminder for `%s` set, you will be reminded in <t:%s:R>".formatted(reminderText,
|
.setDescription("Reminder for `%s` set, you will be reminded <t:%s:R>".formatted(reminderText,
|
||||||
reminder.getEndDate().toInstant().getEpochSecond()))
|
reminder.getEndDate().toInstant().getEpochSecond()))
|
||||||
.build()).queue();
|
.build()).queue();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user