serenity icon indicating copy to clipboard operation
serenity copied to clipboard

Support slash commands in standard framework

Open peppizza opened this issue 4 years ago • 5 comments

Now that slash commands are in the library, they should be supported inside of the standard framework

peppizza avatar Dec 26 '20 02:12 peppizza

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.

Absolucy avatar Mar 09 '21 21:03 Absolucy

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.

arqunis avatar Mar 09 '21 22:03 arqunis

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 scope
error[E0599]: no method named `application_id` found for struct `serenity::client::ClientBuilder<'_>` in the current scope

what 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.

Lakelezz avatar May 07 '21 22:05 Lakelezz

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

BuyMyMojo avatar Feb 07 '22 20:02 BuyMyMojo

Related: #1462, #804

kangalio avatar Sep 12 '22 12:09 kangalio

We have deprecated the standard framework and are moving towards poise being the go-to framework instead.

arqunis avatar Jan 25 '24 19:01 arqunis