Table of Contents

Class AddGuildUserProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll

Properties that are used to add a new IGuildUser to the guild with the following parameters.

public class AddGuildUserProperties
Inheritance
AddGuildUserProperties
Inherited Members

Properties

Deaf

Gets or sets whether the user should be deafened in a voice channel.

public Optional<bool> Deaf { get; set; }

Property Value

Optional<bool>

Remarks

If this value is set to true, this user will not be able to hear anyone speak in the guild.

Mute

Gets or sets whether the user should be muted in a voice channel.

public Optional<bool> Mute { get; set; }

Property Value

Optional<bool>

Remarks

If this value is set to true, no user will be able to hear this user speak in the guild.

Nickname

Gets or sets the user's nickname.

public Optional<string> Nickname { get; set; }

Property Value

Optional<string>

Remarks

To clear the user's nickname, this value can be set to null or Empty.

RoleIds

Gets or sets the roles the user should have.

public Optional<IEnumerable<ulong>> RoleIds { get; set; }

Property Value

Optional<IEnumerable<ulong>>

Remarks

Roles

Gets or sets the roles the user should have.

public Optional<IEnumerable<IRole>> Roles { get; set; }

Property Value

Optional<IEnumerable<IRole>>

Remarks

See Also