Winnmi
DIAdiscord.js - Imagine an app
•Created by Winnmi on 10/30/2024 in #djs-questions
using SlashCommandBuilder in Constructor
Sorry for my stupidity
21 replies
DIAdiscord.js - Imagine an app
•Created by Winnmi on 10/30/2024 in #djs-questions
using SlashCommandBuilder in Constructor
Thank you it worked 🙂
21 replies
DIAdiscord.js - Imagine an app
•Created by Winnmi on 10/30/2024 in #djs-questions
using SlashCommandBuilder in Constructor
I used a "BaseCommand" to create my commands and used the SlashCommandBuilder in the Constructor. now it thows and error in vscode but i cannto get rid of the error
21 replies
DIAdiscord.js - Imagine an app
•Created by Winnmi on 10/30/2024 in #djs-questions
using SlashCommandBuilder in Constructor
21 replies
DIAdiscord.js - Imagine an app
•Created by Winnmi on 10/30/2024 in #djs-questions
using SlashCommandBuilder in Constructor
thats possible
21 replies
DIAdiscord.js - Imagine an app
•Created by Winnmi on 10/30/2024 in #djs-questions
using SlashCommandBuilder in Constructor
[{
"resource": "src/commands/ban.ts",
"owner": "typescript",
"code": "2345",
"severity": 8,
"message": "Argument of type 'SlashCommandOptionsOnlyBuilder' is not assignable to parameter of type 'SlashCommandSubcommandsOnlyBuilder | Omit<SlashCommandBuilder, "addSubcommand" | "addSubcommandGroup">'.\n Type 'SlashCommandOptionsOnlyBuilder' is not assignable to type 'Omit<SlashCommandBuilder, "addSubcommand" | "addSubcommandGroup">'.\n The types returned by 'setName(...)' are incompatible between these types.\n Type 'SlashCommandOptionsOnlyBuilder' is missing the following properties from type 'SlashCommandBuilder': addSubcommandGroup, addSubcommand",
"source": "ts",
"startLineNumber": 11,
"startColumn": 7,
"endLineNumber": 15,
"endColumn": 100
}]
21 replies
DIAdiscord.js - Imagine an app
•Created by Winnmi on 10/30/2024 in #djs-questions
using SlashCommandBuilder in Constructor
it shows an error in the ide
21 replies
DIAdiscord.js - Imagine an app
•Created by Winnmi on 10/30/2024 in #djs-questions
using SlashCommandBuilder in Constructor
mb
21 replies
DIAdiscord.js - Imagine an app
•Created by Winnmi on 10/30/2024 in #djs-questions
using SlashCommandBuilder in Constructor
you cannt use the slashcommand builder in a constructor? do u know why?
21 replies