1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-18 00:31:00 -05:00
Daggerbot-TS/src/commands/remind.ts

19 lines
656 B
TypeScript
Raw Normal View History

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'))
}