discord-interactions icon indicating copy to clipboard operation
discord-interactions copied to clipboard

A simple to use discord interactionClient

Results 3 discord-interactions issues
Sort by recently updated
recently updated
newest added

https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-structure ![image](https://user-images.githubusercontent.com/29484605/144762105-8c73670d-8675-46bf-80df-4ad791228635.png) ```ts await slashCommandClient.createCommand({ name: 'complete', description: 'Complete your order', options: [ { name: 'count', type: 4, min_value: 1, // Error: Object literal may only specify known properties, and...

When using default option in a slash-command option an error is thrown: "code":"APPLICATION_COMMAND_OPTIONS_DEFAULT_INVALID","message":"There can be 1 default option within command, sub-command, and sub-command group options" Even tho there is just...

bug

code: ``` const Discord = require("discord.js"); const interactions = require("discord-slash-commands"); // create a new client const client = new Discord.Client(); const token = "BOT TOKEN"; // attach the interaction client...

question