started writing the damn thing

This commit is contained in:
staticfanfare 2023-12-17 19:07:36 -05:00
parent 11aea60054
commit 529f265a07
4 changed files with 1143 additions and 0 deletions

13
.eslintrc.json Normal file
View File

@ -0,0 +1,13 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
}
}

11
index.js Normal file
View File

@ -0,0 +1,11 @@
const { Client, Events, GatewayIntentBits } = require('discord.js');
const { token } = require('./config.json');
const client = new Client({ intents: [GatewayIntentBits.Guilds] });
client.once(Events.ClientReady, readyClient => {
console.log(`Ready! Logged in as ${readyClient.user.tag}`);
});
client.login(token);

1116
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -14,5 +14,8 @@
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"dependencies": { "dependencies": {
"discord.js": "^14.14.1" "discord.js": "^14.14.1"
},
"devDependencies": {
"eslint": "^8.56.0"
} }
} }