aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/customAutomodPhrases.ts
blob: 9fbebf5b438af9dd0dbfc00ad45dc87f6f38f39a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// import { BushCommand, type BushMessage, type BushSlashMessage } from '#lib';

// export default class CustomAutomodPhrasesCommand extends BushCommand {
// 	public constructor() {
// 		super('customAutomodPhrases', {
// 			aliases: ['custom-automod-phrases'],
// 			category: 'config',
// 			description: {
// 				content: 'Configure additional phrases to be used for automod.',
// 				usage: ['custom-automod-phrases <requiredArg> [optionalArg]'],
// 				examples: ['custom-automod-phrases 1 2']
// 			},
// 			args: [
// 				{
// 					id: 'required_argument',
// 					type: 'string',
// 					prompt: {
// 						start: 'What would you like to set your first argument to be?',
// 						retry: '{error} Pick a valid argument.',
// 						optional: false
// 					}
// 				},
// 				{
// 					id: 'optional_argument',
// 					type: 'string',
// 					prompt: {
// 						start: 'What would you like to set your second argument to be?',
// 						retry: '{error} Pick a valid argument.',
// 						optional: true
// 					}
// 				}
// 			],
// 			slash: true,
// 			slashOptions: [
// 				{
// 					name: 'required_argument',
// 					description: 'What would you like to set your first argument to be?',
// 					type: 'STRING',
// 					required: true
// 				},
// 				{
// 					name: 'optional_argument',
// 					description: 'What would you like to set your second argument to be?',
// 					type: 'STRING',
// 					required: false
// 				}
// 			],
// 			channel: 'guild',
// 			clientPermissions: (m) => util.clientSendAndPermCheck(m),
// 			userPermissions: ['MANAGE_GUILD']
// 		});
// 	}

// 	public override async exec(
// 		message: BushMessage | BushSlashMessage,
// 		args: { required_argument: string; optional_argument: string }
// 	) {
// 		return await message.util.reply(`${util.emojis.error} Do not use the template command.`);
// 		args;
// 	}
// }