feat: add role menu

This commit is contained in:
Ryan Cao 2022-09-16 22:48:07 +08:00
parent 3367443e32
commit 8bcdddccae
No known key found for this signature in database
3 changed files with 131 additions and 26 deletions

View file

@ -51,6 +51,11 @@ export const reuploadCommands = async () => {
)
.setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers)
.setDMPermission(false),
new SlashCommandBuilder()
.setName('rolemenu')
.setDescription('Make a role menu')
.setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers)
.setDMPermission(false),
new SlashCommandBuilder().setName('joke').setDescription("it's a joke"),
].map((command) => command.toJSON());