Crux.Gateway

Package providing a flexible gateway connection to the Discord API.

Useful links

Installation

The package can be installed by adding crux_gateway to your list of dependencies in mix.exs:

def deps do
  [
    {:crux_gateway, "~> 0.1.1"}
  ]
end

Usage

For example:

  iex> Crux.Gateway.start(%{
  ...>   token: "your token goes, for example, here",
  ...>   url: "wss://discord.gg",
  ...>   shard_count: 1
  ...> })