remind me interaction on .timely should now work correctly

This commit is contained in:
Kwoth
2022-07-06 03:00:53 +02:00
parent fd25f5bf45
commit 5fac500dcf

View File

@@ -193,11 +193,12 @@ public class RemindService : INService, IReadyExecutor
ServerId = guildId ?? 0, ServerId = guildId ?? 0,
IsPrivate = isPrivate, IsPrivate = isPrivate,
When = time, When = time,
Message = message, Message = message,
}; };
await using var ctx = _db.GetDbContext(); await using var ctx = _db.GetDbContext();
await ctx.Reminders await ctx.Reminders
.AddAsync(rem); .AddAsync(rem);
await ctx.SaveChangesAsync();
} }
} }