parse response and generate a interaction response

This commit is contained in:
Owen
2024-12-16 14:45:07 +01:00
parent 27838e8e1a
commit 5a5700fab7
6 changed files with 76 additions and 6 deletions
+4
View File
@@ -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,