diff --git a/bot.js b/bot.js index 8769c37..02e1c63 100644 --- a/bot.js +++ b/bot.js @@ -17,7 +17,7 @@ let weblib = null; class Bot { constructor() { - this.client = new Discord.Client(); + this.client = new Discord.Client({autoReconnect: true}); this.mention = false; this.rotator = null; this.maindb = null; diff --git a/package.json b/package.json index aeef9b4..e57a3a1 100644 --- a/package.json +++ b/package.json @@ -25,11 +25,11 @@ "js-sha512": "0.8.0", "node-sass": "4.11.0", "opusscript": "0.0.6", - "promise-waterfall": "^0.1.0", + "promise-waterfall": "0.1.0", "pug": "2.0.3", "sqlite3": "4.0.6", "winston": "3.2.1", - "winston-daily-rotate-file": "3.6.0", + "winston-daily-rotate-file": "3.7.0", "youtube-playlist-info": "1.1.2", "ytdl-core": "0.29.1" }, @@ -37,11 +37,11 @@ "assert": "1.4.1", "chai": "4.2.0", "mocha": "6.0.0", - "nyc": "13.2.0", + "nyc": "13.3.0",, "rewire": "4.0.1", - "sinon": "7.2.3", + "sinon": "7.2.4", "eslint-plugin-graphql": "3.0.3", - "eslint": "5.13.0", + "eslint": "5.14.1", "eslint-plugin-promise": "4.0.1" }, "eslintConfig": { diff --git a/renovate.json b/renovate.json index f45d8f1..61aa129 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,8 @@ { "extends": [ "config:base" + ], + "baseBranches": [ + "dependency-updates" ] }