Пример #1
0
        public async Task AddReminderTimespan(int id, TimeSpan ts)
        {
            var reminder = _reminderService.GetReminder(Context.Guild.Id, id);

            if (reminder != null)
            {
                reminder.AddTimeSpan(ts);
                _reminderService.UpdateReminder(reminder);

                await GetReminderById(id);
            }
            else
            {
                await ReplyAsync("I couldn't find a reminder by that ID.");
            }
        }