Crates.io | poise-default-slash-argument |
lib.rs | poise-default-slash-argument |
version | 0.1.0 |
source | src |
created_at | 2024-06-18 04:32:52.979472 |
updated_at | 2024-06-18 04:32:52.979472 |
description | Default argument wrapper for poise slash commands |
homepage | |
repository | https://github.com/o-dasher/poise-default-slash-argument.git |
max_upload_size | |
id | 1275119 |
size | 7,797 |
This library provides a generic wrapper struct DefaultSlash
#[command(slash_command)]
pub async fn search(
ctx: MyPoiseContext<'_>,
ephemeral: DefaultSlash<bool>,
) -> MyPoiseResult {
log::debug("{}", ephemeral.0);
todo!();
}