|
@@ -28,5 +28,286 @@
|
|
"required": true
|
|
"required": true
|
|
}
|
|
}
|
|
]
|
|
]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "id": "",
|
|
|
|
+ "application_id": "",
|
|
|
|
+ "name": "settings",
|
|
|
|
+ "description": "Change the settings for the server.",
|
|
|
|
+ "default_permission": false,
|
|
|
|
+ "options": [
|
|
|
|
+ {
|
|
|
|
+ "type": 7,
|
|
|
|
+ "name": "channel",
|
|
|
|
+ "description": "The channel to change the settings for.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 3,
|
|
|
|
+ "name": "wiki",
|
|
|
|
+ "description": "The default wiki for the server or channel.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 3,
|
|
|
|
+ "name": "lang",
|
|
|
|
+ "description": "The language for the server or, Patreon only, channel.",
|
|
|
|
+ "required": false,
|
|
|
|
+ "choices": [
|
|
|
|
+ {
|
|
|
|
+ "name": "English (en)",
|
|
|
|
+ "value": "en"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "বাংলা (bn)",
|
|
|
|
+ "value": "bn"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Deutsch (de)",
|
|
|
|
+ "value": "de"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Español (es)",
|
|
|
|
+ "value": "es"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Français (fr)",
|
|
|
|
+ "value": "fr"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "हिन्दी (hi)",
|
|
|
|
+ "value": "hi"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "한국어 (ko)",
|
|
|
|
+ "value": "ko"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Polski (pl)",
|
|
|
|
+ "value": "pl"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Português do Brasil (pt-br)",
|
|
|
|
+ "value": "pt-br"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Русский (ru)",
|
|
|
|
+ "value": "ru"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Türkçe (tr)",
|
|
|
|
+ "value": "tr"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "简体中文 (zh-hans)",
|
|
|
|
+ "value": "zh-hans"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "繁體中文 (zh-hant)",
|
|
|
|
+ "value": "zh-hant"
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 8,
|
|
|
|
+ "name": "role",
|
|
|
|
+ "description": "The minimal required role for the server or, Patreon only, channel.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 5,
|
|
|
|
+ "name": "inline",
|
|
|
|
+ "description": "Should inline commands be enabled for the server or, Patreon only, channel?",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 3,
|
|
|
|
+ "name": "prefix",
|
|
|
|
+ "description": "Patreon only: The bot command prefix for the server.",
|
|
|
|
+ "required": false
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "id": "",
|
|
|
|
+ "application_id": "",
|
|
|
|
+ "name": "verification",
|
|
|
|
+ "description": "Change the verifications for the server.",
|
|
|
|
+ "default_permission": false,
|
|
|
|
+ "options": [
|
|
|
|
+ {
|
|
|
|
+ "type": 4,
|
|
|
|
+ "name": "id",
|
|
|
|
+ "description": "The ID of the verification. Set to 0 to add a new verification.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 7,
|
|
|
|
+ "name": "channel",
|
|
|
|
+ "description": "The channel for the verification.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 8,
|
|
|
|
+ "name": "role",
|
|
|
|
+ "description": "The role for the verification.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 4,
|
|
|
|
+ "name": "editcount",
|
|
|
|
+ "description": "The edit count for the verification.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 4,
|
|
|
|
+ "name": "accountage",
|
|
|
|
+ "description": "The wiki account age in days for the verification.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 5,
|
|
|
|
+ "name": "rename",
|
|
|
|
+ "description": "Should the Discord user be renamed to their wiki username for the verification.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 3,
|
|
|
|
+ "name": "usergroup",
|
|
|
|
+ "description": "The usergroup for the verification. Add multiple usergroups comma separated.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 5,
|
|
|
|
+ "name": "and",
|
|
|
|
+ "description": "Should all provided usergroups be required for the verification, instead of just one of them?",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 4,
|
|
|
|
+ "name": "postcount",
|
|
|
|
+ "description": "The Fandom feeds post count for the verification.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 3,
|
|
|
|
+ "name": "posteditcount",
|
|
|
|
+ "description": "How the Fandom feeds post count should relate to the edit count requirement for the verification.",
|
|
|
|
+ "required": false,
|
|
|
|
+ "choices": [
|
|
|
|
+ {
|
|
|
|
+ "name": "Require both edit and post count.",
|
|
|
|
+ "value": "and"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Require either edit or post count.",
|
|
|
|
+ "value": "or"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Require combined edit and post count.",
|
|
|
|
+ "value": "both"
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "id": "",
|
|
|
|
+ "application_id": "",
|
|
|
|
+ "name": "rcscript",
|
|
|
|
+ "description": "Change the recent changes webhooks for the server.",
|
|
|
|
+ "default_permission": false,
|
|
|
|
+ "options": [
|
|
|
|
+ {
|
|
|
|
+ "type": 4,
|
|
|
|
+ "name": "id",
|
|
|
|
+ "description": "The ID of the recent changes webhook. Set to 0 to add a new recent changes webhook.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 3,
|
|
|
|
+ "name": "wiki",
|
|
|
|
+ "description": "The wiki for the recent changes webhook.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 3,
|
|
|
|
+ "name": "lang",
|
|
|
|
+ "description": "The language for the recent changes webhook.",
|
|
|
|
+ "required": false,
|
|
|
|
+ "choices": [
|
|
|
|
+ {
|
|
|
|
+ "name": "English (en)",
|
|
|
|
+ "value": "en"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Deutsch (de)",
|
|
|
|
+ "value": "de"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "हिन्दी (hi)",
|
|
|
|
+ "value": "hi"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Polski (pl)",
|
|
|
|
+ "value": "pl"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Português do Brasil (pt-br)",
|
|
|
|
+ "value": "pt-br"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Русский (ru)",
|
|
|
|
+ "value": "ru"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "简体中文 (zh-hans)",
|
|
|
|
+ "value": "zh-hans"
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 4,
|
|
|
|
+ "name": "display",
|
|
|
|
+ "description": "The display mode for the recent changes webhook.",
|
|
|
|
+ "required": false,
|
|
|
|
+ "choices": [
|
|
|
|
+ {
|
|
|
|
+ "name": "Compact text messages with inline links.",
|
|
|
|
+ "value": 0
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Embed messages with edit tags and category changes.",
|
|
|
|
+ "value": 1
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Embed messages with image previews.",
|
|
|
|
+ "value": 2
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "Patreon only: Embed messages with image previews and edit differences.",
|
|
|
|
+ "value": 3
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 7,
|
|
|
|
+ "name": "channel",
|
|
|
|
+ "description": "The channel for the recent changes webhook.",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 5,
|
|
|
|
+ "name": "feeds",
|
|
|
|
+ "description": "Should Fandom feeds posts be send to the recent changes webhook?",
|
|
|
|
+ "required": false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": 5,
|
|
|
|
+ "name": "feedsonly",
|
|
|
|
+ "description": "Should only Fandom feeds enabled for the recent changes webhook? (MediaWiki changes disabled)",
|
|
|
|
+ "required": false
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
}
|
|
}
|
|
]
|
|
]
|