Compare commits

..

5 commits

Author SHA1 Message Date
f8f6684566 reminder to have dm open 2021-03-13 20:21:20 +01:00
9537db7724 removed useless require 2021-03-13 20:20:14 +01:00
0775d77ba0 Fixed an error 2021-03-13 20:20:05 +01:00
069b2d1b4d Upgraded packages versions 2021-03-13 20:19:52 +01:00
45b97f07e2 fix intents 2021-03-13 20:19:42 +01:00
6 changed files with 3166 additions and 3003 deletions

View file

@ -1,5 +1,4 @@
const { Command } = require('discord-akairo');
const userBlacklist = require('../../models').userBlacklist;
const Blacklists = require('../../models').Blacklists;
class userBlacklistCommand extends Command {

View file

@ -58,7 +58,7 @@ class FeedbackCommand extends Command {
channel.send({embed: Embed});
message.channel.send('Your feedback has been sent!');
message.channel.send('Your feedback has been sent! Don\'t forget to have dm open if you want to get an answer from the dev!');
}
}

View file

@ -23,7 +23,7 @@ class hahaYesClient extends AkairoClient {
}, {
partials: ['MESSAGE'],
disableMentions: 'everyone',
ws: { intents: intents }
intents: intents
});
this.commandHandler = new CommandHandler(this, {

View file

@ -23,7 +23,7 @@ fs
return (file.indexOf('.') !== 0) && (file !== basename) && (file.slice(-3) === '.js');
})
.forEach(file => {
const model = sequelize['import'](path.join(__dirname, file));
const model = require(path.join(__dirname, file))(sequelize, Sequelize.DataTypes)
db[model.name] = model;
});

6116
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -3,50 +3,50 @@
"version": "3.0.0",
"main": "index.js",
"dependencies": {
"@discordjs/opus": "^0.4.0",
"@google-cloud/text-to-speech": "^3.1.3",
"4chan-boards": "^2.0.1",
"@discordjs/opus": "^0.3.3",
"@google-cloud/text-to-speech": "^2.3.0",
"asciify-image": "^0.1.6",
"axios": "^0.19.2",
"bufferutil": "^4.0.2",
"canvas": "^2.6.0",
"capture-website": "^0.8.2",
"cheerio": "^1.0.0-rc.3",
"cleverbot-free": "^1.0.4",
"axios": "^0.21.1",
"bufferutil": "^4.0.3",
"canvas": "^2.7.0",
"capture-website": "^1.4.0",
"cheerio": "^1.0.0-rc.5",
"cleverbot-free": "^1.0.5",
"discord-akairo": "github:1Computer1/discord-akairo#master",
"discord.js": "github:discordjs/discord.js#master",
"erlpack": "github:discordapp/erlpack",
"file-type": "^14.6.2",
"file-type": "^16.3.0",
"fluent-ffmpeg": "^2.1.2",
"gm": "^1.23.1",
"grpc": "^1.24.4",
"grpc": "^1.24.6",
"handbrake-js": "^5.0.2",
"jimp": "^0.10.3",
"libsodium-wrappers": "^0.7.6",
"jimp": "^0.16.1",
"libsodium-wrappers": "^0.7.9",
"md5-file": "^5.0.0",
"meta-extractor": "^1.5.2",
"mkdirp": "^0.5.5",
"mysql2": "^1.7.0",
"meta-extractor": "^2.0.0",
"mkdirp": "^1.0.4",
"mysql2": "^2.2.5",
"node-fetch": "^2.6.1",
"node-opus": "^0.3.3",
"safe-regex": "^2.1.1",
"sequelize": "^5.22.3",
"sqlite3": "^4.2.0",
"superagent": "^4.1.0",
"turndown": "^5.0.3",
"sequelize": "^6.5.0",
"sqlite3": "^5.0.2",
"superagent": "^6.1.0",
"turndown": "^7.0.0",
"twit": "^2.2.11",
"utf-8-validate": "^5.0.3",
"utf-8-validate": "^5.0.4",
"youtube-dl": "^1.13.1",
"ytdl-core": "^0.29.7",
"ytdl-core": "^4.5.0",
"ytpplus-node": "git+https://git@github.com/loicbersier/ytpplus-node.git",
"zlib-sync": "^0.1.7"
},
"devDependencies": {
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint": "^7.22.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^4.1.0"
},
"repository": {