feat: shard status update, delete old messages when they expire

This commit is contained in:
sam 2024-10-13 17:08:32 +02:00
parent 8e030acaf3
commit 32732d74d0
9 changed files with 302 additions and 17 deletions

View file

@ -93,6 +93,8 @@ public class GuildCreateResponder(
return Task.FromResult(Result.Success);
}
guildCache.Remove(evt.ID, out _);
if (!guildCache.TryGet(evt.ID, out var guild))
{
_logger.Information("Left uncached guild {GuildId}", evt.ID);