Class AddGuildUserProperties
Properties that are used to add a new Discord.IGuildUser to the guild with the following parameters.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class AddGuildUserProperties
Properties​
Nickname​
Gets or sets the user's nickname.
View Source​
Declaration
public Optional<string> Nickname { get; set; }
Mute​
Gets or sets whether the user should be muted in a voice channel.
View Source​
Declaration
public Optional<bool> Mute { get; set; }
Deaf​
Gets or sets whether the user should be deafened in a voice channel.
View Source​
Declaration
public Optional<bool> Deaf { get; set; }
Roles​
Gets or sets the roles the user should have.
View Source​
Declaration
public Optional<IEnumerable<IRole>> Roles { get; set; }
RoleIds​
Gets or sets the roles the user should have.
View Source​
Declaration
public Optional<IEnumerable<ulong>> RoleIds { get; set; }