mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
* 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`
15 lines
341 B
C#
15 lines
341 B
C#
#nullable disable
|
|
using NadekoBot.Services.Database.Models;
|
|
|
|
namespace NadekoBot.Modules.Utility.Services;
|
|
|
|
public interface IRemindService
|
|
{
|
|
Task AddReminderAsync(ulong userId,
|
|
ulong targetId,
|
|
ulong? guildId,
|
|
bool isPrivate,
|
|
DateTime time,
|
|
string message,
|
|
ReminderType reminderType);
|
|
} |