Browse Source

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:   "???"
master
benji7425 3 years ago
parent
commit
556971f3b2
  1. 2
      discord-bot-core/.gitrepo
  2. 4
      discord-bot-core/Client.js

2
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

4
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;

Loading…
Cancel
Save