-
-
Notifications
You must be signed in to change notification settings - Fork 50
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 forced in august, how do I use slash commands on slappey? #122
Comments
I also would like to know this, I just followed your YT tutorials and it follows prefix commands but want to convert to slash commands. |
Make an handler similar to command handler and event handler. I've made my own but I placed that in the readyEvent file. After some testing, I couldn't make it to use it as handler. I'd prefer to use it in ready event. |
This is already handled by discordjs and discord as an interactionCreate event. Just use the method .isChatInputCommand() on the interaction object to the slashcommand. Might want to change up the command register though to use these changes. |
This was ages ago 😩
On 8 Nov 2022, at 12:43 pm, Alexander Featherson ***@***.***> wrote:
This is already handled by discordjs and discord as an interactionCreate event. Just use the method .isChatInputCommand() on the interaction object to the slashcommand. Might want to change up the command register though to use these changes.
—
Reply to this email directly, view it on GitHub<#122 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASMK5YQHALWPHHADT3EM5GTWHJDIFANCNFSM5VLAGZSQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
title ^^
The text was updated successfully, but these errors were encountered: