mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
remind me interaction on .timely should now work correctly
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user