mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-23 04:26:57 +00:00
0eddf04678
* fix module name in backup * save projects to persistent_term * retrieve projects on bot startup * remove commented out code * register project autocomplete * placeholder text for project * placeholder disease command
19 lines
632 B
Elixir
19 lines
632 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"),
|
|
dev_guild_id: System.get_env("DISCORD_DEV_GUILD_ID")
|
|
|
|
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")
|