serenity
serenity copied to clipboard
Support slash commands in standard framework
Now that slash commands are in the library, they should be supported inside of the standard framework
has there been any progress on this? I'd offer to help with it myself... but the inner code is a bit too complex for me to work with, sorry.
There has been none thus far. This is because I have decided to wait until Discord stabilises the slash commands API to try to add them to the framework rewrite or create a new framework specialised for slash commands.
guys, anyone got slash command work?
error[E0599]: no function or associated item named `get_global_application_commands` found for struct `serenity::model::interactions::ApplicationCommand` in the current scopeerror[E0599]: no method named `application_id` found for struct `serenity::client::ClientBuilder<'_>` in the current scopewhat version of serenity ClientBuilder include this application_id method and get_global_application_commands for ApplicationCommand? I'm using serenity 0.10 and 0.10.5, both don't have those methods.
Hello, I'm sorry but this question should be asked in its own new issue.
Slash commands will become basically mandatory for most bots in more then 75 servers in about a month.
This being added to the standard library should take place by that time
Related: #1462, #804
We have deprecated the standard framework and are moving towards poise being the go-to framework instead.