Browse Source

Merge branch 'master' of adawesome.tech:git/bots/awesomemod

master
Abheek Dhawan 4 years ago
parent
commit
83c0642ecd
  1. 5
      bot.js
  2. 1949
      package-lock.json
  3. 2
      package.json

5
bot.js

@ -2,7 +2,10 @@
const Discord = require('discord.js'); const Discord = require('discord.js');
const MongoClient = require('mongodb').MongoClient; const MongoClient = require('mongodb').MongoClient;
const client = new Discord.Client({ partials: ['MESSAGE', 'CHANNEL', 'REACTION'] }); const client = new Discord.Client({
intents: ["GUILDS", "GUILD_MESSAGES", "GUILD_MESSAGE_REACTIONS", "DIRECT_MESSAGES", "DIRECT_MESSAGE_REACTIONS"],
partials: ["MESSAGE", "CHANNEL", "REACTION"],
});
const fetch = require(`node-fetch`); const fetch = require(`node-fetch`);
var database, collection; var database, collection;

1949
package-lock.json

File diff suppressed because it is too large

2
package.json

@ -12,7 +12,7 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"csvtojson": "^2.0.10", "csvtojson": "^2.0.10",
"discord.js": "^12.5.1", "discord.js": "github:discordjs/discord.js",
"mongodb": "^3.6.5", "mongodb": "^3.6.5",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"nodemon": "^2.0.7" "nodemon": "^2.0.7"

Loading…
Cancel
Save