mirror of
https://github.com/discord/discord-api-spec.git
synced 2026-05-01 06:20:33 -04:00
Automated spec update (208988)
This commit is contained in:
parent
6e6f984d3f
commit
eb04c76f20
2 changed files with 34 additions and 2 deletions
|
|
@ -36955,7 +36955,23 @@
|
||||||
},
|
},
|
||||||
"TeamMemberRoles": {
|
"TeamMemberRoles": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"oneOf": []
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"title": "ADMIN",
|
||||||
|
"description": "Admins have similar access as owners, except they cannot take destructive actions on the team or team-owned apps.",
|
||||||
|
"const": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "DEVELOPER",
|
||||||
|
"description": "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.",
|
||||||
|
"const": "developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "READ_ONLY",
|
||||||
|
"description": "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. Members can also invite bots associated with team-owned apps that are marked private.",
|
||||||
|
"const": "read_only"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"TeamMembershipStates": {
|
"TeamMembershipStates": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|
|
||||||
|
|
@ -37401,7 +37401,23 @@
|
||||||
},
|
},
|
||||||
"TeamMemberRoles": {
|
"TeamMemberRoles": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"oneOf": []
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"title": "ADMIN",
|
||||||
|
"description": "Admins have similar access as owners, except they cannot take destructive actions on the team or team-owned apps.",
|
||||||
|
"const": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "DEVELOPER",
|
||||||
|
"description": "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.",
|
||||||
|
"const": "developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "READ_ONLY",
|
||||||
|
"description": "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. Members can also invite bots associated with team-owned apps that are marked private.",
|
||||||
|
"const": "read_only"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"TeamMembershipStates": {
|
"TeamMembershipStates": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue