diff --git a/src/Responders/GuildLoadedResponder.cs b/src/Responders/GuildLoadedResponder.cs index bbf4a0a..5d5d68a 100644 --- a/src/Responders/GuildLoadedResponder.cs +++ b/src/Responders/GuildLoadedResponder.cs @@ -64,7 +64,14 @@ public class GuildLoadedResponder : IResponder return await SendDataLoadFailed(guild, data, bot, ct); } - _logger.LogInformation("Loaded guild {ID} (\"{Name}\")", guild.ID, guild.Name); + var ownerResult = await _userApi.GetUserAsync(guild.OwnerID, ct); + if (!ownerResult.IsDefined(out var owner)) + { + return Result.FromError(ownerResult); + } + + _logger.LogInformation("Loaded guild \"{Name}\" ({ID}) owned by {Owner} ({OwnerID}) with {MemberCount} members", + guild.Name, guild.ID, owner.GetTag(), owner.ID, guild.MemberCount); if (!GuildSettings.ReceiveStartupMessages.Get(cfg)) {