Display error if help is activated on a group the user is denied access to.

This commit is contained in:
RogueException
2015-11-09 21:03:26 -04:00
parent abc24cde5c
commit 2abe8b4d80

View File

@@ -235,6 +235,9 @@ After:
output.Append('`');
}
if (isFirst)
output.Append("There are no subcommands you have permission to run.");
return _client.SendMessage(replyChannel ?? channel, output.ToString());
}
public Task ShowCommandHelp(Command command, User user, Channel channel, Channel replyChannel = null)