Permission indexes are now correct
This commit is contained in:
parent
19b718219b
commit
233beee36c
@ -224,7 +224,7 @@ namespace NadekoBot.Modules.Permissions
|
|||||||
.Select(p =>
|
.Select(p =>
|
||||||
{
|
{
|
||||||
var str =
|
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)
|
if (p.Index == 0)
|
||||||
str += $" [{GetText("uneditable")}]";
|
str += $" [{GetText("uneditable")}]";
|
||||||
return str;
|
return str;
|
||||||
|
Loading…
Reference in New Issue
Block a user