feat(bots): implement bot routes

This commit is contained in:
Paul Makles
2022-02-10 15:54:41 +00:00
parent d4aff072a8
commit a8d5fcec9e
12 changed files with 206 additions and 58 deletions

View File

@@ -17,9 +17,11 @@ pub struct Data {
banner: Option<String>,
categories: Option<Vec<Category>>,
system_messages: Option<SystemMessageChannels>,
remove: Option<FieldsServer>,
nsfw: Option<bool>,
analytics: Option<bool>,
#[validate(length(min = 1))]
remove: Option<Vec<FieldsServer>>,
}
#[patch("/<target>", data = "<data>")]