mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-23 04:26:57 +00:00
18 lines
576 B
Elixir
18 lines
576 B
Elixir
import Config
|
|
|
|
config :plantid_discord_bot,
|
|
start_time: DateTime.utc_now(),
|
|
guild_ids: [],
|
|
api: Nostrum.Api,
|
|
plantnet_api_key: System.get_env("PLANTNET_API_KEY"),
|
|
fileserver_url: System.get_env("PLANTID_FILESERVER_URL", "http://localhost:4321"),
|
|
metrics_webhook_url: System.get_env("PLANTID_LOGS_DISCORD_WEBHOOK_URL")
|
|
|
|
config :nostrum,
|
|
token: System.get_env("PLANTID_DISCORD_BOT_TOKEN")
|
|
|
|
config :logger, :webhook_logger,
|
|
webhook_url: System.get_env("PLANTID_LOGS_DISCORD_WEBHOOK_URL"),
|
|
level: :error,
|
|
bot_token: System.get_env("PLANTID_DISCORD_BOT_TOKEN")
|