I can't use permissionOverwrites methods

Maybe i'm missing some required things.
27 Replies
d.js toolkit
d.js toolkit•10mo 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
Mami•10mo ago
I tried permissionOverwrites.edit(...) and error looks like this
Mami
Mami•10mo ago
Mami
Mami•10mo ago
Here is my intents
Mami
Mami•10mo ago
Mami
Mami•10mo ago
the problem is there is no function or something after writing permissionOverwrites
Mami
Mami•10mo ago
in docs theres alot of methods
Mami
Mami•10mo ago
ops sory
d.js docs
d.js docs•10mo ago
method PermissionOverwriteManager#edit() Edits permission overwrites for a user or role in this channel, or creates an entry if not already present.
Mami
Mami•10mo 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
Mami•10mo ago
i don't understand your question but this is my command
Mami
Mami•10mo ago
i think you want this
Mami
Mami•10mo 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
Mami•10mo ago
Mami
Mami•10mo ago
replaced it
Mami
Mami•10mo ago
i changed something like you tel
Mami
Mami•10mo 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
Mami•10mo ago
how can i make this intellisense work?
Mami
Mami•10mo ago
i removed all await and async
Mami
Mami•10mo ago
Mami
Mami•10mo ago
if you wan't i can send all of code here if it will helps to you
Mami
Mami•10mo ago
same :(
Mami
Mami•10mo ago
any nothing changed yeeeeeeep
Mami
Mami•10mo ago
it worked
Mami
Mami•10mo 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•10mo ago
property GuildMember#nickname The nickname of this member, if they have one
Mami
Mami•10mo ago
wow you are awesome thank you sooo much i think it's time to close this post