Message when there is no toPerm too
This commit is contained in:
parent
4d1bc01718
commit
0a8f998b32
@ -172,6 +172,12 @@ namespace NadekoBot.Modules.Permissions
|
||||
await channel.SendMessageAsync($"`Can't find permission at index `#{++from}`").ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!toFound)
|
||||
{
|
||||
await channel.SendMessageAsync($"`Can't find permission at index `#{++to}`").ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
//Change chain for from indx
|
||||
|
Loading…
Reference in New Issue
Block a user