Impossible to timeout members from GuildMembersManager object

Hello, in my script I tried to timeout a member from the GuildMembersManager object as it is possible with kick or ban but it gives me the error guild.members.timeout is not a function yet there is this pr that has been merge which seems to do what I want. What can I do? https://github.com/discordjs/discord.js/pull/7104
GitHub
feat(GuildMember): Add timeouts by Jiralite · Pull Request #7104 · ...
Description discord/discord-api-docs#4075 Checklist Add communication_disabled_until property in the GuildMember class Support modifying communication_disabled_until in GuildMemberManager#edit...
5 Replies
d.js toolkit
d.js toolkit5mo 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!
treble/luna
treble/luna5mo ago
Because its a method on GuildMember
Kiriox
KirioxOP5mo ago
Oh, I read it wrong But this is not possible from guildmembersmanager?
duck
duck5mo ago
if you wanted to specifically do it from the manager, you'd need to use guild.members.edit() (specifically editing communicationDisabledUntil)
Kiriox
KirioxOP5mo ago
Perfect thank you
Want results from more Discord servers?
Add your server