Projects and Diseases placeholder application commands (#17)

* 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
This commit is contained in:
2025-12-08 08:53:48 +01:00
committed by GitHub
parent 02372f2076
commit 0eddf04678
11 changed files with 182 additions and 27 deletions
-16
View File
@@ -142,21 +142,5 @@ defmodule PlantIdDiscordBot.PlantNet.Parser do
"\n\nAlternatives include **#{alternatives}**."
end
# if !Enum.empty?(data) do
# alternatives =
# Enum.map(data, & &1["species"]["scientificNameWithoutAuthor"])
# |> Enum.join(", ")
# "\n\nAlternatives include **#{alternatives}**."
# end
# if length(data) > 0 do
# alternatives =
# Enum.map(data, & &1["species"]["scientificNameWithoutAuthor"])
# |> Enum.join(", ")
# "\n\nAlternatives include **#{alternatives}**."
# end
end
end