#help for making voice bot with node.js

15 messages · Page 1 of 1 (latest)

tacit glade
#

anyone can give me some simple example code?
I searched lots of guide, but it doesn't have easy code
so i want some code...

crystal galeBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

uncut seal
#

make it yourself

narrow wolf
brisk storm
narrow wolf
brisk storm
# narrow wolf what

every discord bot has something like that, without that the bot doesn't even works

const { Client } = require('discord.js');
const client = new Client({ intents: [
//your Intents here
] });

const TOKEN = " "//your TOKEN here

Client.on((message) async "message" => {
    //some code here

}) 

client.login(TOKEN);
proven portal
#

that code isn’t even valid javascript

#

please don’t spoon feed especially when it’s not correct

brisk storm
proven portal
#

yours

brisk storm
#

😢

proven portal
#

some parts are correct, but the event is not

ancient heraldBOT
#

Suggestion for @tacit glade:
guide Home: Before you begin...
read more

brisk storm