I am a beginner programmer who likes to build discord bots. I am Brazilian, so naturally I don't speak English that well. I am building a music bot (my second bot), but it keeps getting a MODULE_NOT_FOUND error, even when my first bot is normal and doesn't get any errors. Here is the code:
const {
Client,
Attachment
} = require('discord.js');
const bot = new Client();
const ytdl = require("ytdl-core");
const token = "My token";
const PREFIX = '/';
var version = '1.2';
var servers = {};
bot.on('ready', () => {
console.log('This bot is online!' + version);
})