sraboy
0
Q:

how to code a discord bot in javascript

This code help you get started with your discord bot go to this website 
https://pastebin.com/sPXPkh6K or https://pastebin.com/DxAMwfFd
update
///pls vote if this helps
///Btw i made this code
///if problem with code join our server https://discord.gg/XWvY4WMkXY
2
require('dotenv').config();
const Discord = require('discord.js');
const bot = new Discord.Client();

const TOKEN = process.env.TOKEN;

bot.login(TOKEN);
4

New to Communities?

Join the community