Packages

Xhawn is a Discord voice and text channel bot that fetches memes from Reddit when prompted and plays your theme song when you entering voice channel - so everyone knows what the score is..

Current section

Files

Jump to
xhawn_bot lib supervisor.ex
Raw

lib/supervisor.ex

defmodule Xhawn.Supervisor do
use Supervisor
def start_link(args) do
Supervisor.start_link(__MODULE__, args, name: __MODULE__)
end
@impl true
def init(_init_arg) do
children = [Xhawn.Consumer]
Supervisor.init(children, strategy: :one_for_one)
end
end