From 2b921c84e98dfd5128c2355977fca74b01e917cf Mon Sep 17 00:00:00 2001 From: benji7425 Date: Sat, 9 Dec 2017 05:39:04 +0000 Subject: [PATCH] git subrepo pull (merge) discord-bot-core subrepo: subdir: "discord-bot-core" merged: "cf92dea" upstream: origin: "git@github.com:benji7425/discord-bot-core.git" branch: "master" commit: "b19d4b2" git-subrepo: version: "0.3.1" origin: "???" commit: "???" --- discord-bot-core/.gitrepo | 2 +- discord-bot-core/Client.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/discord-bot-core/.gitrepo b/discord-bot-core/.gitrepo index 5dbf0ee..0c216a9 100644 --- a/discord-bot-core/.gitrepo +++ b/discord-bot-core/.gitrepo @@ -6,7 +6,7 @@ [subrepo] remote = git@github.com:benji7425/discord-bot-core.git branch = master - commit = 900f1f5fefde59cb8c471b020701827eb864efc1 + commit = b19d4b2fd78868c28d9ac19b833e83b22c9d9d6e parent = 677be15c0768a9b74b5ab3fd3bfec037002fff22 method = merge cmdver = 0.3.1 diff --git a/discord-bot-core/Client.js b/discord-bot-core/Client.js index 019d2b4..ab673ea 100644 --- a/discord-bot-core/Client.js +++ b/discord-bot-core/Client.js @@ -13,15 +13,13 @@ module.exports = class Client extends Discord.Client { /** * Construct a new Discord.Client with some added functionality * @param {string} token bot token - * @param {string} dataFile location for json data file * @param {string} commandsDir location of dir containing commands .js files * @param {*} guildDataModel GuildData model to be used for app; must extend BaseGuildData */ - constructor(token, dataFile, commandsDir, guildDataModel) { + constructor(token, commandsDir, guildDataModel) { super(); this._token = token; - this.dataFile = dataFile; this.commandsDir = commandsDir; this.guildDataModel = guildDataModel;