Skip to content

Thor like handlers for simple command bots #6

@Virviil

Description

@Virviil
%Agala.Thor.Command{
  command: string,
  payload: Map.t
}

If this structure comes from previous chain, it can be pushed to Thor like handler:

defmodule Handler
  use Agala.Thor

  @desc "my method"
  def my_method() do
    :something
  end
end

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions