This commit is contained in:
Daniel Odendahl Jr
2017-09-04 21:52:17 +00:00
parent 9d208c5c70
commit 105c6280d4
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -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",
+1
View File
@@ -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.`;
}