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
+19
View File
@@ -38,6 +38,25 @@ defmodule PlantIdDiscordBot.Consumer.Commands do
name: "servers",
description: "All servers that this bot belongs to",
options: []
},
%{
name: "diseases",
description: "Identify diseases from photos",
options: []
},
%{
name: "projects",
description: "Plants grouped by region or type, for identification",
options: [
%{
# STRING
type: 3,
name: "project",
description: "Search for a project",
required: true,
autocomplete: true
}
]
}
]
end