change: added role icon to .inrole, .winlb will now show userids when user can't be found

This commit is contained in:
Kwoth
2024-12-10 14:16:24 +00:00
parent d4e2516a17
commit f8fbc71985
2 changed files with 4 additions and 1 deletions

View File

@@ -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();