Add timely reminder button*

* Add a check in Timely command that removes the reminder button if there already is a timely reminder in DB.
* Add ReminderType in db/models. As well as migrations.
* Set Normal reminders to be of `ReminderType.User`, and Timely reminders to be of `ReminderType.Timely`
This commit is contained in:
Cata
2023-08-20 13:28:16 +00:00
committed by Kwoth
parent 3c3d082112
commit cdf9adc8a4
15 changed files with 10478 additions and 19 deletions

View File

@@ -1,4 +1,6 @@
#nullable disable
using NadekoBot.Services.Database.Models;
namespace NadekoBot.Modules.Utility.Services;
public interface IRemindService
@@ -8,5 +10,6 @@ public interface IRemindService
ulong? guildId,
bool isPrivate,
DateTime time,
string message);
string message,
ReminderType reminderType);
}