commands.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. [
  2. {
  3. "id": "",
  4. "application_id": "",
  5. "name": "inline",
  6. "description": "Post a message with inline wiki links.",
  7. "default_permission": true,
  8. "options": [
  9. {
  10. "type": 3,
  11. "name": "text",
  12. "description": "Text including wikitext links.",
  13. "required": true
  14. }
  15. ]
  16. },
  17. {
  18. "id": "",
  19. "application_id": "",
  20. "name": "verify",
  21. "description": "Verify your Discord account with your wiki account.",
  22. "default_permission": false,
  23. "options": [
  24. {
  25. "type": 3,
  26. "name": "username",
  27. "description": "Your username on the wiki.",
  28. "required": false
  29. }
  30. ]
  31. },
  32. {
  33. "id": "",
  34. "application_id": "",
  35. "name": "settings",
  36. "description": "Change the settings for the server.",
  37. "default_permission": false,
  38. "options": [
  39. {
  40. "type": 7,
  41. "name": "channel",
  42. "description": "The channel to change the settings for.",
  43. "required": false
  44. },
  45. {
  46. "type": 3,
  47. "name": "wiki",
  48. "description": "The default wiki for the server or channel.",
  49. "required": false
  50. },
  51. {
  52. "type": 3,
  53. "name": "lang",
  54. "description": "The language for the server or, Patreon only, channel.",
  55. "required": false,
  56. "choices": [
  57. {
  58. "name": "English (en)",
  59. "value": "en"
  60. },
  61. {
  62. "name": "বাংলা (bn)",
  63. "value": "bn"
  64. },
  65. {
  66. "name": "Deutsch (de)",
  67. "value": "de"
  68. },
  69. {
  70. "name": "Español (es)",
  71. "value": "es"
  72. },
  73. {
  74. "name": "Français (fr)",
  75. "value": "fr"
  76. },
  77. {
  78. "name": "हिन्दी (hi)",
  79. "value": "hi"
  80. },
  81. {
  82. "name": "한국어 (ko)",
  83. "value": "ko"
  84. },
  85. {
  86. "name": "Polski (pl)",
  87. "value": "pl"
  88. },
  89. {
  90. "name": "Português do Brasil (pt-br)",
  91. "value": "pt-br"
  92. },
  93. {
  94. "name": "Русский (ru)",
  95. "value": "ru"
  96. },
  97. {
  98. "name": "Türkçe (tr)",
  99. "value": "tr"
  100. },
  101. {
  102. "name": "简体中文 (zh-hans)",
  103. "value": "zh-hans"
  104. },
  105. {
  106. "name": "繁體中文 (zh-hant)",
  107. "value": "zh-hant"
  108. }
  109. ]
  110. },
  111. {
  112. "type": 8,
  113. "name": "role",
  114. "description": "The minimal required role for the server or, Patreon only, channel.",
  115. "required": false
  116. },
  117. {
  118. "type": 5,
  119. "name": "inline",
  120. "description": "Should inline commands be enabled for the server or, Patreon only, channel?",
  121. "required": false
  122. },
  123. {
  124. "type": 3,
  125. "name": "prefix",
  126. "description": "Patreon only: The bot command prefix for the server.",
  127. "required": false
  128. }
  129. ]
  130. },
  131. {
  132. "id": "",
  133. "application_id": "",
  134. "name": "verification",
  135. "description": "Change the verifications for the server.",
  136. "default_permission": false,
  137. "options": [
  138. {
  139. "type": 4,
  140. "name": "id",
  141. "description": "The ID of the verification. Set to 0 to add a new verification.",
  142. "required": false
  143. },
  144. {
  145. "type": 7,
  146. "name": "channel",
  147. "description": "The channel for the verification.",
  148. "required": false
  149. },
  150. {
  151. "type": 8,
  152. "name": "role",
  153. "description": "The role for the verification.",
  154. "required": false
  155. },
  156. {
  157. "type": 4,
  158. "name": "editcount",
  159. "description": "The edit count for the verification.",
  160. "required": false
  161. },
  162. {
  163. "type": 4,
  164. "name": "accountage",
  165. "description": "The wiki account age in days for the verification.",
  166. "required": false
  167. },
  168. {
  169. "type": 5,
  170. "name": "rename",
  171. "description": "Should the Discord user be renamed to their wiki username for the verification.",
  172. "required": false
  173. },
  174. {
  175. "type": 3,
  176. "name": "usergroup",
  177. "description": "The usergroup for the verification. Add multiple usergroups comma separated.",
  178. "required": false
  179. },
  180. {
  181. "type": 5,
  182. "name": "and",
  183. "description": "Should all provided usergroups be required for the verification, instead of just one of them?",
  184. "required": false
  185. },
  186. {
  187. "type": 4,
  188. "name": "postcount",
  189. "description": "The Fandom feeds post count for the verification.",
  190. "required": false
  191. },
  192. {
  193. "type": 3,
  194. "name": "posteditcount",
  195. "description": "How the Fandom feeds post count should relate to the edit count requirement for the verification.",
  196. "required": false,
  197. "choices": [
  198. {
  199. "name": "Require both edit and post count.",
  200. "value": "and"
  201. },
  202. {
  203. "name": "Require either edit or post count.",
  204. "value": "or"
  205. },
  206. {
  207. "name": "Require combined edit and post count.",
  208. "value": "both"
  209. }
  210. ]
  211. }
  212. ]
  213. },
  214. {
  215. "id": "",
  216. "application_id": "",
  217. "name": "rcscript",
  218. "description": "Change the recent changes webhooks for the server.",
  219. "default_permission": false,
  220. "options": [
  221. {
  222. "type": 4,
  223. "name": "id",
  224. "description": "The ID of the recent changes webhook. Set to 0 to add a new recent changes webhook.",
  225. "required": false
  226. },
  227. {
  228. "type": 3,
  229. "name": "wiki",
  230. "description": "The wiki for the recent changes webhook.",
  231. "required": false
  232. },
  233. {
  234. "type": 3,
  235. "name": "lang",
  236. "description": "The language for the recent changes webhook.",
  237. "required": false,
  238. "choices": [
  239. {
  240. "name": "English (en)",
  241. "value": "en"
  242. },
  243. {
  244. "name": "Deutsch (de)",
  245. "value": "de"
  246. },
  247. {
  248. "name": "हिन्दी (hi)",
  249. "value": "hi"
  250. },
  251. {
  252. "name": "Polski (pl)",
  253. "value": "pl"
  254. },
  255. {
  256. "name": "Português do Brasil (pt-br)",
  257. "value": "pt-br"
  258. },
  259. {
  260. "name": "Русский (ru)",
  261. "value": "ru"
  262. },
  263. {
  264. "name": "简体中文 (zh-hans)",
  265. "value": "zh-hans"
  266. }
  267. ]
  268. },
  269. {
  270. "type": 4,
  271. "name": "display",
  272. "description": "The display mode for the recent changes webhook.",
  273. "required": false,
  274. "choices": [
  275. {
  276. "name": "Compact text messages with inline links.",
  277. "value": 0
  278. },
  279. {
  280. "name": "Embed messages with edit tags and category changes.",
  281. "value": 1
  282. },
  283. {
  284. "name": "Embed messages with image previews.",
  285. "value": 2
  286. },
  287. {
  288. "name": "Patreon only: Embed messages with image previews and edit differences.",
  289. "value": 3
  290. }
  291. ]
  292. },
  293. {
  294. "type": 7,
  295. "name": "channel",
  296. "description": "The channel for the recent changes webhook.",
  297. "required": false
  298. },
  299. {
  300. "type": 5,
  301. "name": "feeds",
  302. "description": "Should Fandom feeds posts be send to the recent changes webhook?",
  303. "required": false
  304. },
  305. {
  306. "type": 5,
  307. "name": "feedsonly",
  308. "description": "Should only Fandom feeds enabled for the recent changes webhook? (MediaWiki changes disabled)",
  309. "required": false
  310. }
  311. ]
  312. }
  313. ]