Table of Contents

Property Roles

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Roles

The roles given to the user when accepting the invite.

[JsonProperty("roles", NullValueHandling = NullValueHandling.Ignore)]
public IReadOnlyList<DiscordRole>? Roles { get; }

Property Value

IReadOnlyList<DiscordRole>