-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(GuildMember): Add timeouts #7104
Conversation
This should really be in the manager with the relevant API method that uses it.
It's what Discord ultimately accepts.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I believe that's all permission checks done. Feel free to re-review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could GuildMember#moderatable be added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See if we can use a single return adding the timeout
with specific permissions
Sure, but Prettier would want these to be on multiple lines anyway. I'll do it nonetheless. |
Description
Checklist
communication_disabled_until
property in theGuildMember
classcommunication_disabled_until
inGuildMemberManager#edit()
GuildMember
MODERATE_MEMBERS
permissionClassification