poise 0.7.0

A Discord bot framework for serenity
Documentation
1
2
3
4
5
6
7
8
use crate::{Context, Error};

#[cfg(feature = "cache")]
#[poise::command(slash_command, prefix_command)]
pub async fn servers(ctx: Context<'_>) -> Result<(), Error> {
    poise::builtins::servers(ctx).await?;
    Ok(())
}