poise icon indicating copy to clipboard operation
poise copied to clipboard

Discord bot command framework for serenity, with advanced features like edit tracking and flexible argument parsing

Results 32 poise issues
Sort by recently updated
recently updated
newest added

### question I'm curious about how does the the auto converter in commands arguments work, for example: ```rust #[poise::command(prefix_command,)] pub async fn delmsg( ctx: Context { poise::FrameworkError::ArgumentParse { ctx: ctx.into(),...

potentially messy

([As discussed on Discord](https://discord.com/channels/381880193251409931/919310428344029265/1192030019065745498)) My usecase requires potentially processing all non-command messages, and I found the only way to robustly do this was to add a general event handler and...

Currently, slash command docstrings are consumed by Poise's slash command macro to be used for Discord helper text content. While this is expected behavior, it prevents packages from using that...

Discord allows everyone to type command snowflakes, as shown [here](https://discord.com/developers/docs/reference#message-formatting). Serenity's `CommandId` type is the COMMAND_ID being used here, as far as I can tell. Currently in poise when registering...

The `simdjson` test was disabled in 1b0f83bcb0ddea24bf82ddfa3b84f3918be50ebb due to upstream issues with the `serenity/simdjson` (serenity-rs/serenity#2474). Once upstream issues are resolved, we should re-enable the `simdjson` test.

just needs work

In my case, I want to make a command's prefix and slash seperately, like belowed ```rust #[poise::command(slash_command, rename = "test")] pub async fn test_slash( ctx: Context, #[rest] args: Option) ->...

just needs work
documentation

Currently, we can only use serenity::Context in ArgumentConvert, PopArgument and SlashArgument, because all these traits are imported from serenity. But what if we want to make a string-to-command converter? We...

potentially messy

The `context_menu_command` macro arguments doesn't work with `subcommands` Maybe I'm doing it wrong, but this is the code I have : ```rs use crate::{Context, Error}; use poise::serenity_prelude as serenity; ///...

just needs work

This moves all the implementations of `vec_tuple_2_to_hash_map` into calling the actual function, now `iter_` to allow for these generics. This then adds an early return for the iterator having no...

All of these fields are redundant and have to be copied around as Contexts are Copy.