disable /say command in DM
This commit is contained in:
parent
ff5882730d
commit
0e4329492e
2 changed files with 3 additions and 10 deletions
|
@ -49,7 +49,8 @@ export const reuploadCommands = async () => {
|
|||
.setDescription('Just content?')
|
||||
.setRequired(true)
|
||||
)
|
||||
.setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers),
|
||||
.setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers)
|
||||
.setDMPermission(false),
|
||||
new SlashCommandBuilder().setName('joke').setDescription("it's a joke"),
|
||||
].map((command) => command.toJSON());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue