Свойство | Type | Description | |
---|---|---|---|
AddCommand | void | ||
IService | void | ||
OnCommand | void | ||
OnCommandError | void | ||
ShowCommandHelp | System.Threading.Tasks.Task | ||
ShowCommandHelpInternal | void |
Méthode | 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 |
Méthode | 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 | |
Résultat | System |
public CommandService ( Discord.Commands.CommandServiceConfigBuilder builder ) : System | ||
builder | Discord.Commands.CommandServiceConfigBuilder | |
Résultat | System |
public CreateCommand ( string cmd ) : Discord.Commands.CommandBuilder | ||
cmd | string | |
Résultat | Discord.Commands.CommandBuilder |
public CreateGroup ( string cmd, Action |
||
cmd | string | |
config | Action |
|
Résultat | 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 | |
Résultat | System.Threading.Tasks.Task |
public ShowGeneralHelp ( User user, Channel channel, Channel replyChannel = null ) : System.Threading.Tasks.Task | ||
user | User | |
channel | Channel | |
replyChannel | Channel | |
Résultat | System.Threading.Tasks.Task |