Does anyone know if the defaultMemberPermissions can set a job id or just PermissionFlagsBits?

module.exports = {
name: "teste",
description: "teste",
defaultMemberPermissions: PermissionFlagsBits.Administrator,
type: Discord.ApplicationCommandType.ChatInput,
options: [
{
name: "valor",
description: "Valor para ser Resgatado",
type: Discord.ApplicationCommandOptionType.Number,
required: true,
},
],
module.exports = {
name: "teste",
description: "teste",
defaultMemberPermissions: PermissionFlagsBits.Administrator,
type: Discord.ApplicationCommandType.ChatInput,
options: [
{
name: "valor",
description: "Valor para ser Resgatado",
type: Discord.ApplicationCommandOptionType.Number,
required: true,
},
],
Does anyone know if the defaultMemberPermissions can set a job id or just PermissionFlagsBits?
1 Reply
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Want results from more Discord servers?
Add your server