/source application command with test

This commit is contained in:
Owen
2024-12-13 23:02:23 +01:00
parent 1c4d0fb8af
commit 5975458407
12 changed files with 233 additions and 162 deletions
+15
View File
@@ -0,0 +1,15 @@
defmodule PlantIdDiscordBot.Application do
use Application
@port Application.compile_env(:plantid_discord_bot, :port)
@impl true
def start(_type, _args) do
children = [
PlantIdDiscordBot
]
opts = [strategy: :one_for_one, name: PlantIdDiscordBot.Supervisor]
Supervisor.start_link(children, opts)
end
end