Discore
Show / Hide Table of Contents

Class ModifyGuildMemberOptions

An optional set of parameters to change the attributes of a guild member.

Inheritance
object
ModifyGuildMemberOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class ModifyGuildMemberOptions

Properties

Name Description
ChannelId

Gets or sets the ID of the voice channel to move the member to if they are currently connected to voice (or null to leave unchanged).

The current bot must have permission to connect to this channel.

Requires MoveMembers.

IsServerDeaf

Gets or sets whether the member is server deafened (or null to leave unchanged).

Requires DeafenMembers.

IsServerMute

Gets or sets whether the member is server muted (or null to leave unchanged).

Requires MuteMembers.

Nickname

Gets or sets the member's nickname for the guild (or null to leave unchanged).

Requires ManageNicknames.

RoleIds

Gets or sets a list of IDs for each role the member is to be assigned to (or null to leave unchanged).

Requires ManageRoles.

Methods

Name Description
SetNickname(string)

Sets the member's nickname for the guild.

Requires ManageNicknames.

SetRoles(IEnumerable<Snowflake>)

Sets the roles the member is to be assigned to.

Requires ManageRoles.

SetServerDeaf(bool)

Sets whether the member is server deafened.

Requires DeafenMembers.

SetServerMute(bool)

Sets whether the member is server mute.

Requires MuteMembers.

SetVoiceChannel(Snowflake)

Sets the ID of the voice channel to move the member to (if they are currently connected to voice).

The current bot must have permission to connect to this channel.

Requires MoveMembers.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX