I can't use permissionOverwrites methods

Maybe i'm missing some required things.
27 Replies
d.js toolkit
d.js toolkit•16mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Mami
MamiOP•16mo ago
I tried permissionOverwrites.edit(...) and error looks like this
Mami
MamiOP•16mo ago
Mami
MamiOP•16mo ago
Here is my intents
Mami
MamiOP•16mo ago
Mami
MamiOP•16mo ago
the problem is there is no function or something after writing permissionOverwrites
Mami
MamiOP•16mo ago
in docs theres alot of methods
Mami
MamiOP•16mo ago
ops sory
d.js docs
d.js docs•16mo ago
method PermissionOverwriteManager#edit() Edits permission overwrites for a user or role in this channel, or creates an entry if not already present.
Mami
MamiOP•16mo ago
ok wait pls i try set() and response here it worked :D thank you a lot i just scared about there is no intellisense
Mami
MamiOP•16mo ago
i don't understand your question but this is my command
Mami
MamiOP•16mo ago
i think you want this
Mami
MamiOP•16mo ago
i added opposite if but i don't understand replacing to getUser and i'm sorry about my english sometimes i don't understand what did you want to tell by the way what happened to your mod role
Mami
MamiOP•16mo ago
Mami
MamiOP•16mo ago
replaced it
Mami
MamiOP•16mo ago
i changed something like you tel
Mami
MamiOP•16mo ago
and works how i want can i ask one more question if you don't get angry to me bc i'm gonna ask the same question
Mami
MamiOP•16mo ago
how can i make this intellisense work?
Mami
MamiOP•16mo ago
i removed all await and async
Mami
MamiOP•16mo ago
Mami
MamiOP•16mo ago
if you wan't i can send all of code here if it will helps to you
Mami
MamiOP•16mo ago
same :(
Mami
MamiOP•16mo ago
any nothing changed yeeeeeeep
Mami
MamiOP•16mo ago
it worked
Mami
MamiOP•16mo ago
thank you a lot again and again and removed the optional chain is thread means post like this channel? i understand i have one more question 🥺 how can i get users in server nickname
d.js docs
d.js docs•16mo ago
property GuildMember#nickname The nickname of this member, if they have one
Mami
MamiOP•16mo ago
wow you are awesome thank you sooo much i think it's time to close this post
Want results from more Discord servers?
Add your server