mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-23 04:26:57 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user