CurrentMemberEditAction¶
Inherits: DiscordRESTAction < Reference < Object
Description¶
Action to edit the current guild member.
Methods¶
return type | signature |
---|---|
Guild.Member | submit ( ) coroutine |
CurrentMemberEditAction | set_nickname ( String nickname ) |
CurrentMemberEditAction | reason ( String why ) |
Method Descriptions¶
-
CurrentMemberEditAction CurrentMemberEditAction ( DiscordRESTMediator rest, int guild_id )
Constructs a new
CurrentMemberEditAction
instance.
-
Guild.Member submit ( ) coroutine
Edits the current member profile.
-
CurrentMemberEditAction set_nickname ( String nickname )
Sets the current member nickname. Requires
CHANGE_NICKNAME
permission.
-
CurrentMemberEditAction reason ( String why )
Sets the reason for editing the current member.