#setDMPermission is not a function

15 messages · Page 1 of 1 (latest)

potent seal
#

I'm having the same issue, except djs is 14.0.3 and rest is 1.0.0
Uncaught TypeError TypeError: option.setName(...).setDescription(...).setRequired(...).setDMPermission is not a function

#

I think I might have figured it out, can the .setDMPermission function not be applied to subcommands?

rustic cairn
delicate lake
#

full error log:

TypeError: (intermediate value).setName(...).setDescription(...).setDMPermission is not a function
#

do i have to update my /builders?

obsidian river
#

yes this is an issue with your outdated version of builders
consider using the version that comes with djs, and if you are, then update djs

delicate lake
#

oh ok

#

my djs is already updated

#

so i have to just manually update builders i guess

obsidian river
#

or just don't manually install builders, as discord.js has builders as a dependency

delicate lake
#

fixed thanks

#

gotta archieve this cuz it's resolved