Discord.Commands.CommandService.ShowCommandHelp C# (CSharp) Method

ShowCommandHelp() public method

public ShowCommandHelp ( Discord.Commands.Command command, User user, Channel channel, Channel replyChannel = null ) : System.Threading.Tasks.Task
command Discord.Commands.Command
user User
channel Channel
replyChannel Channel
return System.Threading.Tasks.Task
		public Task ShowCommandHelp(Command command, User user, Channel channel, Channel replyChannel = null)
		{
			StringBuilder output = new StringBuilder();
			string error;
			if (!command.CanRun(user, channel, out error))
				output.AppendLine(error ?? "You do not have permission to access this command.");
			else
				ShowCommandHelpInternal(command, user, channel, output);
            return (replyChannel ?? channel).SendMessage(output.ToString());
		}
		private void ShowCommandHelpInternal(Command command, User user, Channel channel, StringBuilder output)

Same methods

CommandService::ShowCommandHelp ( Discord.Commands.CommandMap map, User user, Channel channel, Channel replyChannel = null ) : System.Threading.Tasks.Task