Enum TeamRole
- Namespace
- NetCord
- Assembly
- NetCord.dll
Represents a TeamUser's role within a team, excluding owners, which are represented in the OwnerId property.
[JsonConverter(typeof(SafeStringEnumConverter<TeamRole>))]
public enum TeamRole : sbyte
Fields
[JsonPropertyName("admin")] Admin = 0Admins have similar access to owners, with the exception of destructive actions, such as deleting applications.
[JsonPropertyName("developer")] Developer = 1Developers have access to sensitive information, such as client secrets and public keys.
They can also take some limited actions, such as configuring interaction endpoints, or resetting bot tokens.
Developers cannot manage the team or its members.
[JsonPropertyName("read-only")] ReadOnly = 2Read-only users can access information about a team and its applications, such as application IDs, and payout records.
They can also invite private applications.