abstract class Hisho::Command

Direct Known Subclasses

Defined in:

core/commands/abstract_command.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : Symbol, message : String) #

[View source]

Instance Method Detail

abstract def display #

[View source]
abstract def execute(conversation : Conversation, chat_client : ChatClient, file : File) : Command #

[View source]
def message : String #

[View source]
def message=(message : String) #

[View source]
def type : Symbol #

[View source]
def type=(type : Symbol) #

[View source]