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);
}

View File

@@ -556,7 +556,7 @@
"error": "Error",
"features": "Features",
"index_out_of_range": "Index out of range.",
"inrole_list": "List of users in {0} role",
"inrole_list": "List of users in {0} role ({1})",
"joined_discord": "Joined Discord",
"joined_server": "Joined server",
"listservers": "ID: {0}\nMembers: {1}\nOwner ID: {2}",