-
Notifications
You must be signed in to change notification settings - Fork 169
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
Send slash subcommand #11
Comments
I think I missed a few pieces of code. I will correct it as soon as possible. Sorry for your experience :< |
No problem ! I have edit manually the module for my own experience, and it's work perfectly ! Thanks a lot !! |
oh, I just fixed it too =) |
Added method: here but if you edited it manually you can make 1 pull request :)) |
Uh, I have an issue if I try to send a subcommand without options.. client.on("message", async (message) => {
if (message.content === "s!startfarm ccp") {
setInterval(async () => {
await message.channel.sendSlash(skyID, "rpg-farm", ["chasser"]); //fonctionnel
setTimeout(async () => {
await message.channel.sendSlash(skyID, "rpg-farm", ["cueillir"]); //fonctionnel
}, getRandomInt(2100, 3000));
setTimeout(async () => {
await message.channel.sendSlash(skyID, "rpg-farm", ["pecher"]); //fonctionnel
}, getRandomInt(2100, 3000));
}, 125000);
}
}); The error : `/Users/aiko/Desktop/Developpement/Projets/JavaScript/Test/node_modules/discord.js-selfbot-v13/src/structures/ApplicationCommand.js:489 TypeError: Cannot read properties of undefined (reading '0') |
I'm at school, it's expected to be fixed in 4 hours |
I fixed it, please update to the latest version |
Don't apologize! It's already very nice of you to provide a tool like this by risking your Discord account, so thank you very much! Only you do this, it's extremely convenient! |
Thank you ! |
Hello !
I can send slash commands, but I can't send subcommands. How can I do it, with the v2 method ?
The text was updated successfully, but these errors were encountered: