feat: add tag mentions and deletions

This commit is contained in:
Ryan Cao 2022-09-12 15:01:26 +08:00
parent 6673a8a36c
commit ff5882730d
No known key found for this signature in database
3 changed files with 38 additions and 2 deletions

View file

@ -27,6 +27,12 @@ export const reuploadCommands = async () => {
.setDescription('The tag name')
.setRequired(true)
.addChoices(...tags.map((b) => ({ name: b.name, value: b.name })))
)
.addUserOption((option) =>
option
.setName('user')
.setDescription('The user to mention')
.setRequired(false)
),
new SlashCommandBuilder()
.setName('modrinth')