Discord.js DiscordAPIError: Invalid Form Body issue
I have a Discord bot and there is a problem with the command named privacy policy in this bot, I asked a lot of people and they said they don't know. Node.js version: 16.13.2 Discord.js version: 13.6.0 MAİN client.commands = new Collection(); const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); const eventFiles = fs.readdirSync('./events').filter(file => file.endsWith('.js')); for (const file of commandFiles) { const command = require(`./commands/${file}`); client.commands.set(command.name, command); } COMMAND module.exports = { name: 'gizlilik', description:
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.