Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 239 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 239 Bytes

Pyrocord Route Derive

Example:

use reqwest::Method;
use pyrocord_route_derive::Routes;

#[derive(Routes)]
pub enum Route {
    #[route(GET, "/applications/{application_id}/commands")]
    GetGlobalApplicationCommands(u64),
}