Inrole string fix

This commit is contained in:
Kwoth
2021-12-17 15:59:18 +01:00
parent 83daf3c30f
commit 4c1b911cb7
2 changed files with 3 additions and 3 deletions

View File

@@ -122,9 +122,9 @@ namespace NadekoBot.Modules.Utility
if (pageUsers.Count == 0)
return _eb.Create().WithOkColor().WithDescription(GetText(strs.no_user_on_this_page));
return _eb.Create().WithOkColor()
.WithTitle(GetText(strs.inrole_list(Format.Bold(role?.Name ?? "No Role") + $" - {roleUsers.Length}")))
.WithTitle(GetText(strs.inrole_list(Format.Bold(role?.Name ?? "No Role"), roleUsers.Length)))
.WithDescription(string.Join("\n", pageUsers));
}, roleUsers.Length, 20).ConfigureAwait(false);
}