From 105c6280d48393418cfc4b058b635e42c6cafb4c Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 4 Sep 2017 21:52:17 +0000 Subject: [PATCH] Updoot --- package.json | 6 +++--- structures/Command.js | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 49ce85f8..78be47e5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "35.2.0", + "version": "35.2.1", "description": "Your personal server companion.", "main": "Shard.js", "scripts": { @@ -34,8 +34,8 @@ "canvas": "github:automattic/node-canvas", "common-tags": "^1.4.0", "custom-translate": "github:dragonfire535/custom-translate", - "discord.js": "github:hydrabolt/discord.js#3a503ef56e40277f1fad428036b4ae455f4b65a0", - "discord.js-commando": "github:dragonfire535/discord.js-commando#test", + "discord.js": "github:SpaceEEC/discord.js#Shards", + "discord.js-commando": "github:gawdl3y/discord.js-commando", "erlpack": "github:hammerandchisel/erlpack", "node-opus": "^0.2.6", "pg": "^6.4.2", diff --git a/structures/Command.js b/structures/Command.js index 5d32d6f7..9fc521f2 100644 --- a/structures/Command.js +++ b/structures/Command.js @@ -12,6 +12,7 @@ class XiaoCommand extends Command { } hasPermission(msg) { + super.hasPermission(msg); if (this.ownerOnly && !this.client.isOwner(msg.author)) { return `The \`${this.name}\` command can only be used by the bot owner.`; }