You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- var result = await _commands.ExecuteAsync(context, argPos, _services);
- if (result.CommandError != null)
- switch(result.CommandError)
- {
- case CommandError.BadArgCount:
- await context.Channel.SendMessageAsync("Parameter count does not match any command's.");
- break;
- default:
- await context.Channel.SendMessageAsync($"An error has occurred {result.ErrorReason}");
- break;
- }
|