mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 10:25:11 +02:00
Fixes
This commit is contained in:
+7
-8
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "22.0.2",
|
"version": "22.0.3",
|
||||||
"description": "A Discord Bot",
|
"description": "A Discord Bot",
|
||||||
"main": "Shard.js",
|
"main": "Shard.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -34,23 +34,22 @@
|
|||||||
"node": "8.0.0"
|
"node": "8.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bufferutil": "^3.0.0",
|
"bufferutil": "^3.0.1",
|
||||||
"canvas": "automattic/node-canvas",
|
"canvas": "automattic/node-canvas",
|
||||||
"cheerio": "^0.22.0",
|
"cheerio": "^1.0.0",
|
||||||
"cleverio": "dragonfire535/cleverio",
|
"cleverio": "dragonfire535/cleverio",
|
||||||
"custom-translate": "dragonfire535/custom-translate",
|
"custom-translate": "dragonfire535/custom-translate",
|
||||||
"discord.js": "hydrabolt/discord.js",
|
"discord.js": "hydrabolt/discord.js",
|
||||||
"discord.js-commando": "gawdl3y/discord.js-commando",
|
"discord.js-commando": "gawdl3y/discord.js-commando",
|
||||||
"erlpack": "hammerandchisel/erlpack",
|
"erlpack": "hammerandchisel/erlpack",
|
||||||
"ffmpeg-binaries": "^3.2.2",
|
"mathjs": "^3.13.3",
|
||||||
"mathjs": "^3.12.2",
|
|
||||||
"moment": "^2.18.1",
|
"moment": "^2.18.1",
|
||||||
"moment-duration-format": "^1.3.0",
|
"moment-duration-format": "^1.3.0",
|
||||||
"node-opus": "^0.2.6",
|
"node-opus": "^0.2.6",
|
||||||
"pg": "^6.1.5",
|
"pg": "^6.2.3",
|
||||||
"sequelize": "^3.30.4",
|
"sequelize": "^3.30.4",
|
||||||
"snekfetch": "^3.1.7",
|
"snekfetch": "^3.1.8",
|
||||||
"tsubaki": "^1.1.0",
|
"tsubaki": "^1.1.1",
|
||||||
"xml2js": "^0.4.17",
|
"xml2js": "^0.4.17",
|
||||||
"zalgolize": "^1.2.4"
|
"zalgolize": "^1.2.4"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
/* eslint-disable indent */
|
|
||||||
|
|
||||||
const { SettingProvider } = require('discord.js-commando');
|
const { SettingProvider } = require('discord.js-commando');
|
||||||
const Sequelize = require('sequelize');
|
const Sequelize = require('sequelize');
|
||||||
|
|
||||||
@@ -79,7 +77,7 @@ class SequelizeProvider extends SettingProvider {
|
|||||||
try {
|
try {
|
||||||
settings = JSON.parse(row.dataValues.settings);
|
settings = JSON.parse(row.dataValues.settings);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
client.emit('warn', `SequelizeProvider couldn't parse the settings stored for guild ${row.dataValues.guild}.`);
|
client.emit('warn', `SequelizeProvider couldn't parse the settings stored for guild ${row.dataValues.guild}.`); // eslint-disable-line max-len
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user