2024-01-14 01:51:17 -05:00
|
|
|
import Discord from 'discord.js';
|
|
|
|
import TClient from '../client.js';
|
|
|
|
import Punish from '../components/Punish.js';
|
2024-01-14 03:06:27 -05:00
|
|
|
export default class Remind {
|
2024-01-14 01:51:17 -05:00
|
|
|
static run(client: TClient, interaction: Discord.ChatInputCommandInteraction<'cached'>){
|
|
|
|
Punish(client, interaction, 'remind');
|
|
|
|
}
|
|
|
|
static data = new Discord.SlashCommandBuilder()
|
2024-01-14 03:06:27 -05:00
|
|
|
.setName('remind')
|
2024-01-14 01:51:17 -05:00
|
|
|
.setDescription('Remind a member that they\'re breaking the rules')
|
|
|
|
.addUserOption(x=>x
|
|
|
|
.setName('member')
|
|
|
|
.setDescription('Which member to remind?')
|
|
|
|
.setRequired(true))
|
|
|
|
.addStringOption(x=>x
|
|
|
|
.setName('reason')
|
|
|
|
.setDescription('Reason for the reminder'))
|
|
|
|
}
|