aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-01 22:21:06 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-01 22:21:06 -0400
commit930b1a46830567fd51780f301e550dbf4a87c7f3 (patch)
tree9d04995d668238b4ab4e0e3d00accfb798e8b476 /src/commands
parent560ed31860a420dcc43571d2e12dd2f51bcee7a8 (diff)
downloadtanzanite-930b1a46830567fd51780f301e550dbf4a87c7f3.tar.gz
tanzanite-930b1a46830567fd51780f301e550dbf4a87c7f3.tar.bz2
tanzanite-930b1a46830567fd51780f301e550dbf4a87c7f3.zip
remove old config commands
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/config/autoPublishChannel.ts23
-rw-r--r--src/commands/config/joinRoles.ts23
-rw-r--r--src/commands/config/muteRole.ts23
-rw-r--r--src/commands/config/prefix.ts23
-rw-r--r--src/commands/config/punishmentFooter.ts23
-rw-r--r--src/commands/config/welcomeChannel.ts22
6 files changed, 0 insertions, 137 deletions
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 <channel>',
- examples: ['autopublishchannel #github']
- },
- channel: 'guild',
- hidden: true,
- clientPermissions: ['SEND_MESSAGES'],
- userPermissions: ['MANAGE_GUILD', 'SEND_MESSAGES']
- });
- }
-
- public override async exec(message: BushMessage): Promise<unknown> {
- 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 <role>',
- examples: ['joinroles @member']
- },
- channel: 'guild',
- hidden: true,
- clientPermissions: ['SEND_MESSAGES'],
- userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD']
- });
- }
-
- public override async exec(message: BushMessage | BushSlashMessage): Promise<unknown> {
- 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 <role>',
- examples: ['muterole 748912426581229690']
- },
- channel: 'guild',
- hidden: true,
- clientPermissions: ['SEND_MESSAGES'],
- userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD']
- });
- }
-
- override async exec(message: BushMessage | BushSlashMessage): Promise<unknown> {
- 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<unknown> {
- 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<unknown> {
- 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<unknown> {
- return message.util.reply(`${util.emojis.error} 'This command has been deprecated, please use the config command instead'`);
- }
-}