Commandable
public protocol Commandable
Command Interface
-
The name of this command
Declaration
Swift
var name: String -
Set of command options
Declaration
Swift
var options: CommandOptions -
The actual function called when someone does a command
Declaration
Swift
func execute(_ msg: Message, _ args: [String])
View on GitHub
Commandable Protocol Reference