C# 클래스 qtbot.CommandPlugin.CommandsPlugin

파일 보기 프로젝트 열기: stepperman/HB-Discord-Bot 1 사용 예제들

공개 메소드들

메소드 설명
CommandsPlugin ( DiscordSocketClient client, Func getPermissions = null, char commandChar = '/' ) : System
CreateCommand ( string cmd ) : CommandBuilder
CreateCommandGroup ( string cmd, Action config = null ) : void

비공개 메소드들

메소드 설명
AddCommand ( Command command ) : void
RaiseCommandError ( CommandArgs args, Exception ex ) : void
RaiseRanCommand ( CommandArgs args ) : void
RaiseUnknownCommand ( CommandArgs args ) : void

메소드 상세

CommandsPlugin() 공개 메소드

public CommandsPlugin ( DiscordSocketClient client, Func getPermissions = null, char commandChar = '/' ) : System
client DiscordSocketClient
getPermissions Func
commandChar char
리턴 System

CreateCommand() 공개 메소드

public CreateCommand ( string cmd ) : CommandBuilder
cmd string
리턴 CommandBuilder

CreateCommandGroup() 공개 메소드

public CreateCommandGroup ( string cmd, Action config = null ) : void
cmd string
config Action
리턴 void