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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user