229 |
new SlashCommandBuilder().setName('history').setDescription('Fetch all moderation history for a user') |
new SlashCommandBuilder().setName('history').setDescription('Fetch all moderation history for a user') |
230 |
.addUserOption(option => option.setName('user').setDescription("The user").setRequired(true)), |
.addUserOption(option => option.setName('user').setDescription("The user").setRequired(true)), |
231 |
|
|
232 |
new SlashCommandBuilder().setName('clear').setDescription('Clear all messages in the current channel for a user') |
new SlashCommandBuilder().setName('clear').setDescription('Clear messages in bulk') |
233 |
.addUserOption(option => option.setName('user').setDescription("The user")) |
.addUserOption(option => option.setName('user').setDescription("The user")) |
234 |
.addIntegerOption(option => option.setName('count').setDescription("The amount of messages to delete").setMaxValue(400).setMinValue(0)) |
.addIntegerOption(option => option.setName('count').setDescription("The amount of messages to delete").setMaxValue(400).setMinValue(0)) |
235 |
.addChannelOption(option => option.setName('channel').setDescription("The channel where the messages will be deleted")), |
.addChannelOption(option => option.setName('channel').setDescription("The channel where the messages will be deleted")), |
278 |
new SlashCommandBuilder().setName('send').setDescription('Send a DM to a user') |
new SlashCommandBuilder().setName('send').setDescription('Send a DM to a user') |
279 |
.addStringOption(option => option.setName('content').setDescription("The message content").setRequired(true)) |
.addStringOption(option => option.setName('content').setDescription("The message content").setRequired(true)) |
280 |
.addUserOption(option => option.setName('member').setDescription("The member").setRequired(true)), |
.addUserOption(option => option.setName('member').setDescription("The member").setRequired(true)), |
281 |
|
|
282 |
|
|
283 |
|
new SlashCommandBuilder().setName('appeal').setDescription('Send us a messages about a punishment appeal') |
284 |
].map(command => command.toJSON()); |
].map(command => command.toJSON()); |
285 |
|
|
286 |
if (process.argv.includes('--clear')) { |
if (process.argv.includes('--clear')) { |