mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-23 04:26:57 +00:00
21 lines
648 B
Elixir
21 lines
648 B
Elixir
import Config
|
|
|
|
config :plantid_discord_bot,
|
|
guild_request_limit_per_day: 20,
|
|
guild_ids: [],
|
|
plantnet_api_key: System.get_env("PLANTNET_API_KEY"),
|
|
fileserver_url: "http://localhost:4321",
|
|
port: 4321,
|
|
source: "https://github.com/TheRealOwenRees/plantid-discord-bot",
|
|
invite:
|
|
"https://discord.com/api/oauth2/authorize?client_id=948227126094598204&permissions=19520&scope=bot",
|
|
api: Nostrum.Api
|
|
|
|
config :logger,
|
|
backends: [{PlantIdDiscordBot.DiscordLogger, :discord_logger}]
|
|
|
|
config :logger, :discord_logger,
|
|
webhook_url: System.get_env("LOGS_DISCORD_WEBHOOK_URL"),
|
|
level: :error,
|
|
bot_token: System.get_env("DISCORD_TOKEN")
|