How make the bot online?

I need start code, in discord.js start code in typescript I need in js
8 Replies
d.js toolkit
d.js toolkit16mo 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! - Marked as resolved by OP
Kinect3000
Kinect300016mo ago
The guide is in js
Kinect3000
Kinect300016mo ago
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
qckpie
qckpieOP16mo ago
I can't find it
Kinect3000
Kinect300016mo ago
The guide covers everything you need to know from setup to making a ping cmd
qckpie
qckpieOP16mo ago
const Discord = require('discord.js');
const client = new Discord.Client();

client.on('ready', () => {
console.log(Logged in as ${client.user.tag}!);
});

client.on('message', message => {
if (message.content === 'ping') {
message.reply('Pong!');
}
});

client.login('YOUR_DISCORD_BOT_TOKEN');
const Discord = require('discord.js');
const client = new Discord.Client();

client.on('ready', () => {
console.log(Logged in as ${client.user.tag}!);
});

client.on('message', message => {
if (message.content === 'ping') {
message.reply('Pong!');
}
});

client.login('YOUR_DISCORD_BOT_TOKEN');
I need like this code (this code is written by chatGPT)
Kinect3000
Kinect300016mo ago
The guide gets to that after setup
qckpie
qckpieOP16mo ago
Bruh Thx
Want results from more Discord servers?
Add your server