commands
how can I make commands that when I use /add [ID] the user gets added to a channel and when I do /remove [ID] the user gets removed from the channel
18 Replies
- 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!like im completely new to js but i wanna make a discord bot with it since im interested in js and discord bots and need help setting up commands like i mentioned with /add ID and then a user that usually has no access to the channel gets temporary access and can see the channel and then /remove ID for removing
@Qjuhand can I somewhere read myself through the basics of javascript?
Unknown Userβ’4mo ago
Message Not Public
Sign In & Join Server To View
yea i found a link i think if i read myself through this itll be easier to learn when i watch yt videos on how to make discord bots with js
Unknown Userβ’4mo ago
Message Not Public
Sign In & Join Server To View
where can I read how to setup a discord bot with js then and how to make slash commands
Unknown Userβ’4mo ago
Message Not Public
Sign In & Join Server To View
ah bet
ty
Unknown Userβ’4mo ago
Message Not Public
Sign In & Join Server To View
yea
.
thats where I can learn the basics
https://discord.js.org/docs/packages/discord.js/14.16.2 @JΓΆππ¦ whats with this website btw
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.
Unknown Userβ’4mo ago
Message Not Public
Sign In & Join Server To View
yea its basically the same as this
.
Unknown Userβ’4mo ago
Message Not Public
Sign In & Join Server To View
okay
Unknown Userβ’4mo ago
Message Not Public
Sign In & Join Server To View
alr