aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-23 20:40:11 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-23 20:40:11 -0400
commitca10e6566b82c16a12760efdf39578364fb10536 (patch)
tree7cd1f2fb0527ad64a8930cb42bd11a570077bc62 /src/commands
parent60aabff72f1f501c2d351916e4323bd85c61f5f2 (diff)
downloadtanzanite-ca10e6566b82c16a12760efdf39578364fb10536.tar.gz
tanzanite-ca10e6566b82c16a12760efdf39578364fb10536.tar.bz2
tanzanite-ca10e6566b82c16a12760efdf39578364fb10536.zip
comment out features command
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/config/features.ts56
1 files changed, 28 insertions, 28 deletions
diff --git a/src/commands/config/features.ts b/src/commands/config/features.ts
index 1974297..d37ce25 100644
--- a/src/commands/config/features.ts
+++ b/src/commands/config/features.ts
@@ -1,29 +1,29 @@
-import { BushCommand, BushMessage, BushSlashMessage, guildFeatures } from '@lib';
-import { MessageEmbed } from 'discord.js';
+// import { BushCommand, BushMessage, BushSlashMessage, guildFeatures } from '@lib';
+// import { MessageEmbed } from 'discord.js';
-export default class FeaturesCommand extends BushCommand {
- public constructor() {
- super('features', {
- aliases: ['features'],
- category: 'config',
- description: {
- content: 'Toggle features the server.',
- usage: 'features',
- examples: ['features']
- },
- slash: true,
- channel: 'guild',
- clientPermissions: ['SEND_MESSAGES', 'EMBED_LINKS'],
- userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD']
- });
- }
- public override async exec(message: BushMessage | BushSlashMessage): Promise<unknown> {
- if (!message.guild) return await message.util.reply(`${util.emojis.error} This command can only be used in servers.`);
- const featureEmbed = new MessageEmbed().setTitle(`${message.guild.name}'s Features`).setColor(util.colors.default);
- const featureList: string[] = [];
- const enabledFeatures = await message.guild.getSetting('enabledFeatures');
- guildFeatures.forEach((feature) => {
- // featureList.push(`**${feature}:** ${enabledFeatures.includes(feature)? util.emojis.}`);
- });
- }
-}
+// export default class FeaturesCommand extends BushCommand {
+// public constructor() {
+// super('features', {
+// aliases: ['features'],
+// category: 'config',
+// description: {
+// content: 'Toggle features the server.',
+// usage: 'features',
+// examples: ['features']
+// },
+// slash: true,
+// channel: 'guild',
+// clientPermissions: ['SEND_MESSAGES', 'EMBED_LINKS'],
+// userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD']
+// });
+// }
+// public override async exec(message: BushMessage | BushSlashMessage): Promise<unknown> {
+// if (!message.guild) return await message.util.reply(`${util.emojis.error} This command can only be used in servers.`);
+// const featureEmbed = new MessageEmbed().setTitle(`${message.guild.name}'s Features`).setColor(util.colors.default);
+// const featureList: string[] = [];
+// const enabledFeatures = await message.guild.getSetting('enabledFeatures');
+// guildFeatures.forEach((feature) => {
+// // featureList.push(`**${feature}:** ${enabledFeatures.includes(feature)? util.emojis.}`);
+// });
+// }
+// }