how do i download slashcommand

.
9 Replies
d.js toolkit
d.js toolkit•8mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Wolfie
WolfieOP•8mo ago
discord.js
discord.js
discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
Wolfie
WolfieOP•8mo ago
this was the website it said but idk how to download it
Syjalo
Syjalo•8mo ago
What do you mean by 'download slashcommand'?
Wolfie
WolfieOP•8mo ago
idk tbh install ig like how i needed to install discord.js
Syjalo
Syjalo•8mo ago
You don't need to install builders. Just import from discord.js
import { SlashCommandBuilder } from 'discord.js';
const { SlashCommandBuilder } = require('discord.js');
import { SlashCommandBuilder } from 'discord.js';
const { SlashCommandBuilder } = require('discord.js');
Wolfie
WolfieOP•8mo ago
i put into terminal? @Syjalo sflr
Syjalo
Syjalo•8mo ago
No, in your code. Please learn some JavaScript first #rules 3
Wolfie
WolfieOP•8mo ago
😞
Want results from more Discord servers?
Add your server