diff --git a/src/NadekoBot/Modules/Gambling/BetStatsCommands.cs b/src/NadekoBot/Modules/Gambling/BetStatsCommands.cs index 0d641765f..738d1a45d 100644 --- a/src/NadekoBot/Modules/Gambling/BetStatsCommands.cs +++ b/src/NadekoBot/Modules/Gambling/BetStatsCommands.cs @@ -149,6 +149,9 @@ public partial class Gambling ?? (await _userService.GetUserAsync(x.UserId))?.Username ?? x.UserId.ToString(); + if (user.StartsWith("??")) + user = x.UserId.ToString(); + outputItems.Add(new WinLbStat(i + 1 + (page * 10), user, x.Game, x.MaxWin)); } diff --git a/src/NadekoBot/Modules/Utility/Utility.cs b/src/NadekoBot/Modules/Utility/Utility.cs index 0ad02cceb..beb3488aa 100644 --- a/src/NadekoBot/Modules/Utility/Utility.cs +++ b/src/NadekoBot/Modules/Utility/Utility.cs @@ -186,7 +186,7 @@ public partial class Utility : NadekoModule return CreateEmbed() .WithOkColor() - .WithTitle(GetText(strs.inrole_list(roleName, roleUsers.Count))) + .WithTitle(GetText(strs.inrole_list(role?.GetIconUrl() + roleName, roleUsers.Count))) .WithDescription(string.Join("\n", pageUsers)); }) .SendAsync();