Table of Contents

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 = 0

Admins have similar access to owners, with the exception of destructive actions, such as deleting applications.

[JsonPropertyName("developer")] Developer = 1

Developers 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 = 2

Read-only users can access information about a team and its applications, such as application IDs, and payout records.

They can also invite private applications.

Remarks

Each role inherits the properties of the role below it, in the order of ReadOnly, Developer, Admin.

Only owners can take destructive, irreversible actions like deleting team-owned apps or the team itself. Teams are limited to 1 owner.