set it to owner only

This commit is contained in:
Loïc Bersier 2019-07-08 22:48:04 +02:00
parent c9ec968ba5
commit 0ec9344bf5
2 changed files with 5 additions and 5 deletions

View file

@ -5,8 +5,8 @@ class addResponseCommand extends Command {
constructor() { constructor() {
super('addResponse', { super('addResponse', {
aliases: ['addResponse'], aliases: ['addResponse'],
category: 'admin', category: 'owner',
split: 'quoted', ownerOnly: 'true',
userPermissions: ['MANAGE_MESSAGES'], userPermissions: ['MANAGE_MESSAGES'],
args: [ args: [
{ {
@ -33,7 +33,7 @@ class addResponseCommand extends Command {
], ],
channelRestriction: 'guild', channelRestriction: 'guild',
description: { description: {
content: 'Create custom autoresponse [Click here to see the complete list of "addResponse"](https://cdn.discordapp.com/attachments/502198809355354133/561043193949585418/unknown.png) (Need "" if the trigger contains spaces)', content: 'Create custom autoresponse',
usage: '[trigger] [response]', usage: '[trigger] [response]',
examples: ['"do you know da wea" Fuck off dead meme', 'hello Hello [author], how are you today?'] examples: ['"do you know da wea" Fuck off dead meme', 'hello Hello [author], how are you today?']
} }

View file

@ -5,8 +5,8 @@ class removeResponseCommand extends Command {
constructor() { constructor() {
super('removeResponse', { super('removeResponse', {
aliases: ['removeResponse'], aliases: ['removeResponse'],
category: 'admin', category: 'owner',
split: 'none', ownerOnly: 'true',
userPermissions: ['MANAGE_MESSAGES'], userPermissions: ['MANAGE_MESSAGES'],
args: [ args: [
{ {