Skip to content

Instantly share code, notes, and snippets.

View NEOdinok's full-sized avatar
🏠
Working from home

Georgy Martynovich NEOdinok

🏠
Working from home
View GitHub Profile
@NEOdinok
NEOdinok / bot.js
Created May 8, 2021 22:07
client.on('message... event listener problem
console.log('Beep Boop Beep'); //prints 'Beep Boop Beep'
require('dotenv').config(); //load the dotenv node pachage and call a config() func to load thea values from .env
const Discord = require('discord.js');
const client = new Discord.Client({ ws: { intents: [
'GUILDS',
'GUILD_MESSAGES',
'GUILD_PRESENCES',