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;