Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.29 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.29 KB

Crux.Interaction

Library providing DSLs to define application commands for Discord applications / bots, as well as ways to handle incoming interactions (either through webhook [read: plugs] or gateway [read: probably crux_gateway]) and respond to them.

Useful links

Installation

For now crux_interaction can be installbed by adding it as a git dependencies to your mix.exs:

def deps do
  [
    {:crux_interaction, github: "SpaceEEC/crux_interaction"}
  ]
end

Configuration

You can configure the json library crux_interaction use:

config :crux_interaction, :json_library, Jason # That's the default value

Usage

Refer to the moduledocs for examples and API reference. See useful links above for the documentation.