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

@@ -2112,6 +2112,10 @@ namespace NadekoBot.Db.Migrations.Mysql
.HasColumnType("bigint unsigned")
.HasColumnName("serverid");
b.Property<int>("Type")
.HasColumnType("int")
.HasColumnName("type");
b.Property<ulong>("UserId")
.HasColumnType("bigint unsigned")
.HasColumnName("userid");