From 930b1a46830567fd51780f301e550dbf4a87c7f3 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 1 Sep 2021 22:21:06 -0400 Subject: remove old config commands --- src/commands/config/autoPublishChannel.ts | 23 ----------------------- src/commands/config/joinRoles.ts | 23 ----------------------- src/commands/config/muteRole.ts | 23 ----------------------- src/commands/config/prefix.ts | 23 ----------------------- src/commands/config/punishmentFooter.ts | 23 ----------------------- src/commands/config/welcomeChannel.ts | 22 ---------------------- 6 files changed, 137 deletions(-) delete mode 100644 src/commands/config/autoPublishChannel.ts delete mode 100644 src/commands/config/joinRoles.ts delete mode 100644 src/commands/config/muteRole.ts delete mode 100644 src/commands/config/prefix.ts delete mode 100644 src/commands/config/punishmentFooter.ts delete mode 100644 src/commands/config/welcomeChannel.ts (limited to 'src') diff --git a/src/commands/config/autoPublishChannel.ts b/src/commands/config/autoPublishChannel.ts deleted file mode 100644 index d691a7f..0000000 --- a/src/commands/config/autoPublishChannel.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { BushCommand, BushMessage } from '@lib'; - -export default class AutoPublishChannelCommand extends BushCommand { - public constructor() { - super('autoPublishChannel', { - aliases: ['autopublishchannel', 'apc', 'publishchannel', 'autopublishchannels', 'publishchannels', 'autopublish'], - category: 'config', - description: { - content: 'This command has been deprecated, please use the config command instead', - usage: 'autopublishchannel ', - examples: ['autopublishchannel #github'] - }, - channel: 'guild', - hidden: true, - clientPermissions: ['SEND_MESSAGES'], - userPermissions: ['MANAGE_GUILD', 'SEND_MESSAGES'] - }); - } - - public override async exec(message: BushMessage): Promise { - return message.util.reply(`${util.emojis.error} 'This command has been deprecated, please use the config command instead'`); - } -} diff --git a/src/commands/config/joinRoles.ts b/src/commands/config/joinRoles.ts deleted file mode 100644 index 2a3031e..0000000 --- a/src/commands/config/joinRoles.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { BushCommand, BushMessage, BushSlashMessage } from '@lib'; - -export default class JoinRolesCommand extends BushCommand { - public constructor() { - super('joinRoles', { - aliases: ['joinroles', 'joinrole', 'jr'], - category: 'config', - description: { - content: 'This command has been deprecated, please use the config command instead', - usage: 'joinroles ', - examples: ['joinroles @member'] - }, - channel: 'guild', - hidden: true, - clientPermissions: ['SEND_MESSAGES'], - userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD'] - }); - } - - public override async exec(message: BushMessage | BushSlashMessage): Promise { - return message.util.reply(`${util.emojis.error} 'This command has been deprecated, please use the config command instead'`); - } -} diff --git a/src/commands/config/muteRole.ts b/src/commands/config/muteRole.ts deleted file mode 100644 index 6d3c9f6..0000000 --- a/src/commands/config/muteRole.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { BushCommand, BushMessage, BushSlashMessage } from '@lib'; - -export default class MuteRoleCommand extends BushCommand { - public constructor() { - super('muteRole', { - aliases: ['muterole'], - category: 'config', - description: { - content: 'This command has been deprecated, please use the config command instead', - usage: 'muterole ', - examples: ['muterole 748912426581229690'] - }, - channel: 'guild', - hidden: true, - clientPermissions: ['SEND_MESSAGES'], - userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD'] - }); - } - - override async exec(message: BushMessage | BushSlashMessage): Promise { - return message.util.reply(`${util.emojis.error} 'This command has been deprecated, please use the config command instead'`); - } -} diff --git a/src/commands/config/prefix.ts b/src/commands/config/prefix.ts deleted file mode 100644 index 5cd75b3..0000000 --- a/src/commands/config/prefix.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { BushCommand, BushMessage, BushSlashMessage } from '@lib'; - -export default class PrefixCommand extends BushCommand { - public constructor() { - super('prefix', { - aliases: ['prefix'], - category: 'config', - description: { - content: 'This command has been deprecated, please use the config command instead', - usage: 'prefix [prefix]', - examples: ['prefix', 'prefix -'] - }, - channel: 'guild', - hidden: true, - clientPermissions: ['SEND_MESSAGES'], - userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD'] - }); - } - - override async exec(message: BushMessage | BushSlashMessage): Promise { - return message.util.reply(`${util.emojis.error} 'This command has been deprecated, please use the config command instead'`); - } -} diff --git a/src/commands/config/punishmentFooter.ts b/src/commands/config/punishmentFooter.ts deleted file mode 100644 index 79e3df3..0000000 --- a/src/commands/config/punishmentFooter.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { BushCommand, BushMessage, BushSlashMessage } from '@lib'; - -export default class PunishmentFooterCommand extends BushCommand { - public constructor() { - super('punishmentFooter', { - aliases: ['punishmentfooter'], - category: 'config', - description: { - content: 'This command has been deprecated, please use the config command instead', - usage: 'punishmentfooter [message]', - examples: ['punishmentfooter', 'prefix you can appeal at https://example.com.'] - }, - channel: 'guild', - hidden: true, - clientPermissions: ['SEND_MESSAGES'], - userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD'] - }); - } - - override async exec(message: BushMessage | BushSlashMessage): Promise { - return message.util.reply(`${util.emojis.error} 'This command has been deprecated, please use the config command instead'`); - } -} diff --git a/src/commands/config/welcomeChannel.ts b/src/commands/config/welcomeChannel.ts deleted file mode 100644 index c94b416..0000000 --- a/src/commands/config/welcomeChannel.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { BushCommand, BushMessage, BushSlashMessage } from '@lib'; - -export default class WelcomeChannelCommand extends BushCommand { - public constructor() { - super('welcomeChannel', { - aliases: ['welcomechannel', 'wc'], - category: 'config', - description: { - content: 'This command has been deprecated, please use the config command instead', - usage: 'welcomechannel [channel]', - examples: ['welcomechannel #welcome'] - }, - channel: 'guild', - hidden: true, - clientPermissions: ['SEND_MESSAGES'], - userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD'] - }); - } - public override async exec(message: BushMessage | BushSlashMessage): Promise { - return message.util.reply(`${util.emojis.error} 'This command has been deprecated, please use the config command instead'`); - } -} -- cgit