Property | Type | Description | |
---|---|---|---|
AddCommand | void | ||
IService | void | ||
OnCommand | void | ||
OnCommandError | void | ||
ShowCommandHelp | System.Threading.Tasks.Task | ||
ShowCommandHelpInternal | void |
Method | Description | |
---|---|---|
CommandService ( ) : System | ||
CommandService ( Discord.Commands.CommandServiceConfig config ) : System | ||
CommandService ( Discord.Commands.CommandServiceConfigBuilder builder ) : System | ||
CreateCommand ( string cmd ) : Discord.Commands.CommandBuilder | ||
CreateGroup ( string cmd, Action |
||
ShowCommandHelp ( Discord.Commands.Command command, User user, Channel channel, Channel replyChannel = null ) : System.Threading.Tasks.Task | ||
ShowGeneralHelp ( User user, Channel channel, Channel replyChannel = null ) : System.Threading.Tasks.Task |
Method | Description | |
---|---|---|
AddCommand ( Discord.Commands.Command command ) : void | ||
IService ( DiscordClient client ) : void | ||
OnCommand ( Discord.Commands.CommandEventArgs args ) : void | ||
OnCommandError ( CommandErrorType errorType, Discord.Commands.CommandEventArgs args, |
||
ShowCommandHelp ( Discord.Commands.CommandMap map, User user, Channel channel, Channel replyChannel = null ) : System.Threading.Tasks.Task | ||
ShowCommandHelpInternal ( Discord.Commands.Command command, User user, Channel channel, StringBuilder output ) : void |
public CommandService ( Discord.Commands.CommandServiceConfig config ) : System | ||
config | Discord.Commands.CommandServiceConfig | |
return | System |
public CommandService ( Discord.Commands.CommandServiceConfigBuilder builder ) : System | ||
builder | Discord.Commands.CommandServiceConfigBuilder | |
return | System |
public CreateCommand ( string cmd ) : Discord.Commands.CommandBuilder | ||
cmd | string | |
return | Discord.Commands.CommandBuilder |
public CreateGroup ( string cmd, Action |
||
cmd | string | |
config | Action |
|
return | void |
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 ShowGeneralHelp ( User user, Channel channel, Channel replyChannel = null ) : System.Threading.Tasks.Task | ||
user | User | |
channel | Channel | |
replyChannel | Channel | |
return | System.Threading.Tasks.Task |