Skip to main content

DiscordTeamMemberRole

@discordeno/bot


Documentation / @discordeno/bot / DiscordTeamMemberRole

Enumeration: DiscordTeamMemberRole

Defined in: packages/types/dist/types/discord.d.ts:3382

https://discord.com/developers/docs/topics/teams#team-member-roles-team-member-role-types

Enumeration Members

Admin

Admin: "admin"

Defined in: packages/types/dist/types/discord.d.ts:3386

Admins have similar access as owners, except they cannot take destructive actions on the team or team-owned apps.


Developer

Developer: "developer"

Defined in: packages/types/dist/types/discord.d.ts:3392

Developers can access information about team-owned apps, like the client secret or public key. They can also take limited actions on team-owned apps, like configuring interaction endpoints or resetting the bot token. Members with the Developer role cannot manage the team or its members, or take destructive actions on team-owned apps.


Owner

Owner: "owner"

Defined in: packages/types/dist/types/discord.d.ts:3384

Owners are the most permissiable role, and can take destructive, irreversible actions like deleting the team itself. Teams are limited to 1 owner.


ReadOnly

ReadOnly: "read_only"

Defined in: packages/types/dist/types/discord.d.ts:3394

Read-only members can access information about a team and any team-owned apps. Some examples include getting the IDs of applications and exporting payout records.