@oomol-lab/open-connector 1.6.5 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/open-connector/catalog/apps/aisa.json +6138 -312
- package/assets/open-connector/catalog/apps/baizhi_mcp.json +135 -0
- package/assets/open-connector/catalog/apps/discordbot.json +2888 -248
- package/assets/open-connector/catalog/apps/drawio_mcp.json +192 -0
- package/assets/open-connector/catalog/apps/firecrawl.json +176 -32
- package/assets/open-connector/catalog/apps/framejet.json +273 -0
- package/assets/open-connector/catalog/apps/futunn.json +2967 -0
- package/assets/open-connector/catalog/apps/gmail.json +225 -0
- package/assets/open-connector/catalog/apps/google_analytics.json +4 -1
- package/assets/open-connector/catalog/apps/google_bigquery.json +4 -1
- package/assets/open-connector/catalog/apps/google_search_console.json +4 -1
- package/assets/open-connector/catalog/apps/googlecalendar.json +4 -1
- package/assets/open-connector/catalog/apps/googlechat.json +694 -7
- package/assets/open-connector/catalog/apps/googledocs.json +4 -1
- package/assets/open-connector/catalog/apps/googlesheets.json +4 -1
- package/assets/open-connector/catalog/apps/granola.json +23 -0
- package/assets/open-connector/catalog/apps/keepa.json +3534 -987
- package/assets/open-connector/catalog/apps/linear.json +17 -0
- package/assets/open-connector/catalog/apps/linear_mcp.json +510 -0
- package/assets/open-connector/catalog/apps/moneyforward_mcp.json +1432 -0
- package/assets/open-connector/catalog/apps/notion.json +446 -1
- package/assets/open-connector/catalog/apps/notion_mcp.json +490 -0
- package/assets/open-connector/catalog/apps/odoo.json +619 -0
- package/assets/open-connector/catalog/apps/outlook.json +30 -8
- package/assets/open-connector/catalog/apps/outlook_calendar.json +23 -2
- package/assets/open-connector/catalog/apps/postiz.json +334 -0
- package/assets/open-connector/catalog/apps/proworkflow.json +529 -0
- package/assets/open-connector/catalog/apps/sellersprite_mcp.json +2 -1
- package/assets/open-connector/catalog/apps/slack.json +223 -0
- package/assets/open-connector/catalog/apps/slackbot.json +214 -0
- package/assets/open-connector/catalog/apps/tencent_docs.json +3 -0
- package/assets/open-connector/catalog/apps/wisburg.json +1528 -0
- package/assets/open-connector/catalog/apps/youtube.json +4 -1
- package/assets/open-connector/catalog/apps/zerotier.json +3319 -0
- package/assets/open-connector/catalog/apps-index.json +1 -1
- package/package.json +1 -1
- package/src/core/cast.d.ts +10 -0
- package/src/core/cast.js +14 -0
- package/src/core/guarded-fetch.d.ts +6 -3
- package/src/core/guarded-fetch.js +6 -3
- package/src/core/provider-scenarios.js +67 -13
- package/src/core/request.js +4 -1
- package/src/core/types.d.ts +1 -1
- package/src/mcp.js +10 -7
- package/src/oauth/oauth-client-config-service.d.ts +16 -1
- package/src/oauth/oauth-client-config-service.js +59 -3
- package/src/oauth/oauth-flow-service.d.ts +6 -0
- package/src/oauth/oauth-flow-service.js +4 -2
- package/src/providers/17track/runtime.js +1 -1
- package/src/providers/action-contracts.generated.d.ts +17 -5
- package/src/providers/aifinmarket/runtime.js +1 -1
- package/src/providers/aisa/executors.js +734 -46
- package/src/providers/aliyun_ack/runtime.js +1 -1
- package/src/providers/aliyun_sls/runtime.js +1 -1
- package/src/providers/app_store_server/runtime-helpers.js +1 -1
- package/src/providers/baizhi_mcp/actions.d.ts +2 -0
- package/src/providers/baizhi_mcp/actions.js +40 -0
- package/src/providers/baizhi_mcp/executors.d.ts +3 -0
- package/src/providers/baizhi_mcp/executors.js +102 -0
- package/src/providers/bazhuayu/runtime.js +2 -2
- package/src/providers/bilibili/runtime.js +2 -4
- package/src/providers/bilibili/upload.js +9 -7
- package/src/providers/cloudflare_browser_rendering/executors.js +1 -1
- package/src/providers/cloudflare_dns/executors.js +1 -1
- package/src/providers/{cloudflare-current-user.js → cloudflare_dns/runtime-user.js} +2 -2
- package/src/providers/cloudflare_dns/runtime.d.ts +1 -1
- package/src/providers/cloudflare_dns/runtime.js +1 -1
- package/src/providers/cloudflare_r2/executors.js +1 -1
- package/src/providers/cloudflare_r2/runtime.d.ts +1 -1
- package/src/providers/cloudflare_r2/runtime.js +1 -1
- package/src/providers/cloudflare_worker/executors.js +1 -1
- package/src/providers/cloudflare_worker/runtime.d.ts +1 -1
- package/src/providers/cloudflare_worker/runtime.js +1 -1
- package/src/providers/dingtalk_mcp/runtime.js +1 -1
- package/src/providers/discordbot/executors.d.ts +0 -9
- package/src/providers/discordbot/executors.js +9 -101
- package/src/providers/discordbot/runtime-guilds.d.ts +3 -0
- package/src/providers/discordbot/runtime-guilds.js +464 -0
- package/src/providers/discordbot/runtime.d.ts +42 -0
- package/src/providers/discordbot/runtime.js +124 -0
- package/src/providers/drawio_mcp/executors.d.ts +3 -0
- package/src/providers/drawio_mcp/executors.js +19 -0
- package/src/providers/drawio_mcp/runtime.d.ts +8 -0
- package/src/providers/drawio_mcp/runtime.js +175 -0
- package/src/providers/fastmoss_mcp/executors.js +2 -2
- package/src/providers/finchina/executors.js +1 -1
- package/src/providers/framejet/executors.d.ts +4 -0
- package/src/providers/framejet/executors.js +19 -0
- package/src/providers/framejet/runtime.d.ts +16 -0
- package/src/providers/framejet/runtime.js +148 -0
- package/src/providers/futunn/actions.d.ts +2 -0
- package/src/providers/futunn/actions.js +152 -0
- package/src/providers/futunn/actions.research.d.ts +2 -0
- package/src/providers/futunn/actions.research.js +423 -0
- package/src/providers/futunn/actions.trading.d.ts +2 -0
- package/src/providers/futunn/actions.trading.js +204 -0
- package/src/providers/futunn/executors.d.ts +3 -0
- package/src/providers/futunn/executors.js +24 -0
- package/src/providers/futunn/runtime-research.d.ts +3 -0
- package/src/providers/futunn/runtime-research.js +133 -0
- package/src/providers/futunn/runtime-trading.d.ts +3 -0
- package/src/providers/futunn/runtime-trading.js +39 -0
- package/src/providers/futunn/runtime.d.ts +2 -0
- package/src/providers/futunn/runtime.js +50 -0
- package/src/providers/futunn/transport.d.ts +11 -0
- package/src/providers/futunn/transport.js +76 -0
- package/src/providers/gildata/executors.js +1 -1
- package/src/providers/gmail/executors.js +3 -3
- package/src/providers/gmail/message.d.ts +6 -8
- package/src/providers/gmail/message.js +4 -0
- package/src/providers/gmail/scopes.d.ts +32 -0
- package/src/providers/gmail/scopes.js +37 -0
- package/src/providers/google_analytics/executors.js +2 -2
- package/src/providers/google_analytics/scopes.js +6 -1
- package/src/providers/google_bigquery/executors.js +2 -2
- package/src/providers/google_bigquery/scopes.js +2 -0
- package/src/providers/google_search_console/executors.js +2 -2
- package/src/providers/google_search_console/scopes.js +2 -0
- package/src/providers/googleads/executors.js +1 -1
- package/src/providers/googleads/scopes.d.ts +1 -3
- package/src/providers/googleads/scopes.js +2 -4
- package/src/providers/googlecalendar/executors.js +1 -1
- package/src/providers/googlecalendar/runtime-shared.js +2 -2
- package/src/providers/googlecalendar/scopes.js +2 -0
- package/src/providers/googlechat/executors.d.ts +1 -3
- package/src/providers/googlechat/executors.js +219 -28
- package/src/providers/googlechat/members.d.ts +55 -0
- package/src/providers/googlechat/members.js +293 -0
- package/src/providers/googlechat/runtime.d.ts +16 -0
- package/src/providers/googlechat/runtime.js +25 -0
- package/src/providers/googlechat/scopes.d.ts +22 -3
- package/src/providers/googlechat/scopes.js +30 -7
- package/src/providers/googledocs/executors.js +1 -1
- package/src/providers/googledrive/executors.js +2 -2
- package/src/providers/{google-auth.d.ts → googledrive/runtime-auth.d.ts} +2 -2
- package/src/providers/{google-auth.js → googledrive/runtime-auth.js} +3 -3
- package/src/providers/googledrive/runtime-collaboration.js +1 -1
- package/src/providers/{google-runtime.d.ts → googledrive/runtime-request.d.ts} +1 -1
- package/src/providers/{google-runtime.js → googledrive/runtime-request.js} +2 -2
- package/src/providers/googleforms/executors.js +2 -2
- package/src/providers/googleforms/scopes.d.ts +0 -3
- package/src/providers/googleforms/scopes.js +2 -6
- package/src/providers/googlemeet/executors.js +2 -2
- package/src/providers/googlemeet/scopes.d.ts +0 -3
- package/src/providers/googlemeet/scopes.js +2 -6
- package/src/providers/googlesheets/executors.js +1 -1
- package/src/providers/googlesheets/scopes.js +2 -0
- package/src/providers/googleslides/executors.js +2 -2
- package/src/providers/googleslides/scopes.d.ts +0 -3
- package/src/providers/googleslides/scopes.js +2 -6
- package/src/providers/googletasks/executors.js +2 -2
- package/src/providers/googletasks/scopes.d.ts +0 -3
- package/src/providers/googletasks/scopes.js +2 -6
- package/src/providers/granola/actions.js +2 -0
- package/src/providers/granola/runtime-mcp.js +2 -0
- package/src/providers/granola/runtime.js +2 -2
- package/src/providers/indiegogo/executors.js +1 -1
- package/src/providers/investoday_mcp/executors.js +2 -2
- package/src/providers/iyunbiao/runtime.js +2 -2
- package/src/providers/keepa/actions.d.ts +1 -1
- package/src/providers/keepa/actions.js +371 -149
- package/src/providers/keepa/deal-attributes.d.ts +1 -0
- package/src/providers/keepa/deal-attributes.js +26 -0
- package/src/providers/keepa/runtime.js +212 -18
- package/src/providers/kingdee/executors.js +1 -1
- package/src/providers/kingdee/runtime.js +2 -2
- package/src/providers/kuaidi100/runtime.js +1 -1
- package/src/providers/linear/executors.js +12 -9
- package/src/providers/linear_mcp/actions.d.ts +47 -0
- package/src/providers/linear_mcp/actions.js +102 -0
- package/src/providers/linear_mcp/endpoints.d.ts +3 -0
- package/src/providers/linear_mcp/endpoints.js +3 -0
- package/src/providers/linear_mcp/executors.d.ts +3 -0
- package/src/providers/linear_mcp/executors.js +9 -0
- package/src/providers/linear_mcp/runtime-mcp.d.ts +15 -0
- package/src/providers/linear_mcp/runtime-mcp.js +238 -0
- package/src/providers/lingxing_mcp/runtime.js +1 -1
- package/src/providers/mcdonalds_cn_mcp/runtime.js +1 -1
- package/src/providers/metabase/mcp-runtime.js +1 -1
- package/src/providers/moneyforward_mcp/executors.d.ts +3 -0
- package/src/providers/moneyforward_mcp/executors.js +11 -0
- package/src/providers/moneyforward_mcp/manifest.d.ts +31 -0
- package/src/providers/moneyforward_mcp/manifest.js +204 -0
- package/src/providers/moneyforward_mcp/runtime.d.ts +18 -0
- package/src/providers/moneyforward_mcp/runtime.js +296 -0
- package/src/providers/notion/executors.js +39 -3
- package/src/providers/notion_mcp/endpoints.d.ts +3 -0
- package/src/providers/notion_mcp/endpoints.js +3 -0
- package/src/providers/notion_mcp/executors.d.ts +3 -0
- package/src/providers/notion_mcp/executors.js +176 -0
- package/src/providers/notion_mcp/mcp-response.d.ts +86 -0
- package/src/providers/notion_mcp/mcp-response.js +314 -0
- package/src/providers/odoo/executors.d.ts +3 -0
- package/src/providers/odoo/executors.js +32 -0
- package/src/providers/odoo/runtime.d.ts +16 -0
- package/src/providers/odoo/runtime.js +140 -0
- package/src/providers/outlook/executors.js +27 -6
- package/src/providers/outlook/microsoft-graph.js +17 -6
- package/src/providers/outlook_calendar/executors.js +24 -7
- package/src/providers/patsnap_mcp/executors.js +2 -2
- package/src/providers/postiz/executors.d.ts +4 -0
- package/src/providers/postiz/executors.js +83 -0
- package/src/providers/provider-runtime.d.ts +15 -0
- package/src/providers/provider-runtime.js +57 -4
- package/src/providers/proworkflow/executors.d.ts +4 -0
- package/src/providers/proworkflow/executors.js +135 -0
- package/src/providers/registry.generated.js +12 -0
- package/src/providers/scrape_creators/catalog.js +1 -1
- package/src/providers/scrape_creators/runtime.js +1 -1
- package/src/providers/sellersprite_mcp/executors.js +2 -2
- package/src/providers/sellersprite_mcp/official-actions.js +3 -2
- package/src/providers/sentry/runtime.js +6 -7
- package/src/providers/slack/actions.js +52 -3
- package/src/providers/slack/runtime.js +58 -21
- package/src/providers/slickdeals/runtime.js +1 -1
- package/src/providers/sorftime_mcp/executors.js +2 -2
- package/src/providers/tikhub/bounded-response.d.ts +1 -1
- package/src/providers/tikhub/bounded-response.js +8 -34
- package/src/providers/tikhub/endpoint-catalog.js +1 -1
- package/src/providers/tikhub/runtime.js +2 -2
- package/src/providers/tongdaxin/executors.js +79 -15
- package/src/providers/uspto/executors.js +1 -1
- package/src/providers/waffo/executors.js +1 -1
- package/src/providers/waffo/runtime.js +1 -1
- package/src/providers/wecom_mcp/runtime.js +1 -1
- package/src/providers/wisburg/executors.d.ts +4 -0
- package/src/providers/wisburg/executors.js +13 -0
- package/src/providers/wisburg/runtime.d.ts +12 -0
- package/src/providers/wisburg/runtime.js +133 -0
- package/src/providers/xydc_mcp/executors.js +2 -2
- package/src/providers/youtube/executors.js +1 -1
- package/src/providers/youtube/runtime.js +1 -1
- package/src/providers/zerotier/executors.d.ts +9 -0
- package/src/providers/zerotier/executors.js +629 -0
- package/src/providers/zerotier/runtime.d.ts +54 -0
- package/src/providers/zerotier/runtime.js +207 -0
- package/src/server/api/openapi.js +12 -2
- package/src/server/api/runtime-api.d.ts +8 -1
- package/src/server/api/runtime-api.js +19 -1
- package/src/server/connect-server.js +10 -2
- package/src/providers/sentry/scopes.d.ts +0 -1
- package/src/providers/sentry/scopes.js +0 -7
- /package/src/providers/{cloudflare-current-user.d.ts → cloudflare_dns/runtime-user.d.ts} +0 -0
|
@@ -20,120 +20,130 @@
|
|
|
20
20
|
"homepageUrl": "https://discord.com/developers/docs",
|
|
21
21
|
"actions": [
|
|
22
22
|
{
|
|
23
|
-
"id": "discordbot.
|
|
23
|
+
"id": "discordbot.add_guild_member",
|
|
24
24
|
"service": "discordbot",
|
|
25
|
-
"name": "
|
|
26
|
-
"description": "
|
|
25
|
+
"name": "add_guild_member",
|
|
26
|
+
"description": "Add a user to a Discord guild using an OAuth2 access token that user granted to this bot's application with the guilds.join scope.",
|
|
27
27
|
"operationType": "write",
|
|
28
28
|
"requiredScopes": [],
|
|
29
29
|
"providerPermissions": [],
|
|
30
30
|
"inputSchema": {
|
|
31
31
|
"type": "object",
|
|
32
32
|
"properties": {
|
|
33
|
-
"
|
|
33
|
+
"guild_id": {
|
|
34
34
|
"type": "string",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
35
|
+
"description": "A Discord snowflake identifier.",
|
|
36
|
+
"pattern": "^[0-9]+$"
|
|
37
37
|
},
|
|
38
|
-
"
|
|
38
|
+
"user_id": {
|
|
39
39
|
"type": "string",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
40
|
+
"description": "A Discord snowflake identifier.",
|
|
41
|
+
"pattern": "^[0-9]+$"
|
|
42
42
|
},
|
|
43
|
-
"
|
|
44
|
-
"type": "
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
"properties": {},
|
|
48
|
-
"additionalProperties": true,
|
|
49
|
-
"description": "A raw Discord API object."
|
|
50
|
-
},
|
|
51
|
-
"description": "The embeds to include.",
|
|
52
|
-
"maxItems": 10
|
|
43
|
+
"access_token": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"minLength": 1,
|
|
46
|
+
"description": "The user's OAuth2 access token with the guilds.join scope."
|
|
53
47
|
},
|
|
54
|
-
"
|
|
48
|
+
"nick": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"description": "The nickname to give the member. Requires MANAGE_NICKNAMES."
|
|
51
|
+
},
|
|
52
|
+
"roles": {
|
|
55
53
|
"type": "array",
|
|
56
54
|
"items": {
|
|
57
|
-
"type": "
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"description": "A raw Discord API object."
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "A Discord snowflake identifier.",
|
|
57
|
+
"pattern": "^[0-9]+$"
|
|
61
58
|
},
|
|
62
|
-
"description": "The
|
|
63
|
-
"maxItems": 5
|
|
59
|
+
"description": "The role ids to assign. Requires MANAGE_ROLES."
|
|
64
60
|
},
|
|
65
|
-
"
|
|
66
|
-
"type": "object",
|
|
67
|
-
"properties": {},
|
|
68
|
-
"additionalProperties": true,
|
|
69
|
-
"description": "A raw Discord API object."
|
|
70
|
-
},
|
|
71
|
-
"message_reference": {
|
|
72
|
-
"type": "object",
|
|
73
|
-
"properties": {},
|
|
74
|
-
"additionalProperties": true,
|
|
75
|
-
"description": "A raw Discord API object."
|
|
76
|
-
},
|
|
77
|
-
"tts": {
|
|
61
|
+
"mute": {
|
|
78
62
|
"type": "boolean",
|
|
79
|
-
"description": "Whether the
|
|
63
|
+
"description": "Whether the member is muted in voice channels. Requires MUTE_MEMBERS."
|
|
80
64
|
},
|
|
81
|
-
"
|
|
82
|
-
"type": "
|
|
83
|
-
"description": "
|
|
65
|
+
"deaf": {
|
|
66
|
+
"type": "boolean",
|
|
67
|
+
"description": "Whether the member is deafened in voice channels. Requires DEAFEN_MEMBERS."
|
|
84
68
|
}
|
|
85
69
|
},
|
|
86
70
|
"additionalProperties": false,
|
|
87
71
|
"required": [
|
|
88
|
-
"
|
|
72
|
+
"guild_id",
|
|
73
|
+
"user_id",
|
|
74
|
+
"access_token"
|
|
89
75
|
],
|
|
90
|
-
"description": "Input parameters for
|
|
76
|
+
"description": "Input parameters for adding a guild member."
|
|
91
77
|
},
|
|
92
78
|
"outputSchema": {
|
|
93
79
|
"type": "object",
|
|
94
80
|
"properties": {
|
|
95
|
-
"
|
|
96
|
-
"type": "
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
81
|
+
"already_member": {
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"description": "Whether the user was already a member of the guild."
|
|
84
|
+
},
|
|
85
|
+
"member": {
|
|
86
|
+
"anyOf": [
|
|
87
|
+
{
|
|
88
|
+
"type": "object",
|
|
89
|
+
"properties": {},
|
|
90
|
+
"additionalProperties": true,
|
|
91
|
+
"description": "A raw Discord API object."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "null"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
100
97
|
}
|
|
101
98
|
},
|
|
102
99
|
"additionalProperties": false,
|
|
103
100
|
"required": [
|
|
104
|
-
"
|
|
101
|
+
"already_member",
|
|
102
|
+
"member"
|
|
105
103
|
],
|
|
106
|
-
"description": "The
|
|
104
|
+
"description": "The add guild member response."
|
|
107
105
|
}
|
|
108
106
|
},
|
|
109
107
|
{
|
|
110
|
-
"id": "discordbot.
|
|
108
|
+
"id": "discordbot.add_guild_member_role",
|
|
111
109
|
"service": "discordbot",
|
|
112
|
-
"name": "
|
|
113
|
-
"description": "
|
|
114
|
-
"operationType": "
|
|
110
|
+
"name": "add_guild_member_role",
|
|
111
|
+
"description": "Add a role to a Discord guild member. Requires the MANAGE_ROLES permission.",
|
|
112
|
+
"operationType": "write",
|
|
115
113
|
"requiredScopes": [],
|
|
116
114
|
"providerPermissions": [],
|
|
117
115
|
"inputSchema": {
|
|
118
116
|
"type": "object",
|
|
119
117
|
"properties": {
|
|
120
|
-
"
|
|
118
|
+
"guild_id": {
|
|
121
119
|
"type": "string",
|
|
122
|
-
"
|
|
123
|
-
"
|
|
120
|
+
"description": "A Discord snowflake identifier.",
|
|
121
|
+
"pattern": "^[0-9]+$"
|
|
124
122
|
},
|
|
125
|
-
"
|
|
123
|
+
"user_id": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "A Discord snowflake identifier.",
|
|
126
|
+
"pattern": "^[0-9]+$"
|
|
127
|
+
},
|
|
128
|
+
"role_id": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "A Discord snowflake identifier.",
|
|
131
|
+
"pattern": "^[0-9]+$"
|
|
132
|
+
},
|
|
133
|
+
"audit_log_reason": {
|
|
126
134
|
"type": "string",
|
|
127
135
|
"minLength": 1,
|
|
128
|
-
"
|
|
136
|
+
"maxLength": 512,
|
|
137
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
129
138
|
}
|
|
130
139
|
},
|
|
131
140
|
"additionalProperties": false,
|
|
132
141
|
"required": [
|
|
133
|
-
"
|
|
134
|
-
"
|
|
142
|
+
"guild_id",
|
|
143
|
+
"user_id",
|
|
144
|
+
"role_id"
|
|
135
145
|
],
|
|
136
|
-
"description": "Input parameters
|
|
146
|
+
"description": "Input parameters for adding a role to a guild member."
|
|
137
147
|
},
|
|
138
148
|
"outputSchema": {
|
|
139
149
|
"type": "object",
|
|
@@ -152,137 +162,2646 @@
|
|
|
152
162
|
}
|
|
153
163
|
},
|
|
154
164
|
{
|
|
155
|
-
"id": "discordbot.
|
|
165
|
+
"id": "discordbot.begin_guild_prune",
|
|
156
166
|
"service": "discordbot",
|
|
157
|
-
"name": "
|
|
158
|
-
"description": "
|
|
159
|
-
"operationType": "
|
|
167
|
+
"name": "begin_guild_prune",
|
|
168
|
+
"description": "Remove inactive members from a Discord guild. Requires the MANAGE_GUILD and KICK_MEMBERS permissions. Set compute_prune_count to false for large guilds.",
|
|
169
|
+
"operationType": "destructive",
|
|
160
170
|
"requiredScopes": [],
|
|
161
171
|
"providerPermissions": [],
|
|
162
172
|
"inputSchema": {
|
|
163
173
|
"type": "object",
|
|
164
174
|
"properties": {
|
|
165
|
-
"
|
|
175
|
+
"guild_id": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "A Discord snowflake identifier.",
|
|
178
|
+
"pattern": "^[0-9]+$"
|
|
179
|
+
},
|
|
180
|
+
"days": {
|
|
181
|
+
"type": "integer",
|
|
182
|
+
"minimum": 1,
|
|
183
|
+
"maximum": 30,
|
|
184
|
+
"description": "The number of days of inactivity that qualifies a member for pruning. Discord defaults to 7."
|
|
185
|
+
},
|
|
186
|
+
"compute_prune_count": {
|
|
187
|
+
"type": "boolean",
|
|
188
|
+
"description": "Whether Discord returns the number of pruned members. Discord defaults to true."
|
|
189
|
+
},
|
|
190
|
+
"include_roles": {
|
|
191
|
+
"type": "array",
|
|
192
|
+
"items": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"description": "A Discord snowflake identifier.",
|
|
195
|
+
"pattern": "^[0-9]+$"
|
|
196
|
+
},
|
|
197
|
+
"description": "Role ids whose holders may also be pruned. By default members with any role are skipped."
|
|
198
|
+
},
|
|
199
|
+
"audit_log_reason": {
|
|
166
200
|
"type": "string",
|
|
167
201
|
"minLength": 1,
|
|
168
|
-
"
|
|
202
|
+
"maxLength": 512,
|
|
203
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
169
204
|
}
|
|
170
205
|
},
|
|
171
206
|
"additionalProperties": false,
|
|
172
207
|
"required": [
|
|
173
|
-
"
|
|
208
|
+
"guild_id"
|
|
174
209
|
],
|
|
175
|
-
"description": "Input parameters
|
|
210
|
+
"description": "Input parameters for pruning members."
|
|
176
211
|
},
|
|
177
212
|
"outputSchema": {
|
|
178
213
|
"type": "object",
|
|
179
|
-
"properties": {
|
|
180
|
-
|
|
181
|
-
|
|
214
|
+
"properties": {
|
|
215
|
+
"pruned": {
|
|
216
|
+
"anyOf": [
|
|
217
|
+
{
|
|
218
|
+
"type": "integer",
|
|
219
|
+
"description": "The number of members removed, or null when compute_prune_count is false."
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"type": "null"
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"additionalProperties": false,
|
|
228
|
+
"required": [
|
|
229
|
+
"pruned"
|
|
230
|
+
],
|
|
231
|
+
"description": "The prune response."
|
|
182
232
|
}
|
|
183
233
|
},
|
|
184
234
|
{
|
|
185
|
-
"id": "discordbot.
|
|
235
|
+
"id": "discordbot.bulk_guild_ban",
|
|
186
236
|
"service": "discordbot",
|
|
187
|
-
"name": "
|
|
188
|
-
"description": "
|
|
189
|
-
"operationType": "
|
|
237
|
+
"name": "bulk_guild_ban",
|
|
238
|
+
"description": "Ban up to 200 users from a Discord guild at once. Requires the BAN_MEMBERS and MANAGE_GUILD permissions.",
|
|
239
|
+
"operationType": "destructive",
|
|
190
240
|
"requiredScopes": [],
|
|
191
241
|
"providerPermissions": [],
|
|
192
242
|
"inputSchema": {
|
|
193
243
|
"type": "object",
|
|
194
|
-
"properties": {
|
|
244
|
+
"properties": {
|
|
245
|
+
"guild_id": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "A Discord snowflake identifier.",
|
|
248
|
+
"pattern": "^[0-9]+$"
|
|
249
|
+
},
|
|
250
|
+
"user_ids": {
|
|
251
|
+
"type": "array",
|
|
252
|
+
"items": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"description": "A Discord snowflake identifier.",
|
|
255
|
+
"pattern": "^[0-9]+$"
|
|
256
|
+
},
|
|
257
|
+
"description": "The user ids to ban.",
|
|
258
|
+
"minItems": 1,
|
|
259
|
+
"maxItems": 200
|
|
260
|
+
},
|
|
261
|
+
"delete_message_seconds": {
|
|
262
|
+
"type": "integer",
|
|
263
|
+
"minimum": 0,
|
|
264
|
+
"maximum": 604800,
|
|
265
|
+
"description": "How many seconds of the banned user's recent messages to delete, from 0 to 604800 (7 days)."
|
|
266
|
+
},
|
|
267
|
+
"audit_log_reason": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"minLength": 1,
|
|
270
|
+
"maxLength": 512,
|
|
271
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
272
|
+
}
|
|
273
|
+
},
|
|
195
274
|
"additionalProperties": false,
|
|
196
|
-
"
|
|
275
|
+
"required": [
|
|
276
|
+
"guild_id",
|
|
277
|
+
"user_ids"
|
|
278
|
+
],
|
|
279
|
+
"description": "Input parameters for banning several users."
|
|
197
280
|
},
|
|
198
281
|
"outputSchema": {
|
|
199
282
|
"type": "object",
|
|
200
|
-
"properties": {
|
|
201
|
-
|
|
202
|
-
|
|
283
|
+
"properties": {
|
|
284
|
+
"banned_users": {
|
|
285
|
+
"type": "array",
|
|
286
|
+
"items": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"minLength": 1
|
|
289
|
+
},
|
|
290
|
+
"description": "The user ids that were banned."
|
|
291
|
+
},
|
|
292
|
+
"failed_users": {
|
|
293
|
+
"type": "array",
|
|
294
|
+
"items": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"minLength": 1
|
|
297
|
+
},
|
|
298
|
+
"description": "The user ids that could not be banned or were already banned."
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"additionalProperties": false,
|
|
302
|
+
"required": [
|
|
303
|
+
"banned_users",
|
|
304
|
+
"failed_users"
|
|
305
|
+
],
|
|
306
|
+
"description": "The bulk ban result."
|
|
203
307
|
}
|
|
204
308
|
},
|
|
205
309
|
{
|
|
206
|
-
"id": "discordbot.
|
|
310
|
+
"id": "discordbot.create_guild_ban",
|
|
207
311
|
"service": "discordbot",
|
|
208
|
-
"name": "
|
|
209
|
-
"description": "
|
|
210
|
-
"operationType": "
|
|
312
|
+
"name": "create_guild_ban",
|
|
313
|
+
"description": "Ban a user from a Discord guild and optionally delete their recent messages. Requires the BAN_MEMBERS permission.",
|
|
314
|
+
"operationType": "destructive",
|
|
211
315
|
"requiredScopes": [],
|
|
212
316
|
"providerPermissions": [],
|
|
213
317
|
"inputSchema": {
|
|
214
318
|
"type": "object",
|
|
215
319
|
"properties": {
|
|
216
|
-
"
|
|
320
|
+
"guild_id": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"description": "A Discord snowflake identifier.",
|
|
323
|
+
"pattern": "^[0-9]+$"
|
|
324
|
+
},
|
|
325
|
+
"user_id": {
|
|
326
|
+
"type": "string",
|
|
327
|
+
"description": "A Discord snowflake identifier.",
|
|
328
|
+
"pattern": "^[0-9]+$"
|
|
329
|
+
},
|
|
330
|
+
"delete_message_seconds": {
|
|
331
|
+
"type": "integer",
|
|
332
|
+
"minimum": 0,
|
|
333
|
+
"maximum": 604800,
|
|
334
|
+
"description": "How many seconds of the banned user's recent messages to delete, from 0 to 604800 (7 days)."
|
|
335
|
+
},
|
|
336
|
+
"audit_log_reason": {
|
|
217
337
|
"type": "string",
|
|
218
338
|
"minLength": 1,
|
|
219
|
-
"
|
|
339
|
+
"maxLength": 512,
|
|
340
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
220
341
|
}
|
|
221
342
|
},
|
|
222
343
|
"additionalProperties": false,
|
|
223
344
|
"required": [
|
|
224
|
-
"
|
|
345
|
+
"guild_id",
|
|
346
|
+
"user_id"
|
|
225
347
|
],
|
|
226
|
-
"description": "Input parameters
|
|
348
|
+
"description": "Input parameters for banning a user."
|
|
227
349
|
},
|
|
228
350
|
"outputSchema": {
|
|
229
351
|
"type": "object",
|
|
230
|
-
"properties": {
|
|
231
|
-
|
|
232
|
-
|
|
352
|
+
"properties": {
|
|
353
|
+
"success": {
|
|
354
|
+
"const": true,
|
|
355
|
+
"type": "boolean",
|
|
356
|
+
"description": "The success flag."
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"additionalProperties": false,
|
|
360
|
+
"required": [
|
|
361
|
+
"success"
|
|
362
|
+
],
|
|
363
|
+
"description": "The success response returned by the action."
|
|
233
364
|
}
|
|
234
365
|
},
|
|
235
366
|
{
|
|
236
|
-
"id": "discordbot.
|
|
367
|
+
"id": "discordbot.create_guild_channel",
|
|
237
368
|
"service": "discordbot",
|
|
238
|
-
"name": "
|
|
239
|
-
"description": "
|
|
240
|
-
"operationType": "
|
|
369
|
+
"name": "create_guild_channel",
|
|
370
|
+
"description": "Create a channel in a Discord guild. Requires the MANAGE_CHANNELS permission.",
|
|
371
|
+
"operationType": "write",
|
|
241
372
|
"requiredScopes": [],
|
|
242
373
|
"providerPermissions": [],
|
|
243
374
|
"inputSchema": {
|
|
244
375
|
"type": "object",
|
|
245
|
-
"properties": {
|
|
376
|
+
"properties": {
|
|
377
|
+
"guild_id": {
|
|
378
|
+
"type": "string",
|
|
379
|
+
"description": "A Discord snowflake identifier.",
|
|
380
|
+
"pattern": "^[0-9]+$"
|
|
381
|
+
},
|
|
382
|
+
"name": {
|
|
383
|
+
"type": "string",
|
|
384
|
+
"minLength": 1,
|
|
385
|
+
"maxLength": 100,
|
|
386
|
+
"description": "The channel name."
|
|
387
|
+
},
|
|
388
|
+
"type": {
|
|
389
|
+
"type": "integer",
|
|
390
|
+
"description": "The channel type, such as 0 for text, 2 for voice, 4 for category, or 15 for forum."
|
|
391
|
+
},
|
|
392
|
+
"topic": {
|
|
393
|
+
"type": "string",
|
|
394
|
+
"maxLength": 4096,
|
|
395
|
+
"description": "The channel topic. Forum and media channels allow up to 4096 characters; other channel types allow up to 1024."
|
|
396
|
+
},
|
|
397
|
+
"bitrate": {
|
|
398
|
+
"type": "integer",
|
|
399
|
+
"minimum": 8000,
|
|
400
|
+
"description": "The bitrate in bits per second for voice and stage channels."
|
|
401
|
+
},
|
|
402
|
+
"user_limit": {
|
|
403
|
+
"type": "integer",
|
|
404
|
+
"minimum": 0,
|
|
405
|
+
"description": "The user limit for voice and stage channels."
|
|
406
|
+
},
|
|
407
|
+
"rate_limit_per_user": {
|
|
408
|
+
"type": "integer",
|
|
409
|
+
"minimum": 0,
|
|
410
|
+
"maximum": 21600,
|
|
411
|
+
"description": "The slowmode delay in seconds."
|
|
412
|
+
},
|
|
413
|
+
"position": {
|
|
414
|
+
"type": "integer",
|
|
415
|
+
"description": "The sorting position of the channel."
|
|
416
|
+
},
|
|
417
|
+
"permission_overwrites": {
|
|
418
|
+
"type": "array",
|
|
419
|
+
"items": {
|
|
420
|
+
"type": "object",
|
|
421
|
+
"properties": {},
|
|
422
|
+
"additionalProperties": true,
|
|
423
|
+
"description": "A raw Discord API object."
|
|
424
|
+
},
|
|
425
|
+
"description": "The channel permission overwrites."
|
|
426
|
+
},
|
|
427
|
+
"parent_id": {
|
|
428
|
+
"type": "string",
|
|
429
|
+
"description": "The parent category id."
|
|
430
|
+
},
|
|
431
|
+
"nsfw": {
|
|
432
|
+
"type": "boolean",
|
|
433
|
+
"description": "Whether the channel is age-restricted."
|
|
434
|
+
},
|
|
435
|
+
"rtc_region": {
|
|
436
|
+
"anyOf": [
|
|
437
|
+
{
|
|
438
|
+
"type": "string",
|
|
439
|
+
"description": "The voice region id for voice and stage channels, or null for automatic."
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"type": "null"
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
"video_quality_mode": {
|
|
447
|
+
"type": "integer",
|
|
448
|
+
"description": "The camera video quality mode for voice and stage channels."
|
|
449
|
+
},
|
|
450
|
+
"default_auto_archive_duration": {
|
|
451
|
+
"type": "integer",
|
|
452
|
+
"description": "The default thread auto-archive duration in minutes.",
|
|
453
|
+
"enum": [
|
|
454
|
+
60,
|
|
455
|
+
1440,
|
|
456
|
+
4320,
|
|
457
|
+
10080
|
|
458
|
+
]
|
|
459
|
+
},
|
|
460
|
+
"default_reaction_emoji": {
|
|
461
|
+
"type": "object",
|
|
462
|
+
"properties": {},
|
|
463
|
+
"additionalProperties": true,
|
|
464
|
+
"description": "A raw Discord API object."
|
|
465
|
+
},
|
|
466
|
+
"available_tags": {
|
|
467
|
+
"type": "array",
|
|
468
|
+
"items": {
|
|
469
|
+
"type": "object",
|
|
470
|
+
"properties": {},
|
|
471
|
+
"additionalProperties": true,
|
|
472
|
+
"description": "A raw Discord API object."
|
|
473
|
+
},
|
|
474
|
+
"description": "The tags available in forum and media channels."
|
|
475
|
+
},
|
|
476
|
+
"default_sort_order": {
|
|
477
|
+
"type": "integer",
|
|
478
|
+
"description": "The default sort order for forum and media posts."
|
|
479
|
+
},
|
|
480
|
+
"default_forum_layout": {
|
|
481
|
+
"type": "integer",
|
|
482
|
+
"description": "The default forum layout view."
|
|
483
|
+
},
|
|
484
|
+
"default_thread_rate_limit_per_user": {
|
|
485
|
+
"type": "integer",
|
|
486
|
+
"description": "The initial slowmode delay in seconds for new threads."
|
|
487
|
+
},
|
|
488
|
+
"flags": {
|
|
489
|
+
"type": "integer",
|
|
490
|
+
"description": "The channel flags bitfield."
|
|
491
|
+
},
|
|
492
|
+
"audit_log_reason": {
|
|
493
|
+
"type": "string",
|
|
494
|
+
"minLength": 1,
|
|
495
|
+
"maxLength": 512,
|
|
496
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
497
|
+
}
|
|
498
|
+
},
|
|
246
499
|
"additionalProperties": false,
|
|
247
|
-
"
|
|
500
|
+
"required": [
|
|
501
|
+
"guild_id",
|
|
502
|
+
"name"
|
|
503
|
+
],
|
|
504
|
+
"description": "Input parameters for creating a guild channel."
|
|
248
505
|
},
|
|
249
506
|
"outputSchema": {
|
|
250
507
|
"type": "object",
|
|
251
508
|
"properties": {
|
|
252
|
-
"
|
|
253
|
-
"type": "
|
|
254
|
-
"
|
|
509
|
+
"channel": {
|
|
510
|
+
"type": "object",
|
|
511
|
+
"properties": {},
|
|
512
|
+
"additionalProperties": true,
|
|
513
|
+
"description": "A raw Discord API object."
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"additionalProperties": false,
|
|
517
|
+
"required": [
|
|
518
|
+
"channel"
|
|
519
|
+
],
|
|
520
|
+
"description": "The created channel response."
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"id": "discordbot.create_guild_role",
|
|
525
|
+
"service": "discordbot",
|
|
526
|
+
"name": "create_guild_role",
|
|
527
|
+
"description": "Create a role in a Discord guild. Requires the MANAGE_ROLES permission.",
|
|
528
|
+
"operationType": "write",
|
|
529
|
+
"requiredScopes": [],
|
|
530
|
+
"providerPermissions": [],
|
|
531
|
+
"inputSchema": {
|
|
532
|
+
"type": "object",
|
|
533
|
+
"properties": {
|
|
534
|
+
"guild_id": {
|
|
535
|
+
"type": "string",
|
|
536
|
+
"description": "A Discord snowflake identifier.",
|
|
537
|
+
"pattern": "^[0-9]+$"
|
|
538
|
+
},
|
|
539
|
+
"name": {
|
|
540
|
+
"type": "string",
|
|
541
|
+
"maxLength": 100,
|
|
542
|
+
"description": "The role name."
|
|
543
|
+
},
|
|
544
|
+
"permissions": {
|
|
545
|
+
"type": "string",
|
|
546
|
+
"description": "The role permissions as a bitwise value encoded as a string."
|
|
547
|
+
},
|
|
548
|
+
"color": {
|
|
549
|
+
"type": "integer",
|
|
550
|
+
"description": "The deprecated RGB color value. Prefer colors."
|
|
551
|
+
},
|
|
552
|
+
"colors": {
|
|
553
|
+
"type": "object",
|
|
554
|
+
"properties": {
|
|
555
|
+
"primary_color": {
|
|
556
|
+
"type": "integer",
|
|
557
|
+
"description": "The primary RGB color value."
|
|
558
|
+
},
|
|
559
|
+
"secondary_color": {
|
|
560
|
+
"anyOf": [
|
|
561
|
+
{
|
|
562
|
+
"type": "integer",
|
|
563
|
+
"description": "The secondary RGB color value for a gradient role."
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"type": "null"
|
|
567
|
+
}
|
|
568
|
+
]
|
|
569
|
+
},
|
|
570
|
+
"tertiary_color": {
|
|
571
|
+
"anyOf": [
|
|
572
|
+
{
|
|
573
|
+
"type": "integer",
|
|
574
|
+
"description": "The tertiary RGB color value for a holographic role."
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"type": "null"
|
|
578
|
+
}
|
|
579
|
+
]
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"additionalProperties": true,
|
|
583
|
+
"description": "The role colors object with primary_color, secondary_color, and tertiary_color."
|
|
584
|
+
},
|
|
585
|
+
"hoist": {
|
|
586
|
+
"type": "boolean",
|
|
587
|
+
"description": "Whether members with the role are displayed separately in the member list."
|
|
588
|
+
},
|
|
589
|
+
"icon": {
|
|
590
|
+
"anyOf": [
|
|
591
|
+
{
|
|
592
|
+
"type": "string",
|
|
593
|
+
"description": "The role icon image, for guilds with the ROLE_ICONS feature. Pass a data URI such as data:image/png;base64,..., or null to remove it."
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"type": "null"
|
|
597
|
+
}
|
|
598
|
+
]
|
|
599
|
+
},
|
|
600
|
+
"unicode_emoji": {
|
|
601
|
+
"anyOf": [
|
|
602
|
+
{
|
|
603
|
+
"type": "string",
|
|
604
|
+
"description": "The role's standard unicode emoji, for guilds with the ROLE_ICONS feature."
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"type": "null"
|
|
608
|
+
}
|
|
609
|
+
]
|
|
610
|
+
},
|
|
611
|
+
"mentionable": {
|
|
612
|
+
"type": "boolean",
|
|
613
|
+
"description": "Whether anyone can mention the role."
|
|
614
|
+
},
|
|
615
|
+
"audit_log_reason": {
|
|
616
|
+
"type": "string",
|
|
617
|
+
"minLength": 1,
|
|
618
|
+
"maxLength": 512,
|
|
619
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
"additionalProperties": false,
|
|
623
|
+
"required": [
|
|
624
|
+
"guild_id"
|
|
625
|
+
],
|
|
626
|
+
"description": "Input parameters for creating a role. Omitted fields use Discord defaults."
|
|
627
|
+
},
|
|
628
|
+
"outputSchema": {
|
|
629
|
+
"type": "object",
|
|
630
|
+
"properties": {},
|
|
631
|
+
"additionalProperties": true,
|
|
632
|
+
"description": "A raw Discord API object."
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"id": "discordbot.create_message",
|
|
637
|
+
"service": "discordbot",
|
|
638
|
+
"name": "create_message",
|
|
639
|
+
"description": "Create a Discord message in a channel.",
|
|
640
|
+
"operationType": "write",
|
|
641
|
+
"requiredScopes": [],
|
|
642
|
+
"providerPermissions": [],
|
|
643
|
+
"inputSchema": {
|
|
644
|
+
"type": "object",
|
|
645
|
+
"properties": {
|
|
646
|
+
"channel_id": {
|
|
647
|
+
"type": "string",
|
|
648
|
+
"description": "A Discord snowflake identifier.",
|
|
649
|
+
"pattern": "^[0-9]+$"
|
|
650
|
+
},
|
|
651
|
+
"content": {
|
|
652
|
+
"type": "string",
|
|
653
|
+
"maxLength": 2000,
|
|
654
|
+
"description": "The message content."
|
|
655
|
+
},
|
|
656
|
+
"embeds": {
|
|
657
|
+
"type": "array",
|
|
658
|
+
"items": {
|
|
659
|
+
"type": "object",
|
|
660
|
+
"properties": {},
|
|
661
|
+
"additionalProperties": true,
|
|
662
|
+
"description": "A raw Discord API object."
|
|
663
|
+
},
|
|
664
|
+
"description": "The embeds to include.",
|
|
665
|
+
"maxItems": 10
|
|
666
|
+
},
|
|
667
|
+
"components": {
|
|
668
|
+
"type": "array",
|
|
669
|
+
"items": {
|
|
670
|
+
"type": "object",
|
|
671
|
+
"properties": {},
|
|
672
|
+
"additionalProperties": true,
|
|
673
|
+
"description": "A raw Discord API object."
|
|
674
|
+
},
|
|
675
|
+
"description": "The components to include.",
|
|
676
|
+
"maxItems": 5
|
|
677
|
+
},
|
|
678
|
+
"allowed_mentions": {
|
|
679
|
+
"type": "object",
|
|
680
|
+
"properties": {},
|
|
681
|
+
"additionalProperties": true,
|
|
682
|
+
"description": "A raw Discord API object."
|
|
683
|
+
},
|
|
684
|
+
"message_reference": {
|
|
685
|
+
"type": "object",
|
|
686
|
+
"properties": {},
|
|
687
|
+
"additionalProperties": true,
|
|
688
|
+
"description": "A raw Discord API object."
|
|
689
|
+
},
|
|
690
|
+
"tts": {
|
|
691
|
+
"type": "boolean",
|
|
692
|
+
"description": "Whether the message is a text-to-speech message."
|
|
693
|
+
},
|
|
694
|
+
"flags": {
|
|
695
|
+
"type": "integer",
|
|
696
|
+
"description": "The message flags."
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"additionalProperties": false,
|
|
700
|
+
"required": [
|
|
701
|
+
"channel_id"
|
|
702
|
+
],
|
|
703
|
+
"description": "Input parameters for creating a message."
|
|
704
|
+
},
|
|
705
|
+
"outputSchema": {
|
|
706
|
+
"type": "object",
|
|
707
|
+
"properties": {
|
|
708
|
+
"message": {
|
|
709
|
+
"type": "object",
|
|
710
|
+
"properties": {},
|
|
711
|
+
"additionalProperties": true,
|
|
712
|
+
"description": "A raw Discord API object."
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
"additionalProperties": false,
|
|
716
|
+
"required": [
|
|
717
|
+
"message"
|
|
718
|
+
],
|
|
719
|
+
"description": "The created message response."
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"id": "discordbot.delete_guild_integration",
|
|
724
|
+
"service": "discordbot",
|
|
725
|
+
"name": "delete_guild_integration",
|
|
726
|
+
"description": "Delete an integration from a Discord guild, removing its webhooks and kicking its bot. Requires the MANAGE_GUILD permission.",
|
|
727
|
+
"operationType": "destructive",
|
|
728
|
+
"requiredScopes": [],
|
|
729
|
+
"providerPermissions": [],
|
|
730
|
+
"inputSchema": {
|
|
731
|
+
"type": "object",
|
|
732
|
+
"properties": {
|
|
733
|
+
"guild_id": {
|
|
734
|
+
"type": "string",
|
|
735
|
+
"description": "A Discord snowflake identifier.",
|
|
736
|
+
"pattern": "^[0-9]+$"
|
|
737
|
+
},
|
|
738
|
+
"integration_id": {
|
|
739
|
+
"type": "string",
|
|
740
|
+
"description": "A Discord snowflake identifier.",
|
|
741
|
+
"pattern": "^[0-9]+$"
|
|
742
|
+
},
|
|
743
|
+
"audit_log_reason": {
|
|
744
|
+
"type": "string",
|
|
745
|
+
"minLength": 1,
|
|
746
|
+
"maxLength": 512,
|
|
747
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
"additionalProperties": false,
|
|
751
|
+
"required": [
|
|
752
|
+
"guild_id",
|
|
753
|
+
"integration_id"
|
|
754
|
+
],
|
|
755
|
+
"description": "Input parameters for deleting a guild integration."
|
|
756
|
+
},
|
|
757
|
+
"outputSchema": {
|
|
758
|
+
"type": "object",
|
|
759
|
+
"properties": {
|
|
760
|
+
"success": {
|
|
761
|
+
"const": true,
|
|
762
|
+
"type": "boolean",
|
|
763
|
+
"description": "The success flag."
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
"additionalProperties": false,
|
|
767
|
+
"required": [
|
|
768
|
+
"success"
|
|
769
|
+
],
|
|
770
|
+
"description": "The success response returned by the action."
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"id": "discordbot.delete_guild_role",
|
|
775
|
+
"service": "discordbot",
|
|
776
|
+
"name": "delete_guild_role",
|
|
777
|
+
"description": "Delete a role from a Discord guild. Requires the MANAGE_ROLES permission.",
|
|
778
|
+
"operationType": "destructive",
|
|
779
|
+
"requiredScopes": [],
|
|
780
|
+
"providerPermissions": [],
|
|
781
|
+
"inputSchema": {
|
|
782
|
+
"type": "object",
|
|
783
|
+
"properties": {
|
|
784
|
+
"guild_id": {
|
|
785
|
+
"type": "string",
|
|
786
|
+
"description": "A Discord snowflake identifier.",
|
|
787
|
+
"pattern": "^[0-9]+$"
|
|
788
|
+
},
|
|
789
|
+
"role_id": {
|
|
790
|
+
"type": "string",
|
|
791
|
+
"description": "A Discord snowflake identifier.",
|
|
792
|
+
"pattern": "^[0-9]+$"
|
|
793
|
+
},
|
|
794
|
+
"audit_log_reason": {
|
|
795
|
+
"type": "string",
|
|
796
|
+
"minLength": 1,
|
|
797
|
+
"maxLength": 512,
|
|
798
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"additionalProperties": false,
|
|
802
|
+
"required": [
|
|
803
|
+
"guild_id",
|
|
804
|
+
"role_id"
|
|
805
|
+
],
|
|
806
|
+
"description": "Input parameters for deleting a role."
|
|
807
|
+
},
|
|
808
|
+
"outputSchema": {
|
|
809
|
+
"type": "object",
|
|
810
|
+
"properties": {
|
|
811
|
+
"success": {
|
|
812
|
+
"const": true,
|
|
813
|
+
"type": "boolean",
|
|
814
|
+
"description": "The success flag."
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
"additionalProperties": false,
|
|
818
|
+
"required": [
|
|
819
|
+
"success"
|
|
820
|
+
],
|
|
821
|
+
"description": "The success response returned by the action."
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"id": "discordbot.delete_message",
|
|
826
|
+
"service": "discordbot",
|
|
827
|
+
"name": "delete_message",
|
|
828
|
+
"description": "Delete a Discord message from a channel.",
|
|
829
|
+
"operationType": "destructive",
|
|
830
|
+
"requiredScopes": [],
|
|
831
|
+
"providerPermissions": [],
|
|
832
|
+
"inputSchema": {
|
|
833
|
+
"type": "object",
|
|
834
|
+
"properties": {
|
|
835
|
+
"channel_id": {
|
|
836
|
+
"type": "string",
|
|
837
|
+
"description": "A Discord snowflake identifier.",
|
|
838
|
+
"pattern": "^[0-9]+$"
|
|
839
|
+
},
|
|
840
|
+
"message_id": {
|
|
841
|
+
"type": "string",
|
|
842
|
+
"description": "A Discord snowflake identifier.",
|
|
843
|
+
"pattern": "^[0-9]+$"
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
"additionalProperties": false,
|
|
847
|
+
"required": [
|
|
848
|
+
"channel_id",
|
|
849
|
+
"message_id"
|
|
850
|
+
],
|
|
851
|
+
"description": "Input parameters containing a channel id and message id."
|
|
852
|
+
},
|
|
853
|
+
"outputSchema": {
|
|
854
|
+
"type": "object",
|
|
855
|
+
"properties": {
|
|
856
|
+
"success": {
|
|
857
|
+
"const": true,
|
|
858
|
+
"type": "boolean",
|
|
859
|
+
"description": "The success flag."
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
"additionalProperties": false,
|
|
863
|
+
"required": [
|
|
864
|
+
"success"
|
|
865
|
+
],
|
|
866
|
+
"description": "The success response returned by the action."
|
|
867
|
+
}
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"id": "discordbot.get_application",
|
|
871
|
+
"service": "discordbot",
|
|
872
|
+
"name": "get_application",
|
|
873
|
+
"description": "Get a Discord application by ID.",
|
|
874
|
+
"operationType": "read",
|
|
875
|
+
"requiredScopes": [],
|
|
876
|
+
"providerPermissions": [],
|
|
877
|
+
"inputSchema": {
|
|
878
|
+
"type": "object",
|
|
879
|
+
"properties": {
|
|
880
|
+
"application_id": {
|
|
881
|
+
"type": "string",
|
|
882
|
+
"description": "A Discord snowflake identifier.",
|
|
883
|
+
"pattern": "^[0-9]+$"
|
|
884
|
+
}
|
|
885
|
+
},
|
|
886
|
+
"additionalProperties": false,
|
|
887
|
+
"required": [
|
|
888
|
+
"application_id"
|
|
889
|
+
],
|
|
890
|
+
"description": "Input parameters containing an application id."
|
|
891
|
+
},
|
|
892
|
+
"outputSchema": {
|
|
893
|
+
"type": "object",
|
|
894
|
+
"properties": {},
|
|
895
|
+
"additionalProperties": true,
|
|
896
|
+
"description": "A raw Discord API object."
|
|
897
|
+
}
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"id": "discordbot.get_bot_gateway",
|
|
901
|
+
"service": "discordbot",
|
|
902
|
+
"name": "get_bot_gateway",
|
|
903
|
+
"description": "Get the recommended Discord Gateway URL and sharding metadata for the bot.",
|
|
904
|
+
"operationType": "read",
|
|
905
|
+
"requiredScopes": [],
|
|
906
|
+
"providerPermissions": [],
|
|
907
|
+
"inputSchema": {
|
|
908
|
+
"type": "object",
|
|
909
|
+
"properties": {},
|
|
910
|
+
"additionalProperties": false,
|
|
911
|
+
"description": "No input parameters are required."
|
|
912
|
+
},
|
|
913
|
+
"outputSchema": {
|
|
914
|
+
"type": "object",
|
|
915
|
+
"properties": {},
|
|
916
|
+
"additionalProperties": true,
|
|
917
|
+
"description": "A raw Discord API object."
|
|
918
|
+
}
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"id": "discordbot.get_channel",
|
|
922
|
+
"service": "discordbot",
|
|
923
|
+
"name": "get_channel",
|
|
924
|
+
"description": "Get a Discord channel by ID.",
|
|
925
|
+
"operationType": "read",
|
|
926
|
+
"requiredScopes": [],
|
|
927
|
+
"providerPermissions": [],
|
|
928
|
+
"inputSchema": {
|
|
929
|
+
"type": "object",
|
|
930
|
+
"properties": {
|
|
931
|
+
"channel_id": {
|
|
932
|
+
"type": "string",
|
|
933
|
+
"description": "A Discord snowflake identifier.",
|
|
934
|
+
"pattern": "^[0-9]+$"
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"additionalProperties": false,
|
|
938
|
+
"required": [
|
|
939
|
+
"channel_id"
|
|
940
|
+
],
|
|
941
|
+
"description": "Input parameters containing a channel id."
|
|
942
|
+
},
|
|
943
|
+
"outputSchema": {
|
|
944
|
+
"type": "object",
|
|
945
|
+
"properties": {},
|
|
946
|
+
"additionalProperties": true,
|
|
947
|
+
"description": "A raw Discord API object."
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"id": "discordbot.get_gateway",
|
|
952
|
+
"service": "discordbot",
|
|
953
|
+
"name": "get_gateway",
|
|
954
|
+
"description": "Get the public Discord Gateway URL.",
|
|
955
|
+
"operationType": "read",
|
|
956
|
+
"requiredScopes": [],
|
|
957
|
+
"providerPermissions": [],
|
|
958
|
+
"inputSchema": {
|
|
959
|
+
"type": "object",
|
|
960
|
+
"properties": {},
|
|
961
|
+
"additionalProperties": false,
|
|
962
|
+
"description": "No input parameters are required."
|
|
963
|
+
},
|
|
964
|
+
"outputSchema": {
|
|
965
|
+
"type": "object",
|
|
966
|
+
"properties": {
|
|
967
|
+
"url": {
|
|
968
|
+
"type": "string",
|
|
969
|
+
"description": "The public gateway URL."
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
"additionalProperties": false,
|
|
973
|
+
"required": [
|
|
974
|
+
"url"
|
|
975
|
+
],
|
|
976
|
+
"description": "The gateway URL response."
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"id": "discordbot.get_guild",
|
|
981
|
+
"service": "discordbot",
|
|
982
|
+
"name": "get_guild",
|
|
983
|
+
"description": "Get a Discord guild by ID, optionally including approximate member and presence counts.",
|
|
984
|
+
"operationType": "read",
|
|
985
|
+
"requiredScopes": [],
|
|
986
|
+
"providerPermissions": [],
|
|
987
|
+
"inputSchema": {
|
|
988
|
+
"type": "object",
|
|
989
|
+
"properties": {
|
|
990
|
+
"guild_id": {
|
|
991
|
+
"type": "string",
|
|
992
|
+
"description": "A Discord snowflake identifier.",
|
|
993
|
+
"pattern": "^[0-9]+$"
|
|
994
|
+
},
|
|
995
|
+
"with_counts": {
|
|
996
|
+
"type": "boolean",
|
|
997
|
+
"description": "Whether to include approximate_member_count and approximate_presence_count."
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
"additionalProperties": false,
|
|
1001
|
+
"required": [
|
|
1002
|
+
"guild_id"
|
|
1003
|
+
],
|
|
1004
|
+
"description": "Input parameters for getting a guild."
|
|
1005
|
+
},
|
|
1006
|
+
"outputSchema": {
|
|
1007
|
+
"type": "object",
|
|
1008
|
+
"properties": {},
|
|
1009
|
+
"additionalProperties": true,
|
|
1010
|
+
"description": "A raw Discord API object."
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"id": "discordbot.get_guild_ban",
|
|
1015
|
+
"service": "discordbot",
|
|
1016
|
+
"name": "get_guild_ban",
|
|
1017
|
+
"description": "Get the ban for a user in a Discord guild. Requires the BAN_MEMBERS permission.",
|
|
1018
|
+
"operationType": "read",
|
|
1019
|
+
"requiredScopes": [],
|
|
1020
|
+
"providerPermissions": [],
|
|
1021
|
+
"inputSchema": {
|
|
1022
|
+
"type": "object",
|
|
1023
|
+
"properties": {
|
|
1024
|
+
"guild_id": {
|
|
1025
|
+
"type": "string",
|
|
1026
|
+
"description": "A Discord snowflake identifier.",
|
|
1027
|
+
"pattern": "^[0-9]+$"
|
|
1028
|
+
},
|
|
1029
|
+
"user_id": {
|
|
1030
|
+
"type": "string",
|
|
1031
|
+
"description": "A Discord snowflake identifier.",
|
|
1032
|
+
"pattern": "^[0-9]+$"
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
"additionalProperties": false,
|
|
1036
|
+
"required": [
|
|
1037
|
+
"guild_id",
|
|
1038
|
+
"user_id"
|
|
1039
|
+
],
|
|
1040
|
+
"description": "Input parameters containing a guild id and user id."
|
|
1041
|
+
},
|
|
1042
|
+
"outputSchema": {
|
|
1043
|
+
"type": "object",
|
|
1044
|
+
"properties": {},
|
|
1045
|
+
"additionalProperties": true,
|
|
1046
|
+
"description": "A raw Discord API object."
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"id": "discordbot.get_guild_member",
|
|
1051
|
+
"service": "discordbot",
|
|
1052
|
+
"name": "get_guild_member",
|
|
1053
|
+
"description": "Get a member of a Discord guild by user ID.",
|
|
1054
|
+
"operationType": "read",
|
|
1055
|
+
"requiredScopes": [],
|
|
1056
|
+
"providerPermissions": [],
|
|
1057
|
+
"inputSchema": {
|
|
1058
|
+
"type": "object",
|
|
1059
|
+
"properties": {
|
|
1060
|
+
"guild_id": {
|
|
1061
|
+
"type": "string",
|
|
1062
|
+
"description": "A Discord snowflake identifier.",
|
|
1063
|
+
"pattern": "^[0-9]+$"
|
|
1064
|
+
},
|
|
1065
|
+
"user_id": {
|
|
1066
|
+
"type": "string",
|
|
1067
|
+
"description": "A Discord snowflake identifier.",
|
|
1068
|
+
"pattern": "^[0-9]+$"
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1071
|
+
"additionalProperties": false,
|
|
1072
|
+
"required": [
|
|
1073
|
+
"guild_id",
|
|
1074
|
+
"user_id"
|
|
1075
|
+
],
|
|
1076
|
+
"description": "Input parameters containing a guild id and user id."
|
|
1077
|
+
},
|
|
1078
|
+
"outputSchema": {
|
|
1079
|
+
"type": "object",
|
|
1080
|
+
"properties": {},
|
|
1081
|
+
"additionalProperties": true,
|
|
1082
|
+
"description": "A raw Discord API object."
|
|
1083
|
+
}
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"id": "discordbot.get_guild_onboarding",
|
|
1087
|
+
"service": "discordbot",
|
|
1088
|
+
"name": "get_guild_onboarding",
|
|
1089
|
+
"description": "Get the onboarding configuration of a Discord guild.",
|
|
1090
|
+
"operationType": "read",
|
|
1091
|
+
"requiredScopes": [],
|
|
1092
|
+
"providerPermissions": [],
|
|
1093
|
+
"inputSchema": {
|
|
1094
|
+
"type": "object",
|
|
1095
|
+
"properties": {
|
|
1096
|
+
"guild_id": {
|
|
1097
|
+
"type": "string",
|
|
1098
|
+
"description": "A Discord snowflake identifier.",
|
|
1099
|
+
"pattern": "^[0-9]+$"
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1102
|
+
"additionalProperties": false,
|
|
1103
|
+
"required": [
|
|
1104
|
+
"guild_id"
|
|
1105
|
+
],
|
|
1106
|
+
"description": "Input parameters containing a guild id."
|
|
1107
|
+
},
|
|
1108
|
+
"outputSchema": {
|
|
1109
|
+
"type": "object",
|
|
1110
|
+
"properties": {},
|
|
1111
|
+
"additionalProperties": true,
|
|
1112
|
+
"description": "A raw Discord API object."
|
|
1113
|
+
}
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"id": "discordbot.get_guild_preview",
|
|
1117
|
+
"service": "discordbot",
|
|
1118
|
+
"name": "get_guild_preview",
|
|
1119
|
+
"description": "Get the public preview of a Discord guild. The bot must be in the guild unless the guild is discoverable.",
|
|
1120
|
+
"operationType": "read",
|
|
1121
|
+
"requiredScopes": [],
|
|
1122
|
+
"providerPermissions": [],
|
|
1123
|
+
"inputSchema": {
|
|
1124
|
+
"type": "object",
|
|
1125
|
+
"properties": {
|
|
1126
|
+
"guild_id": {
|
|
1127
|
+
"type": "string",
|
|
1128
|
+
"description": "A Discord snowflake identifier.",
|
|
1129
|
+
"pattern": "^[0-9]+$"
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
"additionalProperties": false,
|
|
1133
|
+
"required": [
|
|
1134
|
+
"guild_id"
|
|
1135
|
+
],
|
|
1136
|
+
"description": "Input parameters containing a guild id."
|
|
1137
|
+
},
|
|
1138
|
+
"outputSchema": {
|
|
1139
|
+
"type": "object",
|
|
1140
|
+
"properties": {},
|
|
1141
|
+
"additionalProperties": true,
|
|
1142
|
+
"description": "A raw Discord API object."
|
|
1143
|
+
}
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"id": "discordbot.get_guild_prune_count",
|
|
1147
|
+
"service": "discordbot",
|
|
1148
|
+
"name": "get_guild_prune_count",
|
|
1149
|
+
"description": "Count how many inactive members a prune would remove from a Discord guild. Requires the MANAGE_GUILD and KICK_MEMBERS permissions.",
|
|
1150
|
+
"operationType": "read",
|
|
1151
|
+
"requiredScopes": [],
|
|
1152
|
+
"providerPermissions": [],
|
|
1153
|
+
"inputSchema": {
|
|
1154
|
+
"type": "object",
|
|
1155
|
+
"properties": {
|
|
1156
|
+
"guild_id": {
|
|
1157
|
+
"type": "string",
|
|
1158
|
+
"description": "A Discord snowflake identifier.",
|
|
1159
|
+
"pattern": "^[0-9]+$"
|
|
1160
|
+
},
|
|
1161
|
+
"days": {
|
|
1162
|
+
"type": "integer",
|
|
1163
|
+
"minimum": 1,
|
|
1164
|
+
"maximum": 30,
|
|
1165
|
+
"description": "The number of days of inactivity that qualifies a member for pruning. Discord defaults to 7."
|
|
1166
|
+
},
|
|
1167
|
+
"include_roles": {
|
|
1168
|
+
"type": "array",
|
|
1169
|
+
"items": {
|
|
1170
|
+
"type": "string",
|
|
1171
|
+
"description": "A Discord snowflake identifier.",
|
|
1172
|
+
"pattern": "^[0-9]+$"
|
|
1173
|
+
},
|
|
1174
|
+
"description": "Role ids whose holders may also be pruned. By default members with any role are skipped.",
|
|
1175
|
+
"minItems": 1
|
|
1176
|
+
}
|
|
1177
|
+
},
|
|
1178
|
+
"additionalProperties": false,
|
|
1179
|
+
"required": [
|
|
1180
|
+
"guild_id"
|
|
1181
|
+
],
|
|
1182
|
+
"description": "Input parameters for counting prunable members."
|
|
1183
|
+
},
|
|
1184
|
+
"outputSchema": {
|
|
1185
|
+
"type": "object",
|
|
1186
|
+
"properties": {
|
|
1187
|
+
"pruned": {
|
|
1188
|
+
"type": "integer",
|
|
1189
|
+
"description": "The number of members that would be removed."
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
"additionalProperties": false,
|
|
1193
|
+
"required": [
|
|
1194
|
+
"pruned"
|
|
1195
|
+
],
|
|
1196
|
+
"description": "The prune count response."
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"id": "discordbot.get_guild_role",
|
|
1201
|
+
"service": "discordbot",
|
|
1202
|
+
"name": "get_guild_role",
|
|
1203
|
+
"description": "Get a role in a Discord guild by ID.",
|
|
1204
|
+
"operationType": "read",
|
|
1205
|
+
"requiredScopes": [],
|
|
1206
|
+
"providerPermissions": [],
|
|
1207
|
+
"inputSchema": {
|
|
1208
|
+
"type": "object",
|
|
1209
|
+
"properties": {
|
|
1210
|
+
"guild_id": {
|
|
1211
|
+
"type": "string",
|
|
1212
|
+
"description": "A Discord snowflake identifier.",
|
|
1213
|
+
"pattern": "^[0-9]+$"
|
|
1214
|
+
},
|
|
1215
|
+
"role_id": {
|
|
1216
|
+
"type": "string",
|
|
1217
|
+
"description": "A Discord snowflake identifier.",
|
|
1218
|
+
"pattern": "^[0-9]+$"
|
|
1219
|
+
}
|
|
1220
|
+
},
|
|
1221
|
+
"additionalProperties": false,
|
|
1222
|
+
"required": [
|
|
1223
|
+
"guild_id",
|
|
1224
|
+
"role_id"
|
|
1225
|
+
],
|
|
1226
|
+
"description": "Input parameters containing a guild id and role id."
|
|
1227
|
+
},
|
|
1228
|
+
"outputSchema": {
|
|
1229
|
+
"type": "object",
|
|
1230
|
+
"properties": {},
|
|
1231
|
+
"additionalProperties": true,
|
|
1232
|
+
"description": "A raw Discord API object."
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"id": "discordbot.get_guild_role_member_counts",
|
|
1237
|
+
"service": "discordbot",
|
|
1238
|
+
"name": "get_guild_role_member_counts",
|
|
1239
|
+
"description": "Get the number of members holding each role in a Discord guild, excluding @everyone.",
|
|
1240
|
+
"operationType": "read",
|
|
1241
|
+
"requiredScopes": [],
|
|
1242
|
+
"providerPermissions": [],
|
|
1243
|
+
"inputSchema": {
|
|
1244
|
+
"type": "object",
|
|
1245
|
+
"properties": {
|
|
1246
|
+
"guild_id": {
|
|
1247
|
+
"type": "string",
|
|
1248
|
+
"description": "A Discord snowflake identifier.",
|
|
1249
|
+
"pattern": "^[0-9]+$"
|
|
1250
|
+
}
|
|
1251
|
+
},
|
|
1252
|
+
"additionalProperties": false,
|
|
1253
|
+
"required": [
|
|
1254
|
+
"guild_id"
|
|
1255
|
+
],
|
|
1256
|
+
"description": "Input parameters containing a guild id."
|
|
1257
|
+
},
|
|
1258
|
+
"outputSchema": {
|
|
1259
|
+
"type": "object",
|
|
1260
|
+
"properties": {
|
|
1261
|
+
"member_counts": {
|
|
1262
|
+
"type": "object",
|
|
1263
|
+
"additionalProperties": {
|
|
1264
|
+
"type": "integer",
|
|
1265
|
+
"description": "The number of members with the role."
|
|
1266
|
+
},
|
|
1267
|
+
"description": "Member counts keyed by role id."
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
"additionalProperties": false,
|
|
1271
|
+
"required": [
|
|
1272
|
+
"member_counts"
|
|
1273
|
+
],
|
|
1274
|
+
"description": "The role member counts response."
|
|
1275
|
+
}
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"id": "discordbot.get_guild_vanity_url",
|
|
1279
|
+
"service": "discordbot",
|
|
1280
|
+
"name": "get_guild_vanity_url",
|
|
1281
|
+
"description": "Get the vanity invite code and its use count for a Discord guild. Requires the MANAGE_GUILD permission.",
|
|
1282
|
+
"operationType": "read",
|
|
1283
|
+
"requiredScopes": [],
|
|
1284
|
+
"providerPermissions": [],
|
|
1285
|
+
"inputSchema": {
|
|
1286
|
+
"type": "object",
|
|
1287
|
+
"properties": {
|
|
1288
|
+
"guild_id": {
|
|
1289
|
+
"type": "string",
|
|
1290
|
+
"description": "A Discord snowflake identifier.",
|
|
1291
|
+
"pattern": "^[0-9]+$"
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
"additionalProperties": false,
|
|
1295
|
+
"required": [
|
|
1296
|
+
"guild_id"
|
|
1297
|
+
],
|
|
1298
|
+
"description": "Input parameters containing a guild id."
|
|
1299
|
+
},
|
|
1300
|
+
"outputSchema": {
|
|
1301
|
+
"type": "object",
|
|
1302
|
+
"properties": {
|
|
1303
|
+
"code": {
|
|
1304
|
+
"anyOf": [
|
|
1305
|
+
{
|
|
1306
|
+
"type": "string",
|
|
1307
|
+
"description": "The vanity invite code, or null when none is set."
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"type": "null"
|
|
1311
|
+
}
|
|
1312
|
+
]
|
|
1313
|
+
},
|
|
1314
|
+
"uses": {
|
|
1315
|
+
"type": "integer",
|
|
1316
|
+
"description": "The number of times the vanity invite was used."
|
|
1317
|
+
}
|
|
1318
|
+
},
|
|
1319
|
+
"additionalProperties": false,
|
|
1320
|
+
"required": [
|
|
1321
|
+
"code",
|
|
1322
|
+
"uses"
|
|
1323
|
+
],
|
|
1324
|
+
"description": "The vanity URL response."
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"id": "discordbot.get_guild_welcome_screen",
|
|
1329
|
+
"service": "discordbot",
|
|
1330
|
+
"name": "get_guild_welcome_screen",
|
|
1331
|
+
"description": "Get the welcome screen of a Discord guild. Requires the MANAGE_GUILD permission when the welcome screen is disabled.",
|
|
1332
|
+
"operationType": "read",
|
|
1333
|
+
"requiredScopes": [],
|
|
1334
|
+
"providerPermissions": [],
|
|
1335
|
+
"inputSchema": {
|
|
1336
|
+
"type": "object",
|
|
1337
|
+
"properties": {
|
|
1338
|
+
"guild_id": {
|
|
1339
|
+
"type": "string",
|
|
1340
|
+
"description": "A Discord snowflake identifier.",
|
|
1341
|
+
"pattern": "^[0-9]+$"
|
|
1342
|
+
}
|
|
1343
|
+
},
|
|
1344
|
+
"additionalProperties": false,
|
|
1345
|
+
"required": [
|
|
1346
|
+
"guild_id"
|
|
1347
|
+
],
|
|
1348
|
+
"description": "Input parameters containing a guild id."
|
|
1349
|
+
},
|
|
1350
|
+
"outputSchema": {
|
|
1351
|
+
"type": "object",
|
|
1352
|
+
"properties": {},
|
|
1353
|
+
"additionalProperties": true,
|
|
1354
|
+
"description": "A raw Discord API object."
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"id": "discordbot.get_guild_widget",
|
|
1359
|
+
"service": "discordbot",
|
|
1360
|
+
"name": "get_guild_widget",
|
|
1361
|
+
"description": "Get the public widget JSON of a Discord guild, including online members and voice channels.",
|
|
1362
|
+
"operationType": "read",
|
|
1363
|
+
"requiredScopes": [],
|
|
1364
|
+
"providerPermissions": [],
|
|
1365
|
+
"inputSchema": {
|
|
1366
|
+
"type": "object",
|
|
1367
|
+
"properties": {
|
|
1368
|
+
"guild_id": {
|
|
1369
|
+
"type": "string",
|
|
1370
|
+
"description": "A Discord snowflake identifier.",
|
|
1371
|
+
"pattern": "^[0-9]+$"
|
|
1372
|
+
}
|
|
1373
|
+
},
|
|
1374
|
+
"additionalProperties": false,
|
|
1375
|
+
"required": [
|
|
1376
|
+
"guild_id"
|
|
1377
|
+
],
|
|
1378
|
+
"description": "Input parameters containing a guild id."
|
|
1379
|
+
},
|
|
1380
|
+
"outputSchema": {
|
|
1381
|
+
"type": "object",
|
|
1382
|
+
"properties": {},
|
|
1383
|
+
"additionalProperties": true,
|
|
1384
|
+
"description": "A raw Discord API object."
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
"id": "discordbot.get_guild_widget_png",
|
|
1389
|
+
"service": "discordbot",
|
|
1390
|
+
"name": "get_guild_widget_png",
|
|
1391
|
+
"description": "Get a Discord guild widget PNG.",
|
|
1392
|
+
"operationType": "read",
|
|
1393
|
+
"requiredScopes": [],
|
|
1394
|
+
"providerPermissions": [],
|
|
1395
|
+
"inputSchema": {
|
|
1396
|
+
"type": "object",
|
|
1397
|
+
"properties": {
|
|
1398
|
+
"guild_id": {
|
|
1399
|
+
"type": "string",
|
|
1400
|
+
"description": "A Discord snowflake identifier.",
|
|
1401
|
+
"pattern": "^[0-9]+$"
|
|
1402
|
+
},
|
|
1403
|
+
"style": {
|
|
1404
|
+
"type": "string",
|
|
1405
|
+
"enum": [
|
|
1406
|
+
"shield",
|
|
1407
|
+
"banner1",
|
|
1408
|
+
"banner2",
|
|
1409
|
+
"banner3",
|
|
1410
|
+
"banner4"
|
|
1411
|
+
],
|
|
1412
|
+
"description": "The visual style to use for the guild widget PNG."
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
"additionalProperties": false,
|
|
1416
|
+
"required": [
|
|
1417
|
+
"guild_id"
|
|
1418
|
+
],
|
|
1419
|
+
"description": "Input for retrieving a Discord guild widget PNG."
|
|
1420
|
+
},
|
|
1421
|
+
"outputSchema": {
|
|
1422
|
+
"type": "object",
|
|
1423
|
+
"properties": {
|
|
1424
|
+
"filename": {
|
|
1425
|
+
"type": "string",
|
|
1426
|
+
"description": "The file name."
|
|
1427
|
+
},
|
|
1428
|
+
"mimeType": {
|
|
1429
|
+
"type": "string",
|
|
1430
|
+
"description": "The MIME type."
|
|
1431
|
+
},
|
|
1432
|
+
"sizeBytes": {
|
|
1433
|
+
"type": "integer",
|
|
1434
|
+
"description": "The file size in bytes."
|
|
1435
|
+
},
|
|
1436
|
+
"dataBase64": {
|
|
1437
|
+
"type": "string",
|
|
1438
|
+
"description": "The file contents encoded as base64."
|
|
1439
|
+
}
|
|
1440
|
+
},
|
|
1441
|
+
"additionalProperties": false,
|
|
1442
|
+
"required": [
|
|
1443
|
+
"filename",
|
|
1444
|
+
"mimeType",
|
|
1445
|
+
"sizeBytes",
|
|
1446
|
+
"dataBase64"
|
|
1447
|
+
],
|
|
1448
|
+
"description": "A binary file payload encoded for transport."
|
|
1449
|
+
}
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"id": "discordbot.get_guild_widget_settings",
|
|
1453
|
+
"service": "discordbot",
|
|
1454
|
+
"name": "get_guild_widget_settings",
|
|
1455
|
+
"description": "Get the widget settings of a Discord guild. Requires the MANAGE_GUILD permission.",
|
|
1456
|
+
"operationType": "read",
|
|
1457
|
+
"requiredScopes": [],
|
|
1458
|
+
"providerPermissions": [],
|
|
1459
|
+
"inputSchema": {
|
|
1460
|
+
"type": "object",
|
|
1461
|
+
"properties": {
|
|
1462
|
+
"guild_id": {
|
|
1463
|
+
"type": "string",
|
|
1464
|
+
"description": "A Discord snowflake identifier.",
|
|
1465
|
+
"pattern": "^[0-9]+$"
|
|
1466
|
+
}
|
|
1467
|
+
},
|
|
1468
|
+
"additionalProperties": false,
|
|
1469
|
+
"required": [
|
|
1470
|
+
"guild_id"
|
|
1471
|
+
],
|
|
1472
|
+
"description": "Input parameters containing a guild id."
|
|
1473
|
+
},
|
|
1474
|
+
"outputSchema": {
|
|
1475
|
+
"type": "object",
|
|
1476
|
+
"properties": {},
|
|
1477
|
+
"additionalProperties": true,
|
|
1478
|
+
"description": "A raw Discord API object."
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"id": "discordbot.get_my_application",
|
|
1483
|
+
"service": "discordbot",
|
|
1484
|
+
"name": "get_my_application",
|
|
1485
|
+
"description": "Get the Discord application associated with the configured bot token.",
|
|
1486
|
+
"operationType": "read",
|
|
1487
|
+
"requiredScopes": [],
|
|
1488
|
+
"providerPermissions": [],
|
|
1489
|
+
"inputSchema": {
|
|
1490
|
+
"type": "object",
|
|
1491
|
+
"properties": {},
|
|
1492
|
+
"additionalProperties": false,
|
|
1493
|
+
"description": "No input parameters are required."
|
|
1494
|
+
},
|
|
1495
|
+
"outputSchema": {
|
|
1496
|
+
"type": "object",
|
|
1497
|
+
"properties": {},
|
|
1498
|
+
"additionalProperties": true,
|
|
1499
|
+
"description": "A raw Discord API object."
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"id": "discordbot.get_public_keys",
|
|
1504
|
+
"service": "discordbot",
|
|
1505
|
+
"name": "get_public_keys",
|
|
1506
|
+
"description": "Get Discord OAuth2 public keys.",
|
|
1507
|
+
"operationType": "read",
|
|
1508
|
+
"requiredScopes": [],
|
|
1509
|
+
"providerPermissions": [],
|
|
1510
|
+
"inputSchema": {
|
|
1511
|
+
"type": "object",
|
|
1512
|
+
"properties": {},
|
|
1513
|
+
"additionalProperties": false,
|
|
1514
|
+
"description": "No input parameters are required."
|
|
1515
|
+
},
|
|
1516
|
+
"outputSchema": {
|
|
1517
|
+
"type": "object",
|
|
1518
|
+
"properties": {
|
|
1519
|
+
"keys": {
|
|
1520
|
+
"type": "array",
|
|
1521
|
+
"items": {
|
|
1522
|
+
"type": "object",
|
|
1523
|
+
"properties": {},
|
|
1524
|
+
"additionalProperties": true,
|
|
1525
|
+
"description": "A raw Discord API object."
|
|
1526
|
+
},
|
|
1527
|
+
"description": "The public keys returned by the API."
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
"additionalProperties": false,
|
|
1531
|
+
"required": [
|
|
1532
|
+
"keys"
|
|
1533
|
+
],
|
|
1534
|
+
"description": "The public key response payload."
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"id": "discordbot.get_user",
|
|
1539
|
+
"service": "discordbot",
|
|
1540
|
+
"name": "get_user",
|
|
1541
|
+
"description": "Get a Discord user by ID.",
|
|
1542
|
+
"operationType": "read",
|
|
1543
|
+
"requiredScopes": [],
|
|
1544
|
+
"providerPermissions": [],
|
|
1545
|
+
"inputSchema": {
|
|
1546
|
+
"type": "object",
|
|
1547
|
+
"properties": {
|
|
1548
|
+
"user_id": {
|
|
1549
|
+
"type": "string",
|
|
1550
|
+
"description": "A Discord snowflake identifier.",
|
|
1551
|
+
"pattern": "^[0-9]+$"
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
"additionalProperties": false,
|
|
1555
|
+
"required": [
|
|
1556
|
+
"user_id"
|
|
1557
|
+
],
|
|
1558
|
+
"description": "Input parameters containing a user id."
|
|
1559
|
+
},
|
|
1560
|
+
"outputSchema": {
|
|
1561
|
+
"type": "object",
|
|
1562
|
+
"properties": {},
|
|
1563
|
+
"additionalProperties": true,
|
|
1564
|
+
"description": "A raw Discord API object."
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"id": "discordbot.list_active_guild_threads",
|
|
1569
|
+
"service": "discordbot",
|
|
1570
|
+
"name": "list_active_guild_threads",
|
|
1571
|
+
"description": "List all active public and private threads in a Discord guild.",
|
|
1572
|
+
"operationType": "read",
|
|
1573
|
+
"requiredScopes": [],
|
|
1574
|
+
"providerPermissions": [],
|
|
1575
|
+
"inputSchema": {
|
|
1576
|
+
"type": "object",
|
|
1577
|
+
"properties": {
|
|
1578
|
+
"guild_id": {
|
|
1579
|
+
"type": "string",
|
|
1580
|
+
"description": "A Discord snowflake identifier.",
|
|
1581
|
+
"pattern": "^[0-9]+$"
|
|
1582
|
+
}
|
|
1583
|
+
},
|
|
1584
|
+
"additionalProperties": false,
|
|
1585
|
+
"required": [
|
|
1586
|
+
"guild_id"
|
|
1587
|
+
],
|
|
1588
|
+
"description": "Input parameters containing a guild id."
|
|
1589
|
+
},
|
|
1590
|
+
"outputSchema": {
|
|
1591
|
+
"type": "object",
|
|
1592
|
+
"properties": {
|
|
1593
|
+
"threads": {
|
|
1594
|
+
"type": "array",
|
|
1595
|
+
"items": {
|
|
1596
|
+
"type": "object",
|
|
1597
|
+
"properties": {},
|
|
1598
|
+
"additionalProperties": true,
|
|
1599
|
+
"description": "A raw Discord API object."
|
|
1600
|
+
},
|
|
1601
|
+
"description": "The active thread channels."
|
|
1602
|
+
},
|
|
1603
|
+
"members": {
|
|
1604
|
+
"type": "array",
|
|
1605
|
+
"items": {
|
|
1606
|
+
"type": "object",
|
|
1607
|
+
"properties": {},
|
|
1608
|
+
"additionalProperties": true,
|
|
1609
|
+
"description": "A raw Discord API object."
|
|
1610
|
+
},
|
|
1611
|
+
"description": "A thread member object for each returned thread the bot has joined."
|
|
1612
|
+
}
|
|
1613
|
+
},
|
|
1614
|
+
"additionalProperties": false,
|
|
1615
|
+
"required": [
|
|
1616
|
+
"threads",
|
|
1617
|
+
"members"
|
|
1618
|
+
],
|
|
1619
|
+
"description": "The active threads response."
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"id": "discordbot.list_guild_bans",
|
|
1624
|
+
"service": "discordbot",
|
|
1625
|
+
"name": "list_guild_bans",
|
|
1626
|
+
"description": "List bans in a Discord guild in ascending user ID order. Requires the BAN_MEMBERS permission. If both before and after are set, Discord only uses before.",
|
|
1627
|
+
"operationType": "read",
|
|
1628
|
+
"requiredScopes": [],
|
|
1629
|
+
"providerPermissions": [],
|
|
1630
|
+
"inputSchema": {
|
|
1631
|
+
"type": "object",
|
|
1632
|
+
"properties": {
|
|
1633
|
+
"guild_id": {
|
|
1634
|
+
"type": "string",
|
|
1635
|
+
"description": "A Discord snowflake identifier.",
|
|
1636
|
+
"pattern": "^[0-9]+$"
|
|
1637
|
+
},
|
|
1638
|
+
"limit": {
|
|
1639
|
+
"type": "integer",
|
|
1640
|
+
"minimum": 1,
|
|
1641
|
+
"maximum": 1000,
|
|
1642
|
+
"description": "The maximum number of bans to return. Discord defaults to 1000."
|
|
1643
|
+
},
|
|
1644
|
+
"before": {
|
|
1645
|
+
"type": "string",
|
|
1646
|
+
"description": "Return bans for user ids lower than this id."
|
|
1647
|
+
},
|
|
1648
|
+
"after": {
|
|
1649
|
+
"type": "string",
|
|
1650
|
+
"description": "Return bans for user ids greater than this id."
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
"additionalProperties": false,
|
|
1654
|
+
"required": [
|
|
1655
|
+
"guild_id"
|
|
1656
|
+
],
|
|
1657
|
+
"description": "Input parameters for listing guild bans."
|
|
1658
|
+
},
|
|
1659
|
+
"outputSchema": {
|
|
1660
|
+
"type": "object",
|
|
1661
|
+
"properties": {
|
|
1662
|
+
"bans": {
|
|
1663
|
+
"type": "array",
|
|
1664
|
+
"items": {
|
|
1665
|
+
"type": "object",
|
|
1666
|
+
"properties": {},
|
|
1667
|
+
"additionalProperties": true,
|
|
1668
|
+
"description": "A raw Discord API object."
|
|
1669
|
+
},
|
|
1670
|
+
"description": "The ban objects returned by Discord."
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
"additionalProperties": false,
|
|
1674
|
+
"required": [
|
|
1675
|
+
"bans"
|
|
1676
|
+
],
|
|
1677
|
+
"description": "The guild bans response."
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"id": "discordbot.list_guild_channels",
|
|
1682
|
+
"service": "discordbot",
|
|
1683
|
+
"name": "list_guild_channels",
|
|
1684
|
+
"description": "List channels in a Discord guild. Threads are not included.",
|
|
1685
|
+
"operationType": "read",
|
|
1686
|
+
"requiredScopes": [],
|
|
1687
|
+
"providerPermissions": [],
|
|
1688
|
+
"inputSchema": {
|
|
1689
|
+
"type": "object",
|
|
1690
|
+
"properties": {
|
|
1691
|
+
"guild_id": {
|
|
1692
|
+
"type": "string",
|
|
1693
|
+
"description": "A Discord snowflake identifier.",
|
|
1694
|
+
"pattern": "^[0-9]+$"
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
"additionalProperties": false,
|
|
1698
|
+
"required": [
|
|
1699
|
+
"guild_id"
|
|
1700
|
+
],
|
|
1701
|
+
"description": "Input parameters containing a guild id."
|
|
1702
|
+
},
|
|
1703
|
+
"outputSchema": {
|
|
1704
|
+
"type": "object",
|
|
1705
|
+
"properties": {
|
|
1706
|
+
"channels": {
|
|
1707
|
+
"type": "array",
|
|
1708
|
+
"items": {
|
|
1709
|
+
"type": "object",
|
|
1710
|
+
"properties": {},
|
|
1711
|
+
"additionalProperties": true,
|
|
1712
|
+
"description": "A raw Discord API object."
|
|
1713
|
+
},
|
|
1714
|
+
"description": "The channels returned by Discord."
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
"additionalProperties": false,
|
|
1718
|
+
"required": [
|
|
1719
|
+
"channels"
|
|
1720
|
+
],
|
|
1721
|
+
"description": "The guild channels response."
|
|
1722
|
+
}
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"id": "discordbot.list_guild_integrations",
|
|
1726
|
+
"service": "discordbot",
|
|
1727
|
+
"name": "list_guild_integrations",
|
|
1728
|
+
"description": "List integrations attached to a Discord guild, up to 50. Requires the MANAGE_GUILD permission.",
|
|
1729
|
+
"operationType": "read",
|
|
1730
|
+
"requiredScopes": [],
|
|
1731
|
+
"providerPermissions": [],
|
|
1732
|
+
"inputSchema": {
|
|
1733
|
+
"type": "object",
|
|
1734
|
+
"properties": {
|
|
1735
|
+
"guild_id": {
|
|
1736
|
+
"type": "string",
|
|
1737
|
+
"description": "A Discord snowflake identifier.",
|
|
1738
|
+
"pattern": "^[0-9]+$"
|
|
1739
|
+
}
|
|
1740
|
+
},
|
|
1741
|
+
"additionalProperties": false,
|
|
1742
|
+
"required": [
|
|
1743
|
+
"guild_id"
|
|
1744
|
+
],
|
|
1745
|
+
"description": "Input parameters containing a guild id."
|
|
1746
|
+
},
|
|
1747
|
+
"outputSchema": {
|
|
1748
|
+
"type": "object",
|
|
1749
|
+
"properties": {
|
|
1750
|
+
"integrations": {
|
|
1751
|
+
"type": "array",
|
|
1752
|
+
"items": {
|
|
1753
|
+
"type": "object",
|
|
1754
|
+
"properties": {},
|
|
1755
|
+
"additionalProperties": true,
|
|
1756
|
+
"description": "A raw Discord API object."
|
|
1757
|
+
},
|
|
1758
|
+
"description": "The integration objects returned by Discord."
|
|
1759
|
+
}
|
|
1760
|
+
},
|
|
1761
|
+
"additionalProperties": false,
|
|
1762
|
+
"required": [
|
|
1763
|
+
"integrations"
|
|
1764
|
+
],
|
|
1765
|
+
"description": "The guild integrations response."
|
|
1766
|
+
}
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"id": "discordbot.list_guild_invites",
|
|
1770
|
+
"service": "discordbot",
|
|
1771
|
+
"name": "list_guild_invites",
|
|
1772
|
+
"description": "List invites for a Discord guild. Requires the MANAGE_GUILD or VIEW_AUDIT_LOG permission.",
|
|
1773
|
+
"operationType": "read",
|
|
1774
|
+
"requiredScopes": [],
|
|
1775
|
+
"providerPermissions": [],
|
|
1776
|
+
"inputSchema": {
|
|
1777
|
+
"type": "object",
|
|
1778
|
+
"properties": {
|
|
1779
|
+
"guild_id": {
|
|
1780
|
+
"type": "string",
|
|
1781
|
+
"description": "A Discord snowflake identifier.",
|
|
1782
|
+
"pattern": "^[0-9]+$"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
"additionalProperties": false,
|
|
1786
|
+
"required": [
|
|
1787
|
+
"guild_id"
|
|
1788
|
+
],
|
|
1789
|
+
"description": "Input parameters containing a guild id."
|
|
1790
|
+
},
|
|
1791
|
+
"outputSchema": {
|
|
1792
|
+
"type": "object",
|
|
1793
|
+
"properties": {
|
|
1794
|
+
"invites": {
|
|
1795
|
+
"type": "array",
|
|
1796
|
+
"items": {
|
|
1797
|
+
"type": "object",
|
|
1798
|
+
"properties": {},
|
|
1799
|
+
"additionalProperties": true,
|
|
1800
|
+
"description": "A raw Discord API object."
|
|
1801
|
+
},
|
|
1802
|
+
"description": "The invite objects returned by Discord."
|
|
1803
|
+
}
|
|
1804
|
+
},
|
|
1805
|
+
"additionalProperties": false,
|
|
1806
|
+
"required": [
|
|
1807
|
+
"invites"
|
|
1808
|
+
],
|
|
1809
|
+
"description": "The guild invites response."
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
"id": "discordbot.list_guild_members",
|
|
1814
|
+
"service": "discordbot",
|
|
1815
|
+
"name": "list_guild_members",
|
|
1816
|
+
"description": "List members of a Discord guild in ascending user ID order. Requires the GUILD_MEMBERS privileged intent. Pass the last user id as after to fetch the next page.",
|
|
1817
|
+
"operationType": "read",
|
|
1818
|
+
"requiredScopes": [],
|
|
1819
|
+
"providerPermissions": [],
|
|
1820
|
+
"inputSchema": {
|
|
1821
|
+
"type": "object",
|
|
1822
|
+
"properties": {
|
|
1823
|
+
"guild_id": {
|
|
1824
|
+
"type": "string",
|
|
1825
|
+
"description": "A Discord snowflake identifier.",
|
|
1826
|
+
"pattern": "^[0-9]+$"
|
|
1827
|
+
},
|
|
1828
|
+
"limit": {
|
|
1829
|
+
"type": "integer",
|
|
1830
|
+
"minimum": 1,
|
|
1831
|
+
"maximum": 1000,
|
|
1832
|
+
"description": "The maximum number of members to return. Discord defaults to 1."
|
|
1833
|
+
},
|
|
1834
|
+
"after": {
|
|
1835
|
+
"type": "string",
|
|
1836
|
+
"description": "Return members with a user id greater than this id."
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
"additionalProperties": false,
|
|
1840
|
+
"required": [
|
|
1841
|
+
"guild_id"
|
|
1842
|
+
],
|
|
1843
|
+
"description": "Input parameters for listing guild members."
|
|
1844
|
+
},
|
|
1845
|
+
"outputSchema": {
|
|
1846
|
+
"type": "object",
|
|
1847
|
+
"properties": {
|
|
1848
|
+
"members": {
|
|
1849
|
+
"type": "array",
|
|
1850
|
+
"items": {
|
|
1851
|
+
"type": "object",
|
|
1852
|
+
"properties": {},
|
|
1853
|
+
"additionalProperties": true,
|
|
1854
|
+
"description": "A raw Discord API object."
|
|
1855
|
+
},
|
|
1856
|
+
"description": "The guild members returned by Discord."
|
|
1857
|
+
}
|
|
1858
|
+
},
|
|
1859
|
+
"additionalProperties": false,
|
|
1860
|
+
"required": [
|
|
1861
|
+
"members"
|
|
1862
|
+
],
|
|
1863
|
+
"description": "The guild members response."
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"id": "discordbot.list_guild_roles",
|
|
1868
|
+
"service": "discordbot",
|
|
1869
|
+
"name": "list_guild_roles",
|
|
1870
|
+
"description": "List roles in a Discord guild.",
|
|
1871
|
+
"operationType": "read",
|
|
1872
|
+
"requiredScopes": [],
|
|
1873
|
+
"providerPermissions": [],
|
|
1874
|
+
"inputSchema": {
|
|
1875
|
+
"type": "object",
|
|
1876
|
+
"properties": {
|
|
1877
|
+
"guild_id": {
|
|
1878
|
+
"type": "string",
|
|
1879
|
+
"description": "A Discord snowflake identifier.",
|
|
1880
|
+
"pattern": "^[0-9]+$"
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
"additionalProperties": false,
|
|
1884
|
+
"required": [
|
|
1885
|
+
"guild_id"
|
|
1886
|
+
],
|
|
1887
|
+
"description": "Input parameters containing a guild id."
|
|
1888
|
+
},
|
|
1889
|
+
"outputSchema": {
|
|
1890
|
+
"type": "object",
|
|
1891
|
+
"properties": {
|
|
1892
|
+
"roles": {
|
|
1893
|
+
"type": "array",
|
|
1894
|
+
"items": {
|
|
1895
|
+
"type": "object",
|
|
1896
|
+
"properties": {},
|
|
1897
|
+
"additionalProperties": true,
|
|
1898
|
+
"description": "A raw Discord API object."
|
|
1899
|
+
},
|
|
1900
|
+
"description": "The roles returned by Discord."
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
"additionalProperties": false,
|
|
1904
|
+
"required": [
|
|
1905
|
+
"roles"
|
|
1906
|
+
],
|
|
1907
|
+
"description": "The guild roles response."
|
|
1908
|
+
}
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
"id": "discordbot.list_guild_voice_regions",
|
|
1912
|
+
"service": "discordbot",
|
|
1913
|
+
"name": "list_guild_voice_regions",
|
|
1914
|
+
"description": "List voice regions available to a Discord guild, including VIP regions when the guild has them.",
|
|
1915
|
+
"operationType": "read",
|
|
1916
|
+
"requiredScopes": [],
|
|
1917
|
+
"providerPermissions": [],
|
|
1918
|
+
"inputSchema": {
|
|
1919
|
+
"type": "object",
|
|
1920
|
+
"properties": {
|
|
1921
|
+
"guild_id": {
|
|
1922
|
+
"type": "string",
|
|
1923
|
+
"description": "A Discord snowflake identifier.",
|
|
1924
|
+
"pattern": "^[0-9]+$"
|
|
1925
|
+
}
|
|
1926
|
+
},
|
|
1927
|
+
"additionalProperties": false,
|
|
1928
|
+
"required": [
|
|
1929
|
+
"guild_id"
|
|
1930
|
+
],
|
|
1931
|
+
"description": "Input parameters containing a guild id."
|
|
1932
|
+
},
|
|
1933
|
+
"outputSchema": {
|
|
1934
|
+
"type": "object",
|
|
1935
|
+
"properties": {
|
|
1936
|
+
"regions": {
|
|
1937
|
+
"type": "array",
|
|
1938
|
+
"items": {
|
|
1939
|
+
"type": "object",
|
|
1940
|
+
"properties": {},
|
|
1941
|
+
"additionalProperties": true,
|
|
1942
|
+
"description": "A raw Discord API object."
|
|
1943
|
+
},
|
|
1944
|
+
"description": "The voice region objects returned by Discord."
|
|
1945
|
+
}
|
|
1946
|
+
},
|
|
1947
|
+
"additionalProperties": false,
|
|
1948
|
+
"required": [
|
|
1949
|
+
"regions"
|
|
1950
|
+
],
|
|
1951
|
+
"description": "The voice regions response."
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"id": "discordbot.list_messages",
|
|
1956
|
+
"service": "discordbot",
|
|
1957
|
+
"name": "list_messages",
|
|
1958
|
+
"description": "List messages from a Discord channel.",
|
|
1959
|
+
"operationType": "read",
|
|
1960
|
+
"requiredScopes": [],
|
|
1961
|
+
"providerPermissions": [],
|
|
1962
|
+
"inputSchema": {
|
|
1963
|
+
"type": "object",
|
|
1964
|
+
"properties": {
|
|
1965
|
+
"channel_id": {
|
|
1966
|
+
"type": "string",
|
|
1967
|
+
"description": "A Discord snowflake identifier.",
|
|
1968
|
+
"pattern": "^[0-9]+$"
|
|
1969
|
+
},
|
|
1970
|
+
"around": {
|
|
1971
|
+
"type": "string",
|
|
1972
|
+
"description": "A Discord snowflake identifier.",
|
|
1973
|
+
"pattern": "^[0-9]+$"
|
|
1974
|
+
},
|
|
1975
|
+
"before": {
|
|
1976
|
+
"type": "string",
|
|
1977
|
+
"description": "A Discord snowflake identifier.",
|
|
1978
|
+
"pattern": "^[0-9]+$"
|
|
1979
|
+
},
|
|
1980
|
+
"after": {
|
|
1981
|
+
"type": "string",
|
|
1982
|
+
"description": "A Discord snowflake identifier.",
|
|
1983
|
+
"pattern": "^[0-9]+$"
|
|
1984
|
+
},
|
|
1985
|
+
"limit": {
|
|
1986
|
+
"type": "integer",
|
|
1987
|
+
"minimum": 1,
|
|
1988
|
+
"maximum": 100,
|
|
1989
|
+
"description": "The maximum number of messages to return."
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
"additionalProperties": false,
|
|
1993
|
+
"required": [
|
|
1994
|
+
"channel_id"
|
|
1995
|
+
],
|
|
1996
|
+
"description": "Input parameters for listing channel messages."
|
|
1997
|
+
},
|
|
1998
|
+
"outputSchema": {
|
|
1999
|
+
"type": "object",
|
|
2000
|
+
"properties": {
|
|
2001
|
+
"messages": {
|
|
2002
|
+
"type": "array",
|
|
2003
|
+
"items": {
|
|
2004
|
+
"type": "object",
|
|
2005
|
+
"properties": {},
|
|
2006
|
+
"additionalProperties": true,
|
|
2007
|
+
"description": "A raw Discord API object."
|
|
2008
|
+
},
|
|
2009
|
+
"description": "The messages returned by Discord."
|
|
2010
|
+
}
|
|
2011
|
+
},
|
|
2012
|
+
"additionalProperties": false,
|
|
2013
|
+
"required": [
|
|
2014
|
+
"messages"
|
|
2015
|
+
],
|
|
2016
|
+
"description": "The messages response."
|
|
2017
|
+
}
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"id": "discordbot.modify_current_member",
|
|
2021
|
+
"service": "discordbot",
|
|
2022
|
+
"name": "modify_current_member",
|
|
2023
|
+
"description": "Update the bot's own member profile in a Discord guild.",
|
|
2024
|
+
"operationType": "write",
|
|
2025
|
+
"requiredScopes": [],
|
|
2026
|
+
"providerPermissions": [],
|
|
2027
|
+
"inputSchema": {
|
|
2028
|
+
"type": "object",
|
|
2029
|
+
"properties": {
|
|
2030
|
+
"guild_id": {
|
|
2031
|
+
"type": "string",
|
|
2032
|
+
"description": "A Discord snowflake identifier.",
|
|
2033
|
+
"pattern": "^[0-9]+$"
|
|
2034
|
+
},
|
|
2035
|
+
"nick": {
|
|
2036
|
+
"anyOf": [
|
|
2037
|
+
{
|
|
2038
|
+
"type": "string",
|
|
2039
|
+
"description": "The bot's nickname in the guild, or null to reset it. Requires CHANGE_NICKNAME."
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
"type": "null"
|
|
2043
|
+
}
|
|
2044
|
+
]
|
|
2045
|
+
},
|
|
2046
|
+
"avatar": {
|
|
2047
|
+
"anyOf": [
|
|
2048
|
+
{
|
|
2049
|
+
"type": "string",
|
|
2050
|
+
"description": "The bot's guild-specific avatar. Pass a data URI such as data:image/png;base64,..., or null to remove it."
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
"type": "null"
|
|
2054
|
+
}
|
|
2055
|
+
]
|
|
2056
|
+
},
|
|
2057
|
+
"banner": {
|
|
2058
|
+
"anyOf": [
|
|
2059
|
+
{
|
|
2060
|
+
"type": "string",
|
|
2061
|
+
"description": "The bot's guild-specific banner. Pass a data URI such as data:image/png;base64,..., or null to remove it."
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"type": "null"
|
|
2065
|
+
}
|
|
2066
|
+
]
|
|
2067
|
+
},
|
|
2068
|
+
"bio": {
|
|
2069
|
+
"anyOf": [
|
|
2070
|
+
{
|
|
2071
|
+
"type": "string",
|
|
2072
|
+
"description": "The bot's guild-specific bio."
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
"type": "null"
|
|
2076
|
+
}
|
|
2077
|
+
]
|
|
2078
|
+
},
|
|
2079
|
+
"audit_log_reason": {
|
|
2080
|
+
"type": "string",
|
|
2081
|
+
"minLength": 1,
|
|
2082
|
+
"maxLength": 512,
|
|
2083
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
2084
|
+
}
|
|
2085
|
+
},
|
|
2086
|
+
"additionalProperties": false,
|
|
2087
|
+
"required": [
|
|
2088
|
+
"guild_id"
|
|
2089
|
+
],
|
|
2090
|
+
"description": "Input parameters for updating the bot's guild member profile."
|
|
2091
|
+
},
|
|
2092
|
+
"outputSchema": {
|
|
2093
|
+
"type": "object",
|
|
2094
|
+
"properties": {},
|
|
2095
|
+
"additionalProperties": true,
|
|
2096
|
+
"description": "A raw Discord API object."
|
|
2097
|
+
}
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
"id": "discordbot.modify_guild",
|
|
2101
|
+
"service": "discordbot",
|
|
2102
|
+
"name": "modify_guild",
|
|
2103
|
+
"description": "Update a Discord guild's settings. Requires the MANAGE_GUILD permission.",
|
|
2104
|
+
"operationType": "write",
|
|
2105
|
+
"requiredScopes": [],
|
|
2106
|
+
"providerPermissions": [],
|
|
2107
|
+
"inputSchema": {
|
|
2108
|
+
"type": "object",
|
|
2109
|
+
"properties": {
|
|
2110
|
+
"guild_id": {
|
|
2111
|
+
"type": "string",
|
|
2112
|
+
"description": "A Discord snowflake identifier.",
|
|
2113
|
+
"pattern": "^[0-9]+$"
|
|
2114
|
+
},
|
|
2115
|
+
"name": {
|
|
2116
|
+
"type": "string",
|
|
2117
|
+
"minLength": 2,
|
|
2118
|
+
"maxLength": 100,
|
|
2119
|
+
"description": "The guild name."
|
|
2120
|
+
},
|
|
2121
|
+
"verification_level": {
|
|
2122
|
+
"anyOf": [
|
|
2123
|
+
{
|
|
2124
|
+
"type": "integer",
|
|
2125
|
+
"minimum": 0,
|
|
2126
|
+
"maximum": 4,
|
|
2127
|
+
"description": "The verification level."
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
"type": "null"
|
|
2131
|
+
}
|
|
2132
|
+
]
|
|
2133
|
+
},
|
|
2134
|
+
"default_message_notifications": {
|
|
2135
|
+
"anyOf": [
|
|
2136
|
+
{
|
|
2137
|
+
"type": "integer",
|
|
2138
|
+
"minimum": 0,
|
|
2139
|
+
"maximum": 1,
|
|
2140
|
+
"description": "The default message notification level."
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"type": "null"
|
|
2144
|
+
}
|
|
2145
|
+
]
|
|
2146
|
+
},
|
|
2147
|
+
"explicit_content_filter": {
|
|
2148
|
+
"anyOf": [
|
|
2149
|
+
{
|
|
2150
|
+
"type": "integer",
|
|
2151
|
+
"minimum": 0,
|
|
2152
|
+
"maximum": 2,
|
|
2153
|
+
"description": "The explicit content filter level."
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"type": "null"
|
|
2157
|
+
}
|
|
2158
|
+
]
|
|
2159
|
+
},
|
|
2160
|
+
"afk_channel_id": {
|
|
2161
|
+
"anyOf": [
|
|
2162
|
+
{
|
|
2163
|
+
"type": "string",
|
|
2164
|
+
"description": "The AFK voice channel id, or null to clear it."
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
"type": "null"
|
|
2168
|
+
}
|
|
2169
|
+
]
|
|
2170
|
+
},
|
|
2171
|
+
"afk_timeout": {
|
|
2172
|
+
"type": "integer",
|
|
2173
|
+
"description": "The AFK timeout in seconds.",
|
|
2174
|
+
"enum": [
|
|
2175
|
+
60,
|
|
2176
|
+
300,
|
|
2177
|
+
900,
|
|
2178
|
+
1800,
|
|
2179
|
+
3600
|
|
2180
|
+
]
|
|
2181
|
+
},
|
|
2182
|
+
"icon": {
|
|
2183
|
+
"anyOf": [
|
|
2184
|
+
{
|
|
2185
|
+
"type": "string",
|
|
2186
|
+
"description": "The guild icon. Pass a data URI such as data:image/png;base64,..., or null to remove it."
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
"type": "null"
|
|
2190
|
+
}
|
|
2191
|
+
]
|
|
2192
|
+
},
|
|
2193
|
+
"splash": {
|
|
2194
|
+
"anyOf": [
|
|
2195
|
+
{
|
|
2196
|
+
"type": "string",
|
|
2197
|
+
"description": "The invite splash image, for guilds with the INVITE_SPLASH feature. Pass a data URI such as data:image/png;base64,..., or null to remove it."
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
"type": "null"
|
|
2201
|
+
}
|
|
2202
|
+
]
|
|
2203
|
+
},
|
|
2204
|
+
"discovery_splash": {
|
|
2205
|
+
"anyOf": [
|
|
2206
|
+
{
|
|
2207
|
+
"type": "string",
|
|
2208
|
+
"description": "The discovery splash image, for guilds with the DISCOVERABLE feature. Pass a data URI such as data:image/png;base64,..., or null to remove it."
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
"type": "null"
|
|
2212
|
+
}
|
|
2213
|
+
]
|
|
2214
|
+
},
|
|
2215
|
+
"banner": {
|
|
2216
|
+
"anyOf": [
|
|
2217
|
+
{
|
|
2218
|
+
"type": "string",
|
|
2219
|
+
"description": "The guild banner, for guilds with the BANNER feature. Pass a data URI such as data:image/png;base64,..., or null to remove it."
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
"type": "null"
|
|
2223
|
+
}
|
|
2224
|
+
]
|
|
2225
|
+
},
|
|
2226
|
+
"system_channel_id": {
|
|
2227
|
+
"anyOf": [
|
|
2228
|
+
{
|
|
2229
|
+
"type": "string",
|
|
2230
|
+
"description": "The channel id for system messages such as welcomes, or null to clear it."
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
"type": "null"
|
|
2234
|
+
}
|
|
2235
|
+
]
|
|
2236
|
+
},
|
|
2237
|
+
"system_channel_flags": {
|
|
2238
|
+
"type": "integer",
|
|
2239
|
+
"description": "The system channel flags bitfield."
|
|
2240
|
+
},
|
|
2241
|
+
"rules_channel_id": {
|
|
2242
|
+
"anyOf": [
|
|
2243
|
+
{
|
|
2244
|
+
"type": "string",
|
|
2245
|
+
"description": "The rules channel id for Community guilds, or null to clear it."
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
"type": "null"
|
|
2249
|
+
}
|
|
2250
|
+
]
|
|
2251
|
+
},
|
|
2252
|
+
"public_updates_channel_id": {
|
|
2253
|
+
"anyOf": [
|
|
2254
|
+
{
|
|
2255
|
+
"type": "string",
|
|
2256
|
+
"description": "The channel id where Community guild moderators receive Discord notices, or null to clear it."
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"type": "null"
|
|
2260
|
+
}
|
|
2261
|
+
]
|
|
2262
|
+
},
|
|
2263
|
+
"safety_alerts_channel_id": {
|
|
2264
|
+
"anyOf": [
|
|
2265
|
+
{
|
|
2266
|
+
"type": "string",
|
|
2267
|
+
"description": "The channel id where Community guild moderators receive safety alerts, or null to clear it."
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"type": "null"
|
|
2271
|
+
}
|
|
2272
|
+
]
|
|
2273
|
+
},
|
|
2274
|
+
"preferred_locale": {
|
|
2275
|
+
"anyOf": [
|
|
2276
|
+
{
|
|
2277
|
+
"type": "string",
|
|
2278
|
+
"description": "The preferred locale of a Community guild, such as en-US."
|
|
2279
|
+
},
|
|
2280
|
+
{
|
|
2281
|
+
"type": "null"
|
|
2282
|
+
}
|
|
2283
|
+
]
|
|
2284
|
+
},
|
|
2285
|
+
"features": {
|
|
2286
|
+
"type": "array",
|
|
2287
|
+
"items": {
|
|
2288
|
+
"type": "string",
|
|
2289
|
+
"minLength": 1
|
|
2290
|
+
},
|
|
2291
|
+
"description": "The complete list of enabled guild feature strings."
|
|
2292
|
+
},
|
|
2293
|
+
"description": {
|
|
2294
|
+
"anyOf": [
|
|
2295
|
+
{
|
|
2296
|
+
"type": "string",
|
|
2297
|
+
"description": "The guild description."
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"type": "null"
|
|
2301
|
+
}
|
|
2302
|
+
]
|
|
2303
|
+
},
|
|
2304
|
+
"premium_progress_bar_enabled": {
|
|
2305
|
+
"type": "boolean",
|
|
2306
|
+
"description": "Whether the boost progress bar is shown."
|
|
2307
|
+
},
|
|
2308
|
+
"audit_log_reason": {
|
|
2309
|
+
"type": "string",
|
|
2310
|
+
"minLength": 1,
|
|
2311
|
+
"maxLength": 512,
|
|
2312
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
2313
|
+
}
|
|
2314
|
+
},
|
|
2315
|
+
"additionalProperties": false,
|
|
2316
|
+
"required": [
|
|
2317
|
+
"guild_id"
|
|
2318
|
+
],
|
|
2319
|
+
"description": "Input parameters for updating a guild. Only the provided fields are changed."
|
|
2320
|
+
},
|
|
2321
|
+
"outputSchema": {
|
|
2322
|
+
"type": "object",
|
|
2323
|
+
"properties": {},
|
|
2324
|
+
"additionalProperties": true,
|
|
2325
|
+
"description": "A raw Discord API object."
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"id": "discordbot.modify_guild_channel_positions",
|
|
2330
|
+
"service": "discordbot",
|
|
2331
|
+
"name": "modify_guild_channel_positions",
|
|
2332
|
+
"description": "Reorder or re-parent channels in a Discord guild. Requires the MANAGE_CHANNELS permission. Only one entry per request may change parent_id.",
|
|
2333
|
+
"operationType": "write",
|
|
2334
|
+
"requiredScopes": [],
|
|
2335
|
+
"providerPermissions": [],
|
|
2336
|
+
"inputSchema": {
|
|
2337
|
+
"type": "object",
|
|
2338
|
+
"properties": {
|
|
2339
|
+
"guild_id": {
|
|
2340
|
+
"type": "string",
|
|
2341
|
+
"description": "A Discord snowflake identifier.",
|
|
2342
|
+
"pattern": "^[0-9]+$"
|
|
2343
|
+
},
|
|
2344
|
+
"positions": {
|
|
2345
|
+
"type": "array",
|
|
2346
|
+
"items": {
|
|
2347
|
+
"type": "object",
|
|
2348
|
+
"properties": {
|
|
2349
|
+
"id": {
|
|
2350
|
+
"type": "string",
|
|
2351
|
+
"description": "A Discord snowflake identifier.",
|
|
2352
|
+
"pattern": "^[0-9]+$"
|
|
2353
|
+
},
|
|
2354
|
+
"position": {
|
|
2355
|
+
"anyOf": [
|
|
2356
|
+
{
|
|
2357
|
+
"type": "integer",
|
|
2358
|
+
"description": "The new sorting position."
|
|
2359
|
+
},
|
|
2360
|
+
{
|
|
2361
|
+
"type": "null"
|
|
2362
|
+
}
|
|
2363
|
+
]
|
|
2364
|
+
},
|
|
2365
|
+
"lock_permissions": {
|
|
2366
|
+
"anyOf": [
|
|
2367
|
+
{
|
|
2368
|
+
"type": "boolean",
|
|
2369
|
+
"description": "Whether to sync permission overwrites with the new parent category."
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
"type": "null"
|
|
2373
|
+
}
|
|
2374
|
+
]
|
|
2375
|
+
},
|
|
2376
|
+
"parent_id": {
|
|
2377
|
+
"anyOf": [
|
|
2378
|
+
{
|
|
2379
|
+
"type": "string",
|
|
2380
|
+
"description": "The new parent category id, or null to move the channel out of a category."
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
"type": "null"
|
|
2384
|
+
}
|
|
2385
|
+
]
|
|
2386
|
+
},
|
|
2387
|
+
"flags": {
|
|
2388
|
+
"anyOf": [
|
|
2389
|
+
{
|
|
2390
|
+
"type": "integer",
|
|
2391
|
+
"description": "The channel flags bitfield."
|
|
2392
|
+
},
|
|
2393
|
+
{
|
|
2394
|
+
"type": "null"
|
|
2395
|
+
}
|
|
2396
|
+
]
|
|
2397
|
+
}
|
|
2398
|
+
},
|
|
2399
|
+
"additionalProperties": false,
|
|
2400
|
+
"required": [
|
|
2401
|
+
"id"
|
|
2402
|
+
],
|
|
2403
|
+
"description": "A channel position change."
|
|
2404
|
+
},
|
|
2405
|
+
"description": "The channels to move.",
|
|
2406
|
+
"minItems": 1
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
"additionalProperties": false,
|
|
2410
|
+
"required": [
|
|
2411
|
+
"guild_id",
|
|
2412
|
+
"positions"
|
|
2413
|
+
],
|
|
2414
|
+
"description": "Input parameters for changing channel positions."
|
|
2415
|
+
},
|
|
2416
|
+
"outputSchema": {
|
|
2417
|
+
"type": "object",
|
|
2418
|
+
"properties": {
|
|
2419
|
+
"success": {
|
|
2420
|
+
"const": true,
|
|
2421
|
+
"type": "boolean",
|
|
2422
|
+
"description": "The success flag."
|
|
2423
|
+
}
|
|
2424
|
+
},
|
|
2425
|
+
"additionalProperties": false,
|
|
2426
|
+
"required": [
|
|
2427
|
+
"success"
|
|
2428
|
+
],
|
|
2429
|
+
"description": "The success response returned by the action."
|
|
2430
|
+
}
|
|
2431
|
+
},
|
|
2432
|
+
{
|
|
2433
|
+
"id": "discordbot.modify_guild_incident_actions",
|
|
2434
|
+
"service": "discordbot",
|
|
2435
|
+
"name": "modify_guild_incident_actions",
|
|
2436
|
+
"description": "Pause invites or direct messages in a Discord guild for up to 24 hours. Requires the MANAGE_GUILD permission.",
|
|
2437
|
+
"operationType": "write",
|
|
2438
|
+
"requiredScopes": [],
|
|
2439
|
+
"providerPermissions": [],
|
|
2440
|
+
"inputSchema": {
|
|
2441
|
+
"type": "object",
|
|
2442
|
+
"properties": {
|
|
2443
|
+
"guild_id": {
|
|
2444
|
+
"type": "string",
|
|
2445
|
+
"description": "A Discord snowflake identifier.",
|
|
2446
|
+
"pattern": "^[0-9]+$"
|
|
2447
|
+
},
|
|
2448
|
+
"invites_disabled_until": {
|
|
2449
|
+
"anyOf": [
|
|
2450
|
+
{
|
|
2451
|
+
"type": "string",
|
|
2452
|
+
"description": "When invites are enabled again, up to 24 hours in the future. Null re-enables them now.",
|
|
2453
|
+
"format": "date-time"
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"type": "null"
|
|
2457
|
+
}
|
|
2458
|
+
]
|
|
2459
|
+
},
|
|
2460
|
+
"dms_disabled_until": {
|
|
2461
|
+
"anyOf": [
|
|
2462
|
+
{
|
|
2463
|
+
"type": "string",
|
|
2464
|
+
"description": "When direct messages are enabled again, up to 24 hours in the future. Null re-enables them now.",
|
|
2465
|
+
"format": "date-time"
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"type": "null"
|
|
2469
|
+
}
|
|
2470
|
+
]
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
"additionalProperties": false,
|
|
2474
|
+
"required": [
|
|
2475
|
+
"guild_id"
|
|
2476
|
+
],
|
|
2477
|
+
"description": "Input parameters for updating guild incident actions."
|
|
2478
|
+
},
|
|
2479
|
+
"outputSchema": {
|
|
2480
|
+
"type": "object",
|
|
2481
|
+
"properties": {},
|
|
2482
|
+
"additionalProperties": true,
|
|
2483
|
+
"description": "A raw Discord API object."
|
|
2484
|
+
}
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"id": "discordbot.modify_guild_member",
|
|
2488
|
+
"service": "discordbot",
|
|
2489
|
+
"name": "modify_guild_member",
|
|
2490
|
+
"description": "Update a Discord guild member's nickname, roles, voice state, or timeout. Each field requires its own permission.",
|
|
2491
|
+
"operationType": "write",
|
|
2492
|
+
"requiredScopes": [],
|
|
2493
|
+
"providerPermissions": [],
|
|
2494
|
+
"inputSchema": {
|
|
2495
|
+
"type": "object",
|
|
2496
|
+
"properties": {
|
|
2497
|
+
"guild_id": {
|
|
2498
|
+
"type": "string",
|
|
2499
|
+
"description": "A Discord snowflake identifier.",
|
|
2500
|
+
"pattern": "^[0-9]+$"
|
|
2501
|
+
},
|
|
2502
|
+
"user_id": {
|
|
2503
|
+
"type": "string",
|
|
2504
|
+
"description": "A Discord snowflake identifier.",
|
|
2505
|
+
"pattern": "^[0-9]+$"
|
|
2506
|
+
},
|
|
2507
|
+
"nick": {
|
|
2508
|
+
"anyOf": [
|
|
2509
|
+
{
|
|
2510
|
+
"type": "string",
|
|
2511
|
+
"description": "The member nickname, or null to reset it. Requires MANAGE_NICKNAMES."
|
|
2512
|
+
},
|
|
2513
|
+
{
|
|
2514
|
+
"type": "null"
|
|
2515
|
+
}
|
|
2516
|
+
]
|
|
2517
|
+
},
|
|
2518
|
+
"roles": {
|
|
2519
|
+
"anyOf": [
|
|
2520
|
+
{
|
|
2521
|
+
"type": "array",
|
|
2522
|
+
"items": {
|
|
2523
|
+
"type": "string",
|
|
2524
|
+
"description": "A Discord snowflake identifier.",
|
|
2525
|
+
"pattern": "^[0-9]+$"
|
|
2526
|
+
},
|
|
2527
|
+
"description": "The complete list of role ids for the member. Requires MANAGE_ROLES."
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
"type": "null"
|
|
2531
|
+
}
|
|
2532
|
+
]
|
|
2533
|
+
},
|
|
2534
|
+
"mute": {
|
|
2535
|
+
"anyOf": [
|
|
2536
|
+
{
|
|
2537
|
+
"type": "boolean",
|
|
2538
|
+
"description": "Whether the member is muted in voice channels. Requires MUTE_MEMBERS."
|
|
2539
|
+
},
|
|
2540
|
+
{
|
|
2541
|
+
"type": "null"
|
|
2542
|
+
}
|
|
2543
|
+
]
|
|
2544
|
+
},
|
|
2545
|
+
"deaf": {
|
|
2546
|
+
"anyOf": [
|
|
2547
|
+
{
|
|
2548
|
+
"type": "boolean",
|
|
2549
|
+
"description": "Whether the member is deafened in voice channels. Requires DEAFEN_MEMBERS."
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"type": "null"
|
|
2553
|
+
}
|
|
2554
|
+
]
|
|
2555
|
+
},
|
|
2556
|
+
"channel_id": {
|
|
2557
|
+
"anyOf": [
|
|
2558
|
+
{
|
|
2559
|
+
"type": "string",
|
|
2560
|
+
"description": "The voice channel id to move the member to, or null to disconnect them from voice. Requires MOVE_MEMBERS."
|
|
2561
|
+
},
|
|
2562
|
+
{
|
|
2563
|
+
"type": "null"
|
|
2564
|
+
}
|
|
2565
|
+
]
|
|
2566
|
+
},
|
|
2567
|
+
"communication_disabled_until": {
|
|
2568
|
+
"anyOf": [
|
|
2569
|
+
{
|
|
2570
|
+
"type": "string",
|
|
2571
|
+
"description": "When the member's timeout ends, up to 28 days in the future. Requires MODERATE_MEMBERS.",
|
|
2572
|
+
"format": "date-time"
|
|
2573
|
+
},
|
|
2574
|
+
{
|
|
2575
|
+
"type": "null"
|
|
2576
|
+
}
|
|
2577
|
+
]
|
|
2578
|
+
},
|
|
2579
|
+
"flags": {
|
|
2580
|
+
"anyOf": [
|
|
2581
|
+
{
|
|
2582
|
+
"type": "integer",
|
|
2583
|
+
"description": "The guild member flags bitfield."
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
"type": "null"
|
|
2587
|
+
}
|
|
2588
|
+
]
|
|
2589
|
+
},
|
|
2590
|
+
"audit_log_reason": {
|
|
2591
|
+
"type": "string",
|
|
2592
|
+
"minLength": 1,
|
|
2593
|
+
"maxLength": 512,
|
|
2594
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
2595
|
+
}
|
|
2596
|
+
},
|
|
2597
|
+
"additionalProperties": false,
|
|
2598
|
+
"required": [
|
|
2599
|
+
"guild_id",
|
|
2600
|
+
"user_id"
|
|
2601
|
+
],
|
|
2602
|
+
"description": "Input parameters for updating a guild member. Only the provided fields are changed."
|
|
2603
|
+
},
|
|
2604
|
+
"outputSchema": {
|
|
2605
|
+
"type": "object",
|
|
2606
|
+
"properties": {
|
|
2607
|
+
"member": {
|
|
2608
|
+
"anyOf": [
|
|
2609
|
+
{
|
|
2610
|
+
"type": "object",
|
|
2611
|
+
"properties": {},
|
|
2612
|
+
"additionalProperties": true,
|
|
2613
|
+
"description": "The updated guild member, or null only if Discord answers 204 No Content."
|
|
2614
|
+
},
|
|
2615
|
+
{
|
|
2616
|
+
"type": "null"
|
|
2617
|
+
}
|
|
2618
|
+
]
|
|
2619
|
+
}
|
|
2620
|
+
},
|
|
2621
|
+
"additionalProperties": false,
|
|
2622
|
+
"required": [
|
|
2623
|
+
"member"
|
|
2624
|
+
],
|
|
2625
|
+
"description": "The modify guild member response."
|
|
2626
|
+
}
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"id": "discordbot.modify_guild_onboarding",
|
|
2630
|
+
"service": "discordbot",
|
|
2631
|
+
"name": "modify_guild_onboarding",
|
|
2632
|
+
"description": "Replace the onboarding configuration of a Discord guild. Requires the MANAGE_GUILD and MANAGE_ROLES permissions.",
|
|
2633
|
+
"operationType": "write",
|
|
2634
|
+
"requiredScopes": [],
|
|
2635
|
+
"providerPermissions": [],
|
|
2636
|
+
"inputSchema": {
|
|
2637
|
+
"type": "object",
|
|
2638
|
+
"properties": {
|
|
2639
|
+
"guild_id": {
|
|
2640
|
+
"type": "string",
|
|
2641
|
+
"description": "A Discord snowflake identifier.",
|
|
2642
|
+
"pattern": "^[0-9]+$"
|
|
2643
|
+
},
|
|
2644
|
+
"prompts": {
|
|
2645
|
+
"type": "array",
|
|
2646
|
+
"items": {
|
|
2647
|
+
"type": "object",
|
|
2648
|
+
"properties": {},
|
|
2649
|
+
"additionalProperties": true,
|
|
2650
|
+
"description": "A raw Discord API object."
|
|
2651
|
+
},
|
|
2652
|
+
"description": "The onboarding prompt objects."
|
|
2653
|
+
},
|
|
2654
|
+
"default_channel_ids": {
|
|
2655
|
+
"type": "array",
|
|
2656
|
+
"items": {
|
|
2657
|
+
"type": "string",
|
|
2658
|
+
"description": "A Discord snowflake identifier.",
|
|
2659
|
+
"pattern": "^[0-9]+$"
|
|
2660
|
+
},
|
|
2661
|
+
"description": "The channel ids members are opted into automatically."
|
|
2662
|
+
},
|
|
2663
|
+
"enabled": {
|
|
2664
|
+
"type": "boolean",
|
|
2665
|
+
"description": "Whether onboarding is enabled."
|
|
2666
|
+
},
|
|
2667
|
+
"mode": {
|
|
2668
|
+
"type": "integer",
|
|
2669
|
+
"description": "The onboarding mode: 0 counts only default channels, 1 also counts questions.",
|
|
2670
|
+
"enum": [
|
|
2671
|
+
0,
|
|
2672
|
+
1
|
|
2673
|
+
]
|
|
2674
|
+
},
|
|
2675
|
+
"audit_log_reason": {
|
|
2676
|
+
"type": "string",
|
|
2677
|
+
"minLength": 1,
|
|
2678
|
+
"maxLength": 512,
|
|
2679
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
255
2680
|
}
|
|
256
2681
|
},
|
|
257
2682
|
"additionalProperties": false,
|
|
258
2683
|
"required": [
|
|
259
|
-
"
|
|
2684
|
+
"guild_id"
|
|
260
2685
|
],
|
|
261
|
-
"description": "
|
|
2686
|
+
"description": "Input parameters for updating guild onboarding."
|
|
2687
|
+
},
|
|
2688
|
+
"outputSchema": {
|
|
2689
|
+
"type": "object",
|
|
2690
|
+
"properties": {},
|
|
2691
|
+
"additionalProperties": true,
|
|
2692
|
+
"description": "A raw Discord API object."
|
|
262
2693
|
}
|
|
263
2694
|
},
|
|
264
2695
|
{
|
|
265
|
-
"id": "discordbot.
|
|
2696
|
+
"id": "discordbot.modify_guild_role",
|
|
266
2697
|
"service": "discordbot",
|
|
267
|
-
"name": "
|
|
268
|
-
"description": "
|
|
269
|
-
"operationType": "
|
|
2698
|
+
"name": "modify_guild_role",
|
|
2699
|
+
"description": "Update a role in a Discord guild. Requires the MANAGE_ROLES permission.",
|
|
2700
|
+
"operationType": "write",
|
|
270
2701
|
"requiredScopes": [],
|
|
271
2702
|
"providerPermissions": [],
|
|
272
2703
|
"inputSchema": {
|
|
273
2704
|
"type": "object",
|
|
274
2705
|
"properties": {
|
|
275
2706
|
"guild_id": {
|
|
2707
|
+
"type": "string",
|
|
2708
|
+
"description": "A Discord snowflake identifier.",
|
|
2709
|
+
"pattern": "^[0-9]+$"
|
|
2710
|
+
},
|
|
2711
|
+
"role_id": {
|
|
2712
|
+
"type": "string",
|
|
2713
|
+
"description": "A Discord snowflake identifier.",
|
|
2714
|
+
"pattern": "^[0-9]+$"
|
|
2715
|
+
},
|
|
2716
|
+
"name": {
|
|
2717
|
+
"type": "string",
|
|
2718
|
+
"maxLength": 100,
|
|
2719
|
+
"description": "The role name."
|
|
2720
|
+
},
|
|
2721
|
+
"permissions": {
|
|
2722
|
+
"type": "string",
|
|
2723
|
+
"description": "The role permissions as a bitwise value encoded as a string."
|
|
2724
|
+
},
|
|
2725
|
+
"color": {
|
|
2726
|
+
"type": "integer",
|
|
2727
|
+
"description": "The deprecated RGB color value. Prefer colors."
|
|
2728
|
+
},
|
|
2729
|
+
"colors": {
|
|
2730
|
+
"type": "object",
|
|
2731
|
+
"properties": {
|
|
2732
|
+
"primary_color": {
|
|
2733
|
+
"type": "integer",
|
|
2734
|
+
"description": "The primary RGB color value."
|
|
2735
|
+
},
|
|
2736
|
+
"secondary_color": {
|
|
2737
|
+
"anyOf": [
|
|
2738
|
+
{
|
|
2739
|
+
"type": "integer",
|
|
2740
|
+
"description": "The secondary RGB color value for a gradient role."
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
"type": "null"
|
|
2744
|
+
}
|
|
2745
|
+
]
|
|
2746
|
+
},
|
|
2747
|
+
"tertiary_color": {
|
|
2748
|
+
"anyOf": [
|
|
2749
|
+
{
|
|
2750
|
+
"type": "integer",
|
|
2751
|
+
"description": "The tertiary RGB color value for a holographic role."
|
|
2752
|
+
},
|
|
2753
|
+
{
|
|
2754
|
+
"type": "null"
|
|
2755
|
+
}
|
|
2756
|
+
]
|
|
2757
|
+
}
|
|
2758
|
+
},
|
|
2759
|
+
"additionalProperties": true,
|
|
2760
|
+
"description": "The role colors object with primary_color, secondary_color, and tertiary_color."
|
|
2761
|
+
},
|
|
2762
|
+
"hoist": {
|
|
2763
|
+
"type": "boolean",
|
|
2764
|
+
"description": "Whether members with the role are displayed separately in the member list."
|
|
2765
|
+
},
|
|
2766
|
+
"icon": {
|
|
2767
|
+
"anyOf": [
|
|
2768
|
+
{
|
|
2769
|
+
"type": "string",
|
|
2770
|
+
"description": "The role icon image, for guilds with the ROLE_ICONS feature. Pass a data URI such as data:image/png;base64,..., or null to remove it."
|
|
2771
|
+
},
|
|
2772
|
+
{
|
|
2773
|
+
"type": "null"
|
|
2774
|
+
}
|
|
2775
|
+
]
|
|
2776
|
+
},
|
|
2777
|
+
"unicode_emoji": {
|
|
2778
|
+
"anyOf": [
|
|
2779
|
+
{
|
|
2780
|
+
"type": "string",
|
|
2781
|
+
"description": "The role's standard unicode emoji, for guilds with the ROLE_ICONS feature."
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
"type": "null"
|
|
2785
|
+
}
|
|
2786
|
+
]
|
|
2787
|
+
},
|
|
2788
|
+
"mentionable": {
|
|
2789
|
+
"type": "boolean",
|
|
2790
|
+
"description": "Whether anyone can mention the role."
|
|
2791
|
+
},
|
|
2792
|
+
"audit_log_reason": {
|
|
276
2793
|
"type": "string",
|
|
277
2794
|
"minLength": 1,
|
|
278
|
-
"
|
|
2795
|
+
"maxLength": 512,
|
|
2796
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
279
2797
|
}
|
|
280
2798
|
},
|
|
281
2799
|
"additionalProperties": false,
|
|
282
2800
|
"required": [
|
|
283
|
-
"guild_id"
|
|
2801
|
+
"guild_id",
|
|
2802
|
+
"role_id"
|
|
284
2803
|
],
|
|
285
|
-
"description": "Input parameters
|
|
2804
|
+
"description": "Input parameters for updating a role. Only the provided fields are changed."
|
|
286
2805
|
},
|
|
287
2806
|
"outputSchema": {
|
|
288
2807
|
"type": "object",
|
|
@@ -292,11 +2811,11 @@
|
|
|
292
2811
|
}
|
|
293
2812
|
},
|
|
294
2813
|
{
|
|
295
|
-
"id": "discordbot.
|
|
2814
|
+
"id": "discordbot.modify_guild_role_positions",
|
|
296
2815
|
"service": "discordbot",
|
|
297
|
-
"name": "
|
|
298
|
-
"description": "
|
|
299
|
-
"operationType": "
|
|
2816
|
+
"name": "modify_guild_role_positions",
|
|
2817
|
+
"description": "Reorder roles in a Discord guild. Requires the MANAGE_ROLES permission.",
|
|
2818
|
+
"operationType": "write",
|
|
300
2819
|
"requiredScopes": [],
|
|
301
2820
|
"providerPermissions": [],
|
|
302
2821
|
"inputSchema": {
|
|
@@ -304,70 +2823,143 @@
|
|
|
304
2823
|
"properties": {
|
|
305
2824
|
"guild_id": {
|
|
306
2825
|
"type": "string",
|
|
307
|
-
"
|
|
308
|
-
"
|
|
2826
|
+
"description": "A Discord snowflake identifier.",
|
|
2827
|
+
"pattern": "^[0-9]+$"
|
|
309
2828
|
},
|
|
310
|
-
"
|
|
2829
|
+
"positions": {
|
|
2830
|
+
"type": "array",
|
|
2831
|
+
"items": {
|
|
2832
|
+
"type": "object",
|
|
2833
|
+
"properties": {
|
|
2834
|
+
"id": {
|
|
2835
|
+
"type": "string",
|
|
2836
|
+
"description": "A Discord snowflake identifier.",
|
|
2837
|
+
"pattern": "^[0-9]+$"
|
|
2838
|
+
},
|
|
2839
|
+
"position": {
|
|
2840
|
+
"anyOf": [
|
|
2841
|
+
{
|
|
2842
|
+
"type": "integer",
|
|
2843
|
+
"description": "The new sorting position."
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
"type": "null"
|
|
2847
|
+
}
|
|
2848
|
+
]
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
"additionalProperties": false,
|
|
2852
|
+
"required": [
|
|
2853
|
+
"id"
|
|
2854
|
+
],
|
|
2855
|
+
"description": "A role position change."
|
|
2856
|
+
},
|
|
2857
|
+
"description": "The roles to move.",
|
|
2858
|
+
"minItems": 1
|
|
2859
|
+
},
|
|
2860
|
+
"audit_log_reason": {
|
|
311
2861
|
"type": "string",
|
|
312
|
-
"
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
"banner2",
|
|
316
|
-
"banner3",
|
|
317
|
-
"banner4"
|
|
318
|
-
],
|
|
319
|
-
"description": "The visual style to use for the guild widget PNG."
|
|
2862
|
+
"minLength": 1,
|
|
2863
|
+
"maxLength": 512,
|
|
2864
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
320
2865
|
}
|
|
321
2866
|
},
|
|
322
2867
|
"additionalProperties": false,
|
|
323
2868
|
"required": [
|
|
324
|
-
"guild_id"
|
|
2869
|
+
"guild_id",
|
|
2870
|
+
"positions"
|
|
325
2871
|
],
|
|
326
|
-
"description": "Input for
|
|
2872
|
+
"description": "Input parameters for changing role positions."
|
|
327
2873
|
},
|
|
328
2874
|
"outputSchema": {
|
|
329
2875
|
"type": "object",
|
|
330
2876
|
"properties": {
|
|
331
|
-
"
|
|
332
|
-
"type": "
|
|
333
|
-
"
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
"type": "integer",
|
|
341
|
-
"description": "The file size in bytes."
|
|
342
|
-
},
|
|
343
|
-
"dataBase64": {
|
|
344
|
-
"type": "string",
|
|
345
|
-
"description": "The file contents encoded as base64."
|
|
2877
|
+
"roles": {
|
|
2878
|
+
"type": "array",
|
|
2879
|
+
"items": {
|
|
2880
|
+
"type": "object",
|
|
2881
|
+
"properties": {},
|
|
2882
|
+
"additionalProperties": true,
|
|
2883
|
+
"description": "A raw Discord API object."
|
|
2884
|
+
},
|
|
2885
|
+
"description": "All roles in the guild."
|
|
346
2886
|
}
|
|
347
2887
|
},
|
|
348
2888
|
"additionalProperties": false,
|
|
349
2889
|
"required": [
|
|
350
|
-
"
|
|
351
|
-
"mimeType",
|
|
352
|
-
"sizeBytes",
|
|
353
|
-
"dataBase64"
|
|
2890
|
+
"roles"
|
|
354
2891
|
],
|
|
355
|
-
"description": "
|
|
2892
|
+
"description": "The guild roles after reordering."
|
|
356
2893
|
}
|
|
357
2894
|
},
|
|
358
2895
|
{
|
|
359
|
-
"id": "discordbot.
|
|
2896
|
+
"id": "discordbot.modify_guild_welcome_screen",
|
|
360
2897
|
"service": "discordbot",
|
|
361
|
-
"name": "
|
|
362
|
-
"description": "
|
|
363
|
-
"operationType": "
|
|
2898
|
+
"name": "modify_guild_welcome_screen",
|
|
2899
|
+
"description": "Update the welcome screen of a Discord guild. Requires the MANAGE_GUILD permission.",
|
|
2900
|
+
"operationType": "write",
|
|
364
2901
|
"requiredScopes": [],
|
|
365
2902
|
"providerPermissions": [],
|
|
366
2903
|
"inputSchema": {
|
|
367
2904
|
"type": "object",
|
|
368
|
-
"properties": {
|
|
2905
|
+
"properties": {
|
|
2906
|
+
"guild_id": {
|
|
2907
|
+
"type": "string",
|
|
2908
|
+
"description": "A Discord snowflake identifier.",
|
|
2909
|
+
"pattern": "^[0-9]+$"
|
|
2910
|
+
},
|
|
2911
|
+
"enabled": {
|
|
2912
|
+
"anyOf": [
|
|
2913
|
+
{
|
|
2914
|
+
"type": "boolean",
|
|
2915
|
+
"description": "Whether the welcome screen is enabled."
|
|
2916
|
+
},
|
|
2917
|
+
{
|
|
2918
|
+
"type": "null"
|
|
2919
|
+
}
|
|
2920
|
+
]
|
|
2921
|
+
},
|
|
2922
|
+
"welcome_channels": {
|
|
2923
|
+
"anyOf": [
|
|
2924
|
+
{
|
|
2925
|
+
"type": "array",
|
|
2926
|
+
"items": {
|
|
2927
|
+
"type": "object",
|
|
2928
|
+
"properties": {},
|
|
2929
|
+
"additionalProperties": true,
|
|
2930
|
+
"description": "A raw Discord API object."
|
|
2931
|
+
},
|
|
2932
|
+
"description": "The channels shown on the welcome screen, each with channel_id, description, emoji_id, and emoji_name.",
|
|
2933
|
+
"maxItems": 5
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
"type": "null"
|
|
2937
|
+
}
|
|
2938
|
+
]
|
|
2939
|
+
},
|
|
2940
|
+
"description": {
|
|
2941
|
+
"anyOf": [
|
|
2942
|
+
{
|
|
2943
|
+
"type": "string",
|
|
2944
|
+
"description": "The server description shown on the welcome screen."
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
"type": "null"
|
|
2948
|
+
}
|
|
2949
|
+
]
|
|
2950
|
+
},
|
|
2951
|
+
"audit_log_reason": {
|
|
2952
|
+
"type": "string",
|
|
2953
|
+
"minLength": 1,
|
|
2954
|
+
"maxLength": 512,
|
|
2955
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
2956
|
+
}
|
|
2957
|
+
},
|
|
369
2958
|
"additionalProperties": false,
|
|
370
|
-
"
|
|
2959
|
+
"required": [
|
|
2960
|
+
"guild_id"
|
|
2961
|
+
],
|
|
2962
|
+
"description": "Input parameters for updating the welcome screen. Only the provided fields are changed."
|
|
371
2963
|
},
|
|
372
2964
|
"outputSchema": {
|
|
373
2965
|
"type": "object",
|
|
@@ -377,206 +2969,254 @@
|
|
|
377
2969
|
}
|
|
378
2970
|
},
|
|
379
2971
|
{
|
|
380
|
-
"id": "discordbot.
|
|
2972
|
+
"id": "discordbot.modify_guild_widget",
|
|
381
2973
|
"service": "discordbot",
|
|
382
|
-
"name": "
|
|
383
|
-
"description": "
|
|
384
|
-
"operationType": "
|
|
2974
|
+
"name": "modify_guild_widget",
|
|
2975
|
+
"description": "Update the widget settings of a Discord guild. Requires the MANAGE_GUILD permission.",
|
|
2976
|
+
"operationType": "write",
|
|
385
2977
|
"requiredScopes": [],
|
|
386
2978
|
"providerPermissions": [],
|
|
387
2979
|
"inputSchema": {
|
|
388
|
-
"type": "object",
|
|
389
|
-
"properties": {},
|
|
390
|
-
"additionalProperties": false,
|
|
391
|
-
"description": "No input parameters are required."
|
|
392
|
-
},
|
|
393
|
-
"outputSchema": {
|
|
394
2980
|
"type": "object",
|
|
395
2981
|
"properties": {
|
|
396
|
-
"
|
|
397
|
-
"type": "
|
|
398
|
-
"
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
2982
|
+
"guild_id": {
|
|
2983
|
+
"type": "string",
|
|
2984
|
+
"description": "A Discord snowflake identifier.",
|
|
2985
|
+
"pattern": "^[0-9]+$"
|
|
2986
|
+
},
|
|
2987
|
+
"enabled": {
|
|
2988
|
+
"type": "boolean",
|
|
2989
|
+
"description": "Whether the widget is enabled."
|
|
2990
|
+
},
|
|
2991
|
+
"channel_id": {
|
|
2992
|
+
"anyOf": [
|
|
2993
|
+
{
|
|
2994
|
+
"type": "string",
|
|
2995
|
+
"description": "The channel the widget invite points to, or null for none."
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"type": "null"
|
|
2999
|
+
}
|
|
3000
|
+
]
|
|
3001
|
+
},
|
|
3002
|
+
"audit_log_reason": {
|
|
3003
|
+
"type": "string",
|
|
3004
|
+
"minLength": 1,
|
|
3005
|
+
"maxLength": 512,
|
|
3006
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
405
3007
|
}
|
|
406
3008
|
},
|
|
407
3009
|
"additionalProperties": false,
|
|
408
3010
|
"required": [
|
|
409
|
-
"
|
|
3011
|
+
"guild_id"
|
|
410
3012
|
],
|
|
411
|
-
"description": "
|
|
3013
|
+
"description": "Input parameters for updating guild widget settings."
|
|
3014
|
+
},
|
|
3015
|
+
"outputSchema": {
|
|
3016
|
+
"type": "object",
|
|
3017
|
+
"properties": {},
|
|
3018
|
+
"additionalProperties": true,
|
|
3019
|
+
"description": "A raw Discord API object."
|
|
412
3020
|
}
|
|
413
3021
|
},
|
|
414
3022
|
{
|
|
415
|
-
"id": "discordbot.
|
|
3023
|
+
"id": "discordbot.remove_guild_ban",
|
|
416
3024
|
"service": "discordbot",
|
|
417
|
-
"name": "
|
|
418
|
-
"description": "
|
|
419
|
-
"operationType": "
|
|
3025
|
+
"name": "remove_guild_ban",
|
|
3026
|
+
"description": "Lift a user's ban from a Discord guild. Requires the BAN_MEMBERS permission.",
|
|
3027
|
+
"operationType": "write",
|
|
420
3028
|
"requiredScopes": [],
|
|
421
3029
|
"providerPermissions": [],
|
|
422
3030
|
"inputSchema": {
|
|
423
3031
|
"type": "object",
|
|
424
3032
|
"properties": {
|
|
3033
|
+
"guild_id": {
|
|
3034
|
+
"type": "string",
|
|
3035
|
+
"description": "A Discord snowflake identifier.",
|
|
3036
|
+
"pattern": "^[0-9]+$"
|
|
3037
|
+
},
|
|
425
3038
|
"user_id": {
|
|
3039
|
+
"type": "string",
|
|
3040
|
+
"description": "A Discord snowflake identifier.",
|
|
3041
|
+
"pattern": "^[0-9]+$"
|
|
3042
|
+
},
|
|
3043
|
+
"audit_log_reason": {
|
|
426
3044
|
"type": "string",
|
|
427
3045
|
"minLength": 1,
|
|
428
|
-
"
|
|
3046
|
+
"maxLength": 512,
|
|
3047
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
429
3048
|
}
|
|
430
3049
|
},
|
|
431
3050
|
"additionalProperties": false,
|
|
432
3051
|
"required": [
|
|
3052
|
+
"guild_id",
|
|
433
3053
|
"user_id"
|
|
434
3054
|
],
|
|
435
|
-
"description": "Input parameters
|
|
3055
|
+
"description": "Input parameters for removing a ban."
|
|
436
3056
|
},
|
|
437
3057
|
"outputSchema": {
|
|
438
3058
|
"type": "object",
|
|
439
|
-
"properties": {
|
|
440
|
-
|
|
441
|
-
|
|
3059
|
+
"properties": {
|
|
3060
|
+
"success": {
|
|
3061
|
+
"const": true,
|
|
3062
|
+
"type": "boolean",
|
|
3063
|
+
"description": "The success flag."
|
|
3064
|
+
}
|
|
3065
|
+
},
|
|
3066
|
+
"additionalProperties": false,
|
|
3067
|
+
"required": [
|
|
3068
|
+
"success"
|
|
3069
|
+
],
|
|
3070
|
+
"description": "The success response returned by the action."
|
|
442
3071
|
}
|
|
443
3072
|
},
|
|
444
3073
|
{
|
|
445
|
-
"id": "discordbot.
|
|
3074
|
+
"id": "discordbot.remove_guild_member",
|
|
446
3075
|
"service": "discordbot",
|
|
447
|
-
"name": "
|
|
448
|
-
"description": "
|
|
449
|
-
"operationType": "
|
|
3076
|
+
"name": "remove_guild_member",
|
|
3077
|
+
"description": "Kick a member from a Discord guild. Requires the KICK_MEMBERS permission.",
|
|
3078
|
+
"operationType": "destructive",
|
|
450
3079
|
"requiredScopes": [],
|
|
451
3080
|
"providerPermissions": [],
|
|
452
3081
|
"inputSchema": {
|
|
453
3082
|
"type": "object",
|
|
454
3083
|
"properties": {
|
|
455
3084
|
"guild_id": {
|
|
3085
|
+
"type": "string",
|
|
3086
|
+
"description": "A Discord snowflake identifier.",
|
|
3087
|
+
"pattern": "^[0-9]+$"
|
|
3088
|
+
},
|
|
3089
|
+
"user_id": {
|
|
3090
|
+
"type": "string",
|
|
3091
|
+
"description": "A Discord snowflake identifier.",
|
|
3092
|
+
"pattern": "^[0-9]+$"
|
|
3093
|
+
},
|
|
3094
|
+
"audit_log_reason": {
|
|
456
3095
|
"type": "string",
|
|
457
3096
|
"minLength": 1,
|
|
458
|
-
"
|
|
3097
|
+
"maxLength": 512,
|
|
3098
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
459
3099
|
}
|
|
460
3100
|
},
|
|
461
3101
|
"additionalProperties": false,
|
|
462
3102
|
"required": [
|
|
463
|
-
"guild_id"
|
|
3103
|
+
"guild_id",
|
|
3104
|
+
"user_id"
|
|
464
3105
|
],
|
|
465
|
-
"description": "Input parameters
|
|
3106
|
+
"description": "Input parameters for removing a guild member."
|
|
466
3107
|
},
|
|
467
3108
|
"outputSchema": {
|
|
468
3109
|
"type": "object",
|
|
469
3110
|
"properties": {
|
|
470
|
-
"
|
|
471
|
-
"
|
|
472
|
-
"
|
|
473
|
-
|
|
474
|
-
"properties": {},
|
|
475
|
-
"additionalProperties": true,
|
|
476
|
-
"description": "A raw Discord API object."
|
|
477
|
-
},
|
|
478
|
-
"description": "The channels returned by Discord."
|
|
3111
|
+
"success": {
|
|
3112
|
+
"const": true,
|
|
3113
|
+
"type": "boolean",
|
|
3114
|
+
"description": "The success flag."
|
|
479
3115
|
}
|
|
480
3116
|
},
|
|
481
3117
|
"additionalProperties": false,
|
|
482
3118
|
"required": [
|
|
483
|
-
"
|
|
3119
|
+
"success"
|
|
484
3120
|
],
|
|
485
|
-
"description": "The
|
|
3121
|
+
"description": "The success response returned by the action."
|
|
486
3122
|
}
|
|
487
3123
|
},
|
|
488
3124
|
{
|
|
489
|
-
"id": "discordbot.
|
|
3125
|
+
"id": "discordbot.remove_guild_member_role",
|
|
490
3126
|
"service": "discordbot",
|
|
491
|
-
"name": "
|
|
492
|
-
"description": "
|
|
493
|
-
"operationType": "
|
|
3127
|
+
"name": "remove_guild_member_role",
|
|
3128
|
+
"description": "Remove a role from a Discord guild member. Requires the MANAGE_ROLES permission.",
|
|
3129
|
+
"operationType": "write",
|
|
494
3130
|
"requiredScopes": [],
|
|
495
3131
|
"providerPermissions": [],
|
|
496
3132
|
"inputSchema": {
|
|
497
3133
|
"type": "object",
|
|
498
3134
|
"properties": {
|
|
499
3135
|
"guild_id": {
|
|
3136
|
+
"type": "string",
|
|
3137
|
+
"description": "A Discord snowflake identifier.",
|
|
3138
|
+
"pattern": "^[0-9]+$"
|
|
3139
|
+
},
|
|
3140
|
+
"user_id": {
|
|
3141
|
+
"type": "string",
|
|
3142
|
+
"description": "A Discord snowflake identifier.",
|
|
3143
|
+
"pattern": "^[0-9]+$"
|
|
3144
|
+
},
|
|
3145
|
+
"role_id": {
|
|
3146
|
+
"type": "string",
|
|
3147
|
+
"description": "A Discord snowflake identifier.",
|
|
3148
|
+
"pattern": "^[0-9]+$"
|
|
3149
|
+
},
|
|
3150
|
+
"audit_log_reason": {
|
|
500
3151
|
"type": "string",
|
|
501
3152
|
"minLength": 1,
|
|
502
|
-
"
|
|
3153
|
+
"maxLength": 512,
|
|
3154
|
+
"description": "The reason recorded in the guild audit log for this change."
|
|
503
3155
|
}
|
|
504
3156
|
},
|
|
505
3157
|
"additionalProperties": false,
|
|
506
3158
|
"required": [
|
|
507
|
-
"guild_id"
|
|
3159
|
+
"guild_id",
|
|
3160
|
+
"user_id",
|
|
3161
|
+
"role_id"
|
|
508
3162
|
],
|
|
509
|
-
"description": "Input parameters
|
|
3163
|
+
"description": "Input parameters for removing a role from a guild member."
|
|
510
3164
|
},
|
|
511
3165
|
"outputSchema": {
|
|
512
3166
|
"type": "object",
|
|
513
3167
|
"properties": {
|
|
514
|
-
"
|
|
515
|
-
"
|
|
516
|
-
"
|
|
517
|
-
|
|
518
|
-
"properties": {},
|
|
519
|
-
"additionalProperties": true,
|
|
520
|
-
"description": "A raw Discord API object."
|
|
521
|
-
},
|
|
522
|
-
"description": "The roles returned by Discord."
|
|
3168
|
+
"success": {
|
|
3169
|
+
"const": true,
|
|
3170
|
+
"type": "boolean",
|
|
3171
|
+
"description": "The success flag."
|
|
523
3172
|
}
|
|
524
3173
|
},
|
|
525
3174
|
"additionalProperties": false,
|
|
526
3175
|
"required": [
|
|
527
|
-
"
|
|
3176
|
+
"success"
|
|
528
3177
|
],
|
|
529
|
-
"description": "The
|
|
3178
|
+
"description": "The success response returned by the action."
|
|
530
3179
|
}
|
|
531
3180
|
},
|
|
532
3181
|
{
|
|
533
|
-
"id": "discordbot.
|
|
3182
|
+
"id": "discordbot.search_guild_members",
|
|
534
3183
|
"service": "discordbot",
|
|
535
|
-
"name": "
|
|
536
|
-
"description": "
|
|
3184
|
+
"name": "search_guild_members",
|
|
3185
|
+
"description": "Search members of a Discord guild whose username or nickname starts with a query string.",
|
|
537
3186
|
"operationType": "read",
|
|
538
3187
|
"requiredScopes": [],
|
|
539
3188
|
"providerPermissions": [],
|
|
540
3189
|
"inputSchema": {
|
|
541
3190
|
"type": "object",
|
|
542
3191
|
"properties": {
|
|
543
|
-
"
|
|
544
|
-
"type": "string",
|
|
545
|
-
"minLength": 1,
|
|
546
|
-
"description": "A Discord snowflake identifier."
|
|
547
|
-
},
|
|
548
|
-
"around": {
|
|
549
|
-
"type": "string",
|
|
550
|
-
"minLength": 1,
|
|
551
|
-
"description": "A Discord snowflake identifier."
|
|
552
|
-
},
|
|
553
|
-
"before": {
|
|
3192
|
+
"guild_id": {
|
|
554
3193
|
"type": "string",
|
|
555
|
-
"
|
|
556
|
-
"
|
|
3194
|
+
"description": "A Discord snowflake identifier.",
|
|
3195
|
+
"pattern": "^[0-9]+$"
|
|
557
3196
|
},
|
|
558
|
-
"
|
|
3197
|
+
"query": {
|
|
559
3198
|
"type": "string",
|
|
560
3199
|
"minLength": 1,
|
|
561
|
-
"description": "
|
|
3200
|
+
"description": "The prefix to match against usernames and nicknames."
|
|
562
3201
|
},
|
|
563
3202
|
"limit": {
|
|
564
3203
|
"type": "integer",
|
|
565
3204
|
"minimum": 1,
|
|
566
|
-
"maximum":
|
|
567
|
-
"description": "The maximum number of
|
|
3205
|
+
"maximum": 1000,
|
|
3206
|
+
"description": "The maximum number of members to return. Discord defaults to 1."
|
|
568
3207
|
}
|
|
569
3208
|
},
|
|
570
3209
|
"additionalProperties": false,
|
|
571
3210
|
"required": [
|
|
572
|
-
"
|
|
3211
|
+
"guild_id",
|
|
3212
|
+
"query"
|
|
573
3213
|
],
|
|
574
|
-
"description": "Input parameters for
|
|
3214
|
+
"description": "Input parameters for searching guild members."
|
|
575
3215
|
},
|
|
576
3216
|
"outputSchema": {
|
|
577
3217
|
"type": "object",
|
|
578
3218
|
"properties": {
|
|
579
|
-
"
|
|
3219
|
+
"members": {
|
|
580
3220
|
"type": "array",
|
|
581
3221
|
"items": {
|
|
582
3222
|
"type": "object",
|
|
@@ -584,14 +3224,14 @@
|
|
|
584
3224
|
"additionalProperties": true,
|
|
585
3225
|
"description": "A raw Discord API object."
|
|
586
3226
|
},
|
|
587
|
-
"description": "The
|
|
3227
|
+
"description": "The guild members returned by Discord."
|
|
588
3228
|
}
|
|
589
3229
|
},
|
|
590
3230
|
"additionalProperties": false,
|
|
591
3231
|
"required": [
|
|
592
|
-
"
|
|
3232
|
+
"members"
|
|
593
3233
|
],
|
|
594
|
-
"description": "The
|
|
3234
|
+
"description": "The matching guild members response."
|
|
595
3235
|
}
|
|
596
3236
|
},
|
|
597
3237
|
{
|