C# Класс StreamActions.Attributes.WhisperCommandAttribute

Наследование: StreamActions.Attributes.CommandAttribute
Показать файл Открыть проект

Открытые методы

Метод Описание
WhisperCommandAttribute ( string command, UserLevels permission ) : StreamActions.Enums

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

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

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

Описание методов

WhisperCommandAttribute() публичный Метод

Marks the method as being the whisper handler for a !command.
public WhisperCommandAttribute ( string command, UserLevels permission ) : StreamActions.Enums
command string The command to detect.
permission UserLevels The default permission required to use the command.
Результат StreamActions.Enums

WhisperCommandAttribute() публичный Метод

Marks the method as being the whisper handler for a !command subcommand.
public WhisperCommandAttribute ( 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.
Результат StreamActions.Enums