299 |
|
|
300 |
new SlashCommandBuilder().setName('shot').setDescription('Give a shot to a member') |
new SlashCommandBuilder().setName('shot').setDescription('Give a shot to a member') |
301 |
.addUserOption(option => option.setName('member').setDescription("The member").setRequired(true)) |
.addUserOption(option => option.setName('member').setDescription("The member").setRequired(true)) |
302 |
.addStringOption(option => option.setName('reason').setDescription("The reason for giving shot to this user")), |
.addStringOption(option => option.setName('reason').setDescription("The reason for giving shot to this user")) |
303 |
|
.addBooleanOption(option => option.setName('anonymous').setDescription("Prevents sending your name as the 'Doctor' of the shot")), |
304 |
|
|
305 |
new SlashCommandBuilder().setName('warn').setDescription('Warn a member') |
new SlashCommandBuilder().setName('warn').setDescription('Warn a member') |
306 |
.addUserOption(option => option.setName('member').setDescription("The member").setRequired(true)) |
.addUserOption(option => option.setName('member').setDescription("The member").setRequired(true)) |
324 |
|
|
325 |
new SlashCommandBuilder().setName('warning').setDescription('Clear, remove or view warnings') |
new SlashCommandBuilder().setName('warning').setDescription('Clear, remove or view warnings') |
326 |
.addSubcommand(subcmd => { |
.addSubcommand(subcmd => { |
327 |
return subcmd.setName('view').setDescription('View information about a warning').addNumberOption(option => option.setName('id').setDescription("The warning ID").setRequired(true)); |
return subcmd.setName('view').setDescription('View information about a warning').addStringOption(option => option.setName('id').setDescription("The warning ID").setRequired(true)); |
328 |
}) |
}) |
329 |
.addSubcommand(subcmd => { |
.addSubcommand(subcmd => { |
330 |
return subcmd.setName('remove').setDescription('Remove a warning').addNumberOption(option => option.setName('id').setDescription("The warning ID").setRequired(true)); |
return subcmd.setName('remove').setDescription('Remove a warning').addStringOption(option => option.setName('id').setDescription("The warning ID").setRequired(true)); |
331 |
}) |
}) |
332 |
.addSubcommand(subcmd => { |
.addSubcommand(subcmd => { |
333 |
return subcmd.setName('list').setDescription('List warnings for a user').addUserOption(option => option.setName('user').setDescription("The user").setRequired(true)); |
return subcmd.setName('list').setDescription('List warnings for a user').addUserOption(option => option.setName('user').setDescription("The user").setRequired(true)); |