nosedrum

nosedrum is a command framework for use with the excellent nostrum library.

It contains behaviour specifications for easily implementing command handling in your bot along with other conveniences to ease creating an interactive bot.

The command processing related parts of the framework consists of three parts:

Additionally, the following utilities are provided:

nosedrums provided implementations are largely based off what was originally written for bolt. bolt also contains around 59 commands based off the Nosedrum.Command behaviour that you can explore if you're looking for inspiration.

The documentation can be found at https://hexdocs.pm/nosedrum.

Installation

Simply add :nosedrum to your mix.exs:

def deps do
  [
    {:nosedrum, "~> 0.2"},
  ]
end

If you want to install the GitHub version of Nostrum, you will need to specify it with override: true in your mix.exs, for example:

def deps do
  [
    {:nosedrum, "~> 0.2"},
    {:nostrum, github: "Kraigie/nostrum", override: true}
  ]
end