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
+1 -1
View File
@@ -1,5 +1,5 @@
defmodule PlantIdDiscordBot.Utils do
@start_time Application.compile_env(:plantid_discord_bot, :start_time)
@start_time Application.get_env(:plantid_discord_bot, :start_time)
def get_uptime() do
DateTime.diff(DateTime.utc_now(), @start_time)