mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-23 04:26:57 +00:00
parse response and generate a interaction response
This commit is contained in:
@@ -5,6 +5,10 @@ defmodule PlantIdDiscordBot.Application do
|
||||
|
||||
@impl true
|
||||
def start(_type, _args) do
|
||||
# Set the start time for the application
|
||||
start_time = DateTime.utc_now()
|
||||
Application.put_env(:plantid_discord_bot, :start_time, start_time)
|
||||
|
||||
children = [
|
||||
PlantIdDiscordBot.Consumer,
|
||||
PlantIdDiscordBot.RateLimiter,
|
||||
|
||||
Reference in New Issue
Block a user