Add fetch owned, public and specific bots for #8.

This commit is contained in:
Paul
2021-08-12 13:40:03 +01:00
parent 9f749cfdf8
commit a71bfa908c
6 changed files with 131 additions and 27 deletions

View File

@@ -2,10 +2,16 @@ use rocket::Route;
mod create;
mod invite;
mod fetch_public;
mod fetch;
mod fetch_owned;
pub fn routes() -> Vec<Route> {
routes![
create::create_bot,
invite::invite_bot
invite::invite_bot,
fetch_public::fetch_public_bot,
fetch::fetch_bot,
fetch_owned::fetch_owned_bots,
]
}