feat: shard status update, delete old messages when they expire
This commit is contained in:
parent
8e030acaf3
commit
32732d74d0
9 changed files with 302 additions and 17 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue