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
|
// import { BushCommand, clientSendAndPermCheck, type ArgType, type CommandMessage, type OptArgType, type SlashMessage } from '#lib';
// import { ApplicationCommandOptionType, PermissionFlagsBits } from 'discord.js';
// export default class CustomAutomodPhrasesCommand extends BushCommand {
// public constructor() {
// super('customAutomodPhrases', {
// aliases: ['custom-automod-phrases'],
// category: 'config',
// description: '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',
// description: 'This is the first argument.',
// prompt: 'What would you like to set your first argument to be?',
// retry: '{error} Pick a valid argument.',
// slashType: ApplicationCommandOptionType.String
// },
// {
// id: 'optional_argument',
// type: 'string',
// description: 'This is the second argument.',
// prompt: 'What would you like to set your second argument to be?',
// retry: '{error} Pick a valid argument.',
// optional: true,
// slashType: ApplicationCommandOptionType.String
// }
// ],
// slash: true,
// channel: 'guild',
// clientPermissions: [],
// userPermissions: ['ManageGuild']
// });
// }
// public override async exec(
// message: CommandMessage | SlashMessage,
// args: { required_argument: ArgType<'string'>; optional_argument: OptArgType<'string'> }
// ) {}
// }
|