Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slash commands are not registered (I'm using dev branch of lib) #1951

Closed
BlitDev opened this issue Nov 29, 2021 · 12 comments
Closed

Slash commands are not registered (I'm using dev branch of lib) #1951

BlitDev opened this issue Nov 29, 2021 · 12 comments
Labels
Needs investigation Needs to be looked at by a maintainer

Comments

@BlitDev
Copy link

BlitDev commented Nov 29, 2021

I try write:

var command = new SlashCommandBuilder();

but this class is not in the Discord namespace. Though it is listed in the documentation and Guide.

@BlitDev BlitDev changed the title I can create slash commands I can't create slash commands Nov 29, 2021
@BlitDev
Copy link
Author

BlitDev commented Nov 29, 2021

The required classes are available only in the dev version of the lib. When is the library update?

@BlitDev
Copy link
Author

BlitDev commented Dec 4, 2021

image
I tried to register a Slash command in all guilds, but it had no effect, no commands were created, made the properties using the SlashCommandBuilder class.

@BlitDev BlitDev changed the title I can't create slash commands Slash commands are not registered Dec 4, 2021
@BlitDev BlitDev changed the title Slash commands are not registered Slash commands are not registered (I'm using dev branch of lib) Dec 4, 2021
@MrCakeSlayer MrCakeSlayer added the Needs investigation Needs to be looked at by a maintainer label Dec 6, 2021
@quinchs
Copy link
Member

quinchs commented Dec 6, 2021

Have a peek at the Slash Command Documentation

@BlitDev
Copy link
Author

BlitDev commented Dec 7, 2021

Have a peek at the Slash Command Documentation

I can't find this documentation right away (is it unofficial?)

@quinchs
Copy link
Member

quinchs commented Dec 7, 2021

Why cant you find it?

@quinchs
Copy link
Member

quinchs commented Dec 7, 2021

Have you looked through the documentation? it lists how to create slash commands and receive them. you can also use the interaction framework to use slash commands. docs for that is here

@BlitDev
Copy link
Author

BlitDev commented Dec 7, 2021

Why cant you find it?

It's fork docs, not official

@quinchs
Copy link
Member

quinchs commented Dec 7, 2021

Well the fork has been merged in #1923 making the docs valid for reference on the dev branch

@BlitDev
Copy link
Author

BlitDev commented Dec 7, 2021

Well the fork has been merged in #1923 making the docs valid for reference on the dev branch

I didn't see it, thanks

@BlitDev BlitDev closed this as completed Dec 7, 2021
@kieranedwards
Copy link

Have a peek at the Slash Command Documentation

Hey, is there an alternative site to getting an example of how to code in slash command support for discord.net? Or can someone somehow export the docs and share it in here perhaps? This url is inaccessible for me. I get a "ERR_SSL_PROTOCOL_ERROR" response on the entire website in general. Not sure if anyone else experiences similar?

@1NieR
Copy link
Contributor

1NieR commented Dec 21, 2021

Have a peek at the Slash Command Documentation

Hey, is there an alternative site to getting an example of how to code in slash command support for discord.net? Or can someone somehow export the docs and share it in here perhaps? This url is inaccessible for me. I get a "ERR_SSL_PROTOCOL_ERROR" response on the entire website in general. Not sure if anyone else experiences similar?

New link https://discordnet.dev/guides/int_basics/application-commands/intro.html

@kieranedwards
Copy link

Have a peek at the Slash Command Documentation

Hey, is there an alternative site to getting an example of how to code in slash command support for discord.net? Or can someone somehow export the docs and share it in here perhaps? This url is inaccessible for me. I get a "ERR_SSL_PROTOCOL_ERROR" response on the entire website in general. Not sure if anyone else experiences similar?

New link https://discordnet.dev/guides/int_basics/application-commands/intro.html

That is perfect, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs investigation Needs to be looked at by a maintainer
Projects
None yet
Development

No branches or pull requests

5 participants