abstract class Command

Direct Known Subclasses

Defined in:

groogy-bot/command.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(command : String, pattern : Regex, documentation : String) #

[View source]

Instance Method Detail

def apply(bot, client) #

[View source]
def command : String #

[View source]
def documentation : String #

[View source]
abstract def execute(bot, client, msg, match) #

[View source]
def has_permission?(msg) #

[View source]
def pattern : Regex #

[View source]