Packages

A command handler for the Nostrum discord API wrapper

Retired package: Deprecated - Dead library

Current section

Files

Jump to
cadet lib cadet supervisor.ex
Raw

lib/cadet/supervisor.ex

defmodule Cadet.Supervisor do
use Supervisor
def start_link(_args) do
Supervisor.start_link(__MODULE__, [], name: __MODULE__)
end
@impl true
def init(_args) do
children = [
Cadet.Supervisor
]
opts = [strategy: :one_for_one, name: __MODULE__]
Supervisor.init(children, opts)
end
end