C# Class StreamActions.Attributes.BotnameWhisperCommandAttribute

Inheritance: WhisperCommandAttribute
显示文件 Open project: StreamActions/StreamActions

Public Methods

Method Description
BotnameWhisperCommandAttribute ( string command, UserLevels permission ) : StreamActions.Enums

Marks the method as being the whisper handler for a !botname command.

BotnameWhisperCommandAttribute ( string command, string subcommand, UserLevels permission ) : StreamActions.Enums

Marks the method as being the whisper handler for a !botname command subcommand.

Method Details

BotnameWhisperCommandAttribute() public method

Marks the method as being the whisper handler for a !botname command.
public BotnameWhisperCommandAttribute ( string command, UserLevels permission ) : StreamActions.Enums
command string The command to detect.
permission UserLevels The default permission required to use the command.
return StreamActions.Enums

BotnameWhisperCommandAttribute() public method

Marks the method as being the whisper handler for a !botname command subcommand.
public BotnameWhisperCommandAttribute ( string command, string subcommand, UserLevels permission ) : StreamActions.Enums
command string The command to detect.
subcommand string The subcommand to detect.
permission UserLevels The default permission required to use the subcommand.
return StreamActions.Enums