Compare commits
5 commits
02a858bf48
...
f8f6684566
Author | SHA1 | Date | |
---|---|---|---|
f8f6684566 | |||
9537db7724 | |||
0775d77ba0 | |||
069b2d1b4d | |||
45b97f07e2 |
6 changed files with 3166 additions and 3003 deletions
|
@ -1,5 +1,4 @@
|
||||||
const { Command } = require('discord-akairo');
|
const { Command } = require('discord-akairo');
|
||||||
const userBlacklist = require('../../models').userBlacklist;
|
|
||||||
const Blacklists = require('../../models').Blacklists;
|
const Blacklists = require('../../models').Blacklists;
|
||||||
|
|
||||||
class userBlacklistCommand extends Command {
|
class userBlacklistCommand extends Command {
|
||||||
|
|
|
@ -58,7 +58,7 @@ class FeedbackCommand extends Command {
|
||||||
|
|
||||||
channel.send({embed: Embed});
|
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!');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
index.js
2
index.js
|
@ -23,7 +23,7 @@ class hahaYesClient extends AkairoClient {
|
||||||
}, {
|
}, {
|
||||||
partials: ['MESSAGE'],
|
partials: ['MESSAGE'],
|
||||||
disableMentions: 'everyone',
|
disableMentions: 'everyone',
|
||||||
ws: { intents: intents }
|
intents: intents
|
||||||
});
|
});
|
||||||
|
|
||||||
this.commandHandler = new CommandHandler(this, {
|
this.commandHandler = new CommandHandler(this, {
|
||||||
|
|
|
@ -23,7 +23,7 @@ fs
|
||||||
return (file.indexOf('.') !== 0) && (file !== basename) && (file.slice(-3) === '.js');
|
return (file.indexOf('.') !== 0) && (file !== basename) && (file.slice(-3) === '.js');
|
||||||
})
|
})
|
||||||
.forEach(file => {
|
.forEach(file => {
|
||||||
const model = sequelize['import'](path.join(__dirname, file));
|
const model = require(path.join(__dirname, file))(sequelize, Sequelize.DataTypes)
|
||||||
db[model.name] = model;
|
db[model.name] = model;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
6116
package-lock.json
generated
6116
package-lock.json
generated
File diff suppressed because it is too large
Load diff
50
package.json
50
package.json
|
@ -3,50 +3,50 @@
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@discordjs/opus": "^0.4.0",
|
||||||
|
"@google-cloud/text-to-speech": "^3.1.3",
|
||||||
"4chan-boards": "^2.0.1",
|
"4chan-boards": "^2.0.1",
|
||||||
"@discordjs/opus": "^0.3.3",
|
|
||||||
"@google-cloud/text-to-speech": "^2.3.0",
|
|
||||||
"asciify-image": "^0.1.6",
|
"asciify-image": "^0.1.6",
|
||||||
"axios": "^0.19.2",
|
"axios": "^0.21.1",
|
||||||
"bufferutil": "^4.0.2",
|
"bufferutil": "^4.0.3",
|
||||||
"canvas": "^2.6.0",
|
"canvas": "^2.7.0",
|
||||||
"capture-website": "^0.8.2",
|
"capture-website": "^1.4.0",
|
||||||
"cheerio": "^1.0.0-rc.3",
|
"cheerio": "^1.0.0-rc.5",
|
||||||
"cleverbot-free": "^1.0.4",
|
"cleverbot-free": "^1.0.5",
|
||||||
"discord-akairo": "github:1Computer1/discord-akairo#master",
|
"discord-akairo": "github:1Computer1/discord-akairo#master",
|
||||||
"discord.js": "github:discordjs/discord.js#master",
|
"discord.js": "github:discordjs/discord.js#master",
|
||||||
"erlpack": "github:discordapp/erlpack",
|
"erlpack": "github:discordapp/erlpack",
|
||||||
"file-type": "^14.6.2",
|
"file-type": "^16.3.0",
|
||||||
"fluent-ffmpeg": "^2.1.2",
|
"fluent-ffmpeg": "^2.1.2",
|
||||||
"gm": "^1.23.1",
|
"gm": "^1.23.1",
|
||||||
"grpc": "^1.24.4",
|
"grpc": "^1.24.6",
|
||||||
"handbrake-js": "^5.0.2",
|
"handbrake-js": "^5.0.2",
|
||||||
"jimp": "^0.10.3",
|
"jimp": "^0.16.1",
|
||||||
"libsodium-wrappers": "^0.7.6",
|
"libsodium-wrappers": "^0.7.9",
|
||||||
"md5-file": "^5.0.0",
|
"md5-file": "^5.0.0",
|
||||||
"meta-extractor": "^1.5.2",
|
"meta-extractor": "^2.0.0",
|
||||||
"mkdirp": "^0.5.5",
|
"mkdirp": "^1.0.4",
|
||||||
"mysql2": "^1.7.0",
|
"mysql2": "^2.2.5",
|
||||||
"node-fetch": "^2.6.1",
|
"node-fetch": "^2.6.1",
|
||||||
"node-opus": "^0.3.3",
|
"node-opus": "^0.3.3",
|
||||||
"safe-regex": "^2.1.1",
|
"safe-regex": "^2.1.1",
|
||||||
"sequelize": "^5.22.3",
|
"sequelize": "^6.5.0",
|
||||||
"sqlite3": "^4.2.0",
|
"sqlite3": "^5.0.2",
|
||||||
"superagent": "^4.1.0",
|
"superagent": "^6.1.0",
|
||||||
"turndown": "^5.0.3",
|
"turndown": "^7.0.0",
|
||||||
"twit": "^2.2.11",
|
"twit": "^2.2.11",
|
||||||
"utf-8-validate": "^5.0.3",
|
"utf-8-validate": "^5.0.4",
|
||||||
"youtube-dl": "^1.13.1",
|
"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",
|
"ytpplus-node": "git+https://git@github.com/loicbersier/ytpplus-node.git",
|
||||||
"zlib-sync": "^0.1.7"
|
"zlib-sync": "^0.1.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^5.16.0",
|
"eslint": "^7.22.0",
|
||||||
"eslint-config-standard": "^12.0.0",
|
"eslint-config-standard": "^16.0.2",
|
||||||
"eslint-plugin-import": "^2.22.1",
|
"eslint-plugin-import": "^2.22.1",
|
||||||
"eslint-plugin-node": "^8.0.1",
|
"eslint-plugin-node": "^11.1.0",
|
||||||
"eslint-plugin-promise": "^4.2.1",
|
"eslint-plugin-promise": "^4.3.1",
|
||||||
"eslint-plugin-standard": "^4.1.0"
|
"eslint-plugin-standard": "^4.1.0"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Reference in a new issue