Packages
bgg_loggee
0.1.0
A tool to interact with your board game collection and plays in Board Game Geek
Current section
Files
Jump to
Current section
Files
lib/application.ex
defmodule Loggee.Application do
use Application
def start(_type, _args) do
children = [
ExGram,
{Loggee.Bot, [method: :polling, token: Application.get_env(:ex_gram, :token)]}
]
opts = [strategy: :one_for_one, name: Loggee.Supervisor]
Supervisor.start_link(children, opts)
end
end