Can select bot type

This commit is contained in:
2022-10-02 18:00:45 +02:00
parent 46ab1fec9a
commit c9f643e224
5 changed files with 113 additions and 24 deletions

View File

@ -11,9 +11,9 @@ pub enum BotType {
#[derive(serde::Serialize)]
pub struct BotDescription {
r#type: BotType,
name: &'static str,
description: &'static str,
pub r#type: BotType,
pub name: &'static str,
pub description: &'static str,
}
#[derive(serde::Serialize)]