Permission indexes are now correct

This commit is contained in:
Kwoth 2017-03-09 17:51:31 +01:00
parent 19b718219b
commit 233beee36c

View File

@ -224,7 +224,7 @@ namespace NadekoBot.Modules.Permissions
.Select(p =>
{
var str =
$"`{p.Index + startPos + 1}.` {Format.Bold(p.GetCommand((SocketGuild) Context.Guild))}";
$"`{p.Index + 1}.` {Format.Bold(p.GetCommand((SocketGuild) Context.Guild))}";
if (p.Index == 0)
str += $" [{GetText("uneditable")}]";
return str;