Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- defmodule NiceBot.Application do
- use Application
- def start(_type, _args) do
- token = "378322483:AAFdz_7lJt69S5HO7ep2GgBqTc36AIo3Ouc"
- children = [
- ExGram,
- {NiceBot.Bot, [method: :polling, token: token]}
- ]
- opts = [strategy: :one_for_one, name: NiceBot.Supervisor]
- Supervisor.start_link(children, opts)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement