Simple API Wrapper for the stoat API with a fully featured command system.
Examples can be found in the example directory.
To get started using this library please read the Getting Started Guide.
async fn ping(ctx: CommandContext<Error, ()>) -> Result<(), Error> {
ctx.message
.reply(&ctx, true)
.content("Pong!".to_string())
.build()
.await?;
Ok(())
}