1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-14 01:36:08 +03:00

fix: handle guild data load errors better

This commit is contained in:
Octol1ttle 2023-10-26 18:38:19 +05:00
parent 02707312f5
commit 67a289a2d6
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
8 changed files with 140 additions and 27 deletions

View file

@ -30,7 +30,7 @@ public class GuildUnloadedResponder : IResponder<IGuildDelete>
var isDataRemoved = _guildData.UnloadGuildData(guildId);
if (isDataRemoved)
{
_logger.LogInformation("Left guild {GuildId}", guildId);
_logger.LogInformation("Unloaded guild {GuildId}", guildId);
}
return Task.FromResult(Result.FromSuccess());