Minty U

Fixed some errors

config.json
\ No newline at end of file
......
const { Client, Intents } = require('discord.js');
const { token } = require('./config.json');
const client = new Client({ intents: [Intents.FLAGS.GUILDS] });
const client = new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES] });
client.on('ready', () => {
client.once('ready', () => {
console.log(`Logged in as ${client.user.tag}!`);
});
client.on('message', msg => {
client.on('messageCreate', msg => {
if (msg.content === 'ping') {
msg.reply('Pong!');
}
});
client.login('token');
\ No newline at end of file
client.login(token);
\ No newline at end of file
......