class Drigger::Adapters::Discord::LoadedModule

Defined in:

drigger/adapters/discord/loaded_module.cr

Constructors

Instance Method Summary

Instance methods inherited from class Drigger::LoadedModule

call(context : Drigger::Context, *args) call, contents : String contents, file_path : String | Path file_path, handler : Lua::Function handler

Constructor methods inherited from class Drigger::LoadedModule

new(file_path : Path | String, contents : String, handler : Lua::Function) new

Constructor Detail

def self.new(file_path, contents, description : String, params : Array(Drigger::Adapters::Discord::Param), handler) #

[View source]

Instance Method Detail

def description : String #

[View source]
def params : Array(Drigger::Adapters::Discord::Param) #

[View source]
def params=(params : Array(Drigger::Adapters::Discord::Param)) #

[View source]