From db7c6a9c76243f177bdc3009706642523d348265 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 17 Sep 2017 02:48:52 +0000 Subject: [PATCH] Fix up perms --- commands/image-edit/pokemon-fusion.js | 1 + commands/random-img/cat.js | 3 ++- commands/random-img/dog.js | 3 ++- package.json | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/commands/image-edit/pokemon-fusion.js b/commands/image-edit/pokemon-fusion.js index 0dd4d0c2..0705c2bb 100644 --- a/commands/image-edit/pokemon-fusion.js +++ b/commands/image-edit/pokemon-fusion.js @@ -9,6 +9,7 @@ module.exports = class PokemonFusionCommand extends Command { group: 'image-edit', memberName: 'pokemon-fusion', description: 'Fuses two Generation I Pokémon together.', + clientPermissions: ['ATTACH_FILES'], args: [ { key: 'body', diff --git a/commands/random-img/cat.js b/commands/random-img/cat.js index 9f3ea118..832ed016 100644 --- a/commands/random-img/cat.js +++ b/commands/random-img/cat.js @@ -8,7 +8,8 @@ module.exports = class CatCommand extends Command { aliases: ['neko'], group: 'random-img', memberName: 'cat', - description: 'Responds with a random cat image.' + description: 'Responds with a random cat image.', + clientPermissions: ['ATTACH_FILES'] }); } diff --git a/commands/random-img/dog.js b/commands/random-img/dog.js index c790779f..c4a87a7f 100644 --- a/commands/random-img/dog.js +++ b/commands/random-img/dog.js @@ -7,7 +7,8 @@ module.exports = class DogCommand extends Command { name: 'dog', group: 'random-img', memberName: 'dog', - description: 'Responds with a random dog image.' + description: 'Responds with a random dog image.', + clientPermissions: ['ATTACH_FILES'] }); } diff --git a/package.json b/package.json index ff1088b2..3e857fd4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "40.5.0", + "version": "40.5.1", "description": "Your personal server companion.", "main": "Shard.js", "scripts": {