fix(arabot): change removeAll to purge so discord accepts the subcommand

This commit is contained in:
Anthony 2022-07-28 05:20:55 +01:00
parent 2dcef435b1
commit f79a196fe4

View File

@ -141,7 +141,7 @@ export class SusCommand extends Command {
.setDescription('Sus note ID') .setDescription('Sus note ID')
.setRequired(true))) .setRequired(true)))
// Subcommand to remove all sus notes // Subcommand to remove all sus notes
.addSubcommand((command) => command.setName('removeAll') .addSubcommand((command) => command.setName('purge')
.setDescription('Remove all sus notes from a user') .setDescription('Remove all sus notes from a user')
.addUserOption((option) => option.setName('user') .addUserOption((option) => option.setName('user')
.setDescription('User to remove the note from') .setDescription('User to remove the note from')