Struct discord::EditMember
[−]
[src]
pub struct EditMember(_);
Patch content for the edit_member
call.
Methods
impl EditMember
[src]
fn nickname(self, nick: &str) -> Self
Edit the member's nickname. Supply the empty string to remove a nickname.
fn mute(self, mute: bool) -> Self
Edit whether the member is server-muted.
fn deaf(self, deafen: bool) -> Self
Edit whether the member is server-deafened.
fn roles(self, roles: &[RoleId]) -> Self
Edit the member's assigned roles.
fn channel(self, channel: ChannelId) -> Self
Move the member to another voice channel.