mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-19 16:33:36 +03:00
wait what if i just
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
dd4a06ef63
commit
81f68ee3fc
1 changed files with 2 additions and 12 deletions
|
@ -273,12 +273,7 @@ public class RemindCommandGroup : CommandGroup
|
|||
var oldReminder = data.Reminders[index];
|
||||
var remindAt = DateTimeOffset.UtcNow.Add(timeSpan);
|
||||
|
||||
data.Reminders.Add(
|
||||
oldReminder with
|
||||
{
|
||||
At = remindAt
|
||||
});
|
||||
|
||||
data.Reminders.Add(oldReminder with { At = remindAt });
|
||||
data.Reminders.RemoveAt(index);
|
||||
|
||||
var builder = new StringBuilder()
|
||||
|
@ -308,12 +303,7 @@ public class RemindCommandGroup : CommandGroup
|
|||
|
||||
var oldReminder = data.Reminders[index];
|
||||
|
||||
data.Reminders.Add(
|
||||
oldReminder with
|
||||
{
|
||||
Text = value
|
||||
});
|
||||
|
||||
data.Reminders.Add(oldReminder with { Text = value });
|
||||
data.Reminders.RemoveAt(index);
|
||||
|
||||
var builder = new StringBuilder()
|
||||
|
|
Loading…
Add table
Reference in a new issue