mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-12-24 13:29:22 +01:00
fix(arabot): change removeAll to purge so discord accepts the subcommand
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user