and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

You need to sign in or sign up before continuing.
...
 
Commits (4)
BOT_TOKEN=asdlaskdkasdnlkasdn
\ No newline at end of file
module.exports = { module.exports = {
env: { 'env': {
node: true, 'commonjs': true,
commonjs: true, 'es2020': true,
es2020: true, 'node': true
}, },
extends: ['airbnb-base'], 'extends': 'eslint:recommended',
parserOptions: { 'parserOptions': {
ecmaVersion: 11, 'ecmaVersion': 11
}, },
rules: {}, 'rules': {
'indent': [
'error',
'tab'
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
]
}
}; };
# Node Modules # Node Modules
node_modules/ node_modules/
# tokens
.env
\ No newline at end of file
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
"description": "A Discord built for the LOLs", "description": "A Discord built for the LOLs",
"main": "src/app.js", "main": "src/app.js",
"scripts": { "scripts": {
"lint": "eslint src/" "lint": "eslint src/",
"start": "node src/app.js"
}, },
"author": "zeebhombal@gmail.com", "author": "zeebhombal@gmail.com",
"license": "MIT", "license": "MIT",
......
const Discord = require('discord.js');
require('dotenv').config();
const client = new Discord.Client();
client.on('message', (message) => {
console.log(message);
});
client.login(process.env.BOT_TOKEN);