DiscordAPIError: Invalid Form Body data.options: Missing interaction application command option #1388
Unanswered
Legends-of-NGDB
asked this question in
Q&A
Replies: 3 comments 7 replies
-
Error: Solution:It looks like the issue occurs because the const { Client } = require('discord.js-selfbot-v13');
const client = new Client();
client.login('your_token_here')
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}`);
const channel = client.channels.cache.get('1186765829908476045');
if (!channel) {
console.error('Channel not found!');
return;
}
channel.sendSlash('1291532086020407326', 'imagine', {
description: 'a dog',
enhancer: true
})
.catch((error) => {
console.error('Error sending the command:', error);
});
}); |
Beta Was this translation helpful? Give feedback.
3 replies
-
Anyone still able to help? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Code:
Error
Beta Was this translation helpful? Give feedback.
All reactions