diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e2ac6616 --- /dev/null +++ b/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/assets/css/main.css b/assets/css/main.css deleted file mode 100644 index 46571c27..00000000 --- a/assets/css/main.css +++ /dev/null @@ -1,2660 +0,0 @@ -:root { - --color-background: #fdfdfd; - --color-text: #222; - --color-text-aside: #707070; - --color-link: #4da6ff; - --color-menu-divider: #eee; - --color-menu-divider-focus: #000; - --color-menu-label: #707070; - --color-panel: #fff; - --color-panel-divider: #eee; - --color-comment-tag: #707070; - --color-comment-tag-text: #fff; - --color-code-background: rgba(0, 0, 0, 0.04); - --color-ts: #9600ff; - --color-ts-interface: #647f1b; - --color-ts-enum: #937210; - --color-ts-class: #0672de; - --color-ts-private: #707070; - --color-toolbar: #fff; - --color-toolbar-text: #333; -} - -/*! normalize.css v1.1.3 | MIT License | git.io/normalize */ -/* ========================================================================== - * * HTML5 display definitions - * * ========================================================================== */ -/** - * * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3. */ -article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { - display: block; -} - -/** - * * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. */ -audio, canvas, video { - display: inline-block; - *display: inline; - *zoom: 1; -} - -/** - * * Prevent modern browsers from displaying `audio` without controls. - * * Remove excess height in iOS 5 devices. */ -audio:not([controls]) { - display: none; - height: 0; -} - -/** - * * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4. - * * Known issue: no IE 6 support. */ -[hidden] { - display: none; -} - -/* ========================================================================== - * * Base - * * ========================================================================== */ -/** - * * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using - * * `em` units. - * * 2. Prevent iOS text size adjust after orientation change, without disabling - * * user zoom. */ -html { - font-size: 100%; - /* 1 */ - -ms-text-size-adjust: 100%; - /* 2 */ - -webkit-text-size-adjust: 100%; - /* 2 */ - font-family: sans-serif; -} - -/** - * * Address `font-family` inconsistency between `textarea` and other form - * * elements. */ -button, input, select, textarea { - font-family: sans-serif; -} - -/** - * * Address margins handled incorrectly in IE 6/7. */ -body { - margin: 0; -} - -/* ========================================================================== - * * Links - * * ========================================================================== */ -/** - * * Address `outline` inconsistency between Chrome and other browsers. */ -a:focus { - outline: thin dotted; -} -a:active, a:hover { - outline: 0; -} - -/** - * * Improve readability when focused and also mouse hovered in all browsers. */ -/* ========================================================================== - * * Typography - * * ========================================================================== */ -/** - * * Address font sizes and margins set differently in IE 6/7. - * * Address font sizes within `section` and `article` in Firefox 4+, Safari 5, - * * and Chrome. */ -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -h2 { - font-size: 1.5em; - margin: 0.83em 0; -} - -h3 { - font-size: 1.17em; - margin: 1em 0; -} - -h4, .tsd-index-panel h3 { - font-size: 1em; - margin: 1.33em 0; -} - -h5 { - font-size: 0.83em; - margin: 1.67em 0; -} - -h6 { - font-size: 0.67em; - margin: 2.33em 0; -} - -/** - * * Address styling not present in IE 7/8/9, Safari 5, and Chrome. */ -abbr[title] { - border-bottom: 1px dotted; -} - -/** - * * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. */ -b, strong { - font-weight: bold; -} - -blockquote { - margin: 1em 40px; -} - -/** - * * Address styling not present in Safari 5 and Chrome. */ -dfn { - font-style: italic; -} - -/** - * * Address differences between Firefox and other browsers. - * * Known issue: no IE 6/7 normalization. */ -hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; -} - -/** - * * Address styling not present in IE 6/7/8/9. */ -mark { - background: #ff0; - color: #000; -} - -/** - * * Address margins set differently in IE 6/7. */ -p, pre { - margin: 1em 0; -} - -/** - * * Correct font family set oddly in IE 6, Safari 4/5, and Chrome. */ -code, kbd, pre, samp { - font-family: monospace, serif; - _font-family: "courier new", monospace; - font-size: 1em; -} - -/** - * * Improve readability of pre-formatted text in all browsers. */ -pre { - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; -} - -/** - * * Address CSS quotes not supported in IE 6/7. */ -q { - quotes: none; -} -q:before, q:after { - content: ""; - content: none; -} - -/** - * * Address `quotes` property not supported in Safari 4. */ -/** - * * Address inconsistent and variable font size in all browsers. */ -small { - font-size: 80%; -} - -/** - * * Prevent `sub` and `sup` affecting `line-height` in all browsers. */ -sub { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -/* ========================================================================== - * * Lists - * * ========================================================================== */ -/** - * * Address margins set differently in IE 6/7. */ -dl, menu, ol, ul { - margin: 1em 0; -} - -dd { - margin: 0 0 0 40px; -} - -/** - * * Address paddings set differently in IE 6/7. */ -menu, ol, ul { - padding: 0 0 0 40px; -} - -/** - * * Correct list images handled incorrectly in IE 7. */ -nav ul, nav ol { - list-style: none; - list-style-image: none; -} - -/* ========================================================================== - * * Embedded content - * * ========================================================================== */ -/** - * * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3. - * * 2. Improve image quality when scaled in IE 7. */ -img { - border: 0; - /* 1 */ - -ms-interpolation-mode: bicubic; -} - -/* 2 */ -/** - * * Correct overflow displayed oddly in IE 9. */ -svg:not(:root) { - overflow: hidden; -} - -/* ========================================================================== - * * Figures - * * ========================================================================== */ -/** - * * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11. */ -figure, form { - margin: 0; -} - -/* ========================================================================== - * * Forms - * * ========================================================================== */ -/** - * * Correct margin displayed oddly in IE 6/7. */ -/** - * * Define consistent border, margin, and padding. */ -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/** - * * 1. Correct color not being inherited in IE 6/7/8/9. - * * 2. Correct text not wrapping in Firefox 3. - * * 3. Correct alignment displayed oddly in IE 6/7. */ -legend { - border: 0; - /* 1 */ - padding: 0; - white-space: normal; - /* 2 */ - *margin-left: -7px; -} - -/* 3 */ -/** - * * 1. Correct font size not being inherited in all browsers. - * * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5, - * * and Chrome. - * * 3. Improve appearance and consistency in all browsers. */ -button, input, select, textarea { - font-size: 100%; - /* 1 */ - margin: 0; - /* 2 */ - vertical-align: baseline; - /* 3 */ - *vertical-align: middle; -} - -/* 3 */ -/** - * * Address Firefox 3+ setting `line-height` on `input` using `!important` in - * * the UA stylesheet. */ -button, input { - line-height: normal; -} - -/** - * * Address inconsistent `text-transform` inheritance for `button` and `select`. - * * All other form control elements do not inherit `text-transform` values. - * * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+. - * * Correct `select` style inheritance in Firefox 4+ and Opera. */ -button, select { - text-transform: none; -} - -/** - * * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` - * * and `video` controls. - * * 2. Correct inability to style clickable `input` types in iOS. - * * 3. Improve usability and consistency of cursor style between image-type - * * `input` and others. - * * 4. Remove inner spacing in IE 7 without affecting normal text inputs. - * * Known issue: inner spacing remains in IE 6. */ -button, html input[type=button] { - -webkit-appearance: button; - /* 2 */ - cursor: pointer; - /* 3 */ - *overflow: visible; -} - -/* 4 */ -input[type=reset], input[type=submit] { - -webkit-appearance: button; - /* 2 */ - cursor: pointer; - /* 3 */ - *overflow: visible; -} - -/* 4 */ -/** - * * Re-set default cursor for disabled elements. */ -button[disabled], html input[disabled] { - cursor: default; -} - -/** - * * 1. Address box sizing set to content-box in IE 8/9. - * * 2. Remove excess padding in IE 8/9. - * * 3. Remove excess padding in IE 7. - * * Known issue: excess padding remains in IE 6. */ -input { - /* 3 */ -} -input[type=checkbox], input[type=radio] { - box-sizing: border-box; - /* 1 */ - padding: 0; - /* 2 */ - *height: 13px; - /* 3 */ - *width: 13px; -} -input[type=search] { - -webkit-appearance: textfield; - /* 1 */ - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - /* 2 */ - box-sizing: content-box; -} -input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/** - * * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. - * * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome - * * (include `-moz` to future-proof). */ -/** - * * Remove inner padding and search cancel button in Safari 5 and Chrome - * * on OS X. */ -/** - * * Remove inner padding and border in Firefox 3+. */ -button::-moz-focus-inner, input::-moz-focus-inner { - border: 0; - padding: 0; -} - -/** - * * 1. Remove default vertical scrollbar in IE 6/7/8/9. - * * 2. Improve readability and alignment in all browsers. */ -textarea { - overflow: auto; - /* 1 */ - vertical-align: top; -} - -/* 2 */ -/* ========================================================================== - * * Tables - * * ========================================================================== */ -/** - * * Remove most spacing between table cells. */ -table { - border-collapse: collapse; - border-spacing: 0; -} - -ul.tsd-descriptions > li > :first-child, .tsd-panel > :first-child, .col > :first-child, .col-11 > :first-child, .col-10 > :first-child, .col-9 > :first-child, .col-8 > :first-child, .col-7 > :first-child, .col-6 > :first-child, .col-5 > :first-child, .col-4 > :first-child, .col-3 > :first-child, .col-2 > :first-child, .col-1 > :first-child, -ul.tsd-descriptions > li > :first-child > :first-child, -.tsd-panel > :first-child > :first-child, -.col > :first-child > :first-child, -.col-11 > :first-child > :first-child, -.col-10 > :first-child > :first-child, -.col-9 > :first-child > :first-child, -.col-8 > :first-child > :first-child, -.col-7 > :first-child > :first-child, -.col-6 > :first-child > :first-child, -.col-5 > :first-child > :first-child, -.col-4 > :first-child > :first-child, -.col-3 > :first-child > :first-child, -.col-2 > :first-child > :first-child, -.col-1 > :first-child > :first-child, -ul.tsd-descriptions > li > :first-child > :first-child > :first-child, -.tsd-panel > :first-child > :first-child > :first-child, -.col > :first-child > :first-child > :first-child, -.col-11 > :first-child > :first-child > :first-child, -.col-10 > :first-child > :first-child > :first-child, -.col-9 > :first-child > :first-child > :first-child, -.col-8 > :first-child > :first-child > :first-child, -.col-7 > :first-child > :first-child > :first-child, -.col-6 > :first-child > :first-child > :first-child, -.col-5 > :first-child > :first-child > :first-child, -.col-4 > :first-child > :first-child > :first-child, -.col-3 > :first-child > :first-child > :first-child, -.col-2 > :first-child > :first-child > :first-child, -.col-1 > :first-child > :first-child > :first-child { - margin-top: 0; -} -ul.tsd-descriptions > li > :last-child, .tsd-panel > :last-child, .col > :last-child, .col-11 > :last-child, .col-10 > :last-child, .col-9 > :last-child, .col-8 > :last-child, .col-7 > :last-child, .col-6 > :last-child, .col-5 > :last-child, .col-4 > :last-child, .col-3 > :last-child, .col-2 > :last-child, .col-1 > :last-child, -ul.tsd-descriptions > li > :last-child > :last-child, -.tsd-panel > :last-child > :last-child, -.col > :last-child > :last-child, -.col-11 > :last-child > :last-child, -.col-10 > :last-child > :last-child, -.col-9 > :last-child > :last-child, -.col-8 > :last-child > :last-child, -.col-7 > :last-child > :last-child, -.col-6 > :last-child > :last-child, -.col-5 > :last-child > :last-child, -.col-4 > :last-child > :last-child, -.col-3 > :last-child > :last-child, -.col-2 > :last-child > :last-child, -.col-1 > :last-child > :last-child, -ul.tsd-descriptions > li > :last-child > :last-child > :last-child, -.tsd-panel > :last-child > :last-child > :last-child, -.col > :last-child > :last-child > :last-child, -.col-11 > :last-child > :last-child > :last-child, -.col-10 > :last-child > :last-child > :last-child, -.col-9 > :last-child > :last-child > :last-child, -.col-8 > :last-child > :last-child > :last-child, -.col-7 > :last-child > :last-child > :last-child, -.col-6 > :last-child > :last-child > :last-child, -.col-5 > :last-child > :last-child > :last-child, -.col-4 > :last-child > :last-child > :last-child, -.col-3 > :last-child > :last-child > :last-child, -.col-2 > :last-child > :last-child > :last-child, -.col-1 > :last-child > :last-child > :last-child { - margin-bottom: 0; -} - -.container { - max-width: 1200px; - margin: 0 auto; - padding: 0 40px; -} -@media (max-width: 640px) { - .container { - padding: 0 20px; - } -} - -.container-main { - padding-bottom: 200px; -} - -.row { - display: flex; - position: relative; - margin: 0 -10px; -} -.row:after { - visibility: hidden; - display: block; - content: ""; - clear: both; - height: 0; -} - -.col, .col-11, .col-10, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 { - box-sizing: border-box; - float: left; - padding: 0 10px; -} - -.col-1 { - width: 8.3333333333%; -} - -.offset-1 { - margin-left: 8.3333333333%; -} - -.col-2 { - width: 16.6666666667%; -} - -.offset-2 { - margin-left: 16.6666666667%; -} - -.col-3 { - width: 25%; -} - -.offset-3 { - margin-left: 25%; -} - -.col-4 { - width: 33.3333333333%; -} - -.offset-4 { - margin-left: 33.3333333333%; -} - -.col-5 { - width: 41.6666666667%; -} - -.offset-5 { - margin-left: 41.6666666667%; -} - -.col-6 { - width: 50%; -} - -.offset-6 { - margin-left: 50%; -} - -.col-7 { - width: 58.3333333333%; -} - -.offset-7 { - margin-left: 58.3333333333%; -} - -.col-8 { - width: 66.6666666667%; -} - -.offset-8 { - margin-left: 66.6666666667%; -} - -.col-9 { - width: 75%; -} - -.offset-9 { - margin-left: 75%; -} - -.col-10 { - width: 83.3333333333%; -} - -.offset-10 { - margin-left: 83.3333333333%; -} - -.col-11 { - width: 91.6666666667%; -} - -.offset-11 { - margin-left: 91.6666666667%; -} - -.tsd-kind-icon { - display: block; - position: relative; - padding-left: 20px; - text-indent: -20px; -} -.tsd-kind-icon:before { - content: ""; - display: inline-block; - vertical-align: middle; - width: 17px; - height: 17px; - margin: 0 3px 2px 0; - background-image: url(../images/icons.png); -} -@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { - .tsd-kind-icon:before { - background-image: url(../images/icons@2x.png); - background-size: 238px 204px; - } -} - -.tsd-signature.tsd-kind-icon:before { - background-position: 0 -153px; -} - -.tsd-kind-object-literal > .tsd-kind-icon:before { - background-position: 0px -17px; -} -.tsd-kind-object-literal.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -17px; -} -.tsd-kind-object-literal.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -17px; -} - -.tsd-kind-class > .tsd-kind-icon:before { - background-position: 0px -34px; -} -.tsd-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -34px; -} -.tsd-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -34px; -} - -.tsd-kind-class.tsd-has-type-parameter > .tsd-kind-icon:before { - background-position: 0px -51px; -} -.tsd-kind-class.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -51px; -} -.tsd-kind-class.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -51px; -} - -.tsd-kind-interface > .tsd-kind-icon:before { - background-position: 0px -68px; -} -.tsd-kind-interface.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -68px; -} -.tsd-kind-interface.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -68px; -} - -.tsd-kind-interface.tsd-has-type-parameter > .tsd-kind-icon:before { - background-position: 0px -85px; -} -.tsd-kind-interface.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -85px; -} -.tsd-kind-interface.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -85px; -} - -.tsd-kind-namespace > .tsd-kind-icon:before { - background-position: 0px -102px; -} -.tsd-kind-namespace.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -102px; -} -.tsd-kind-namespace.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -102px; -} - -.tsd-kind-module > .tsd-kind-icon:before { - background-position: 0px -102px; -} -.tsd-kind-module.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -102px; -} -.tsd-kind-module.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -102px; -} - -.tsd-kind-enum > .tsd-kind-icon:before { - background-position: 0px -119px; -} -.tsd-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -119px; -} -.tsd-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -119px; -} - -.tsd-kind-enum-member > .tsd-kind-icon:before { - background-position: 0px -136px; -} -.tsd-kind-enum-member.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -136px; -} -.tsd-kind-enum-member.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -136px; -} - -.tsd-kind-signature > .tsd-kind-icon:before { - background-position: 0px -153px; -} -.tsd-kind-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -153px; -} -.tsd-kind-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -153px; -} - -.tsd-kind-type-alias > .tsd-kind-icon:before { - background-position: 0px -170px; -} -.tsd-kind-type-alias.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -170px; -} -.tsd-kind-type-alias.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -170px; -} - -.tsd-kind-type-alias.tsd-has-type-parameter > .tsd-kind-icon:before { - background-position: 0px -187px; -} -.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before { - background-position: -17px -187px; -} -.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { - background-position: -34px -187px; -} - -.tsd-kind-variable > .tsd-kind-icon:before { - background-position: -136px -0px; -} -.tsd-kind-variable.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -0px; -} -.tsd-kind-variable.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-variable.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -0px; -} -.tsd-kind-variable.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -0px; -} -.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -0px; -} -.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -0px; -} -.tsd-kind-variable.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-variable.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -0px; -} -.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -0px; -} -.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-variable.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -0px; -} -.tsd-kind-variable.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -0px; -} - -.tsd-kind-property > .tsd-kind-icon:before { - background-position: -136px -0px; -} -.tsd-kind-property.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -0px; -} -.tsd-kind-property.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-property.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -0px; -} -.tsd-kind-property.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -0px; -} -.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -0px; -} -.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -0px; -} -.tsd-kind-property.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-property.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -0px; -} -.tsd-kind-property.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -0px; -} -.tsd-kind-property.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -0px; -} -.tsd-kind-property.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -0px; -} -.tsd-kind-property.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -0px; -} - -.tsd-kind-get-signature > .tsd-kind-icon:before { - background-position: -136px -17px; -} -.tsd-kind-get-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -17px; -} -.tsd-kind-get-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -17px; -} -.tsd-kind-get-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -17px; -} - -.tsd-kind-set-signature > .tsd-kind-icon:before { - background-position: -136px -34px; -} -.tsd-kind-set-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -34px; -} -.tsd-kind-set-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -34px; -} -.tsd-kind-set-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -34px; -} - -.tsd-kind-accessor > .tsd-kind-icon:before { - background-position: -136px -51px; -} -.tsd-kind-accessor.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -51px; -} -.tsd-kind-accessor.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -51px; -} -.tsd-kind-accessor.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -51px; -} - -.tsd-kind-function > .tsd-kind-icon:before { - background-position: -136px -68px; -} -.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -68px; -} -.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -68px; -} -.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -68px; -} -.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -68px; -} -.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -68px; -} -.tsd-kind-function.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -68px; -} -.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -68px; -} -.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-function.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -68px; -} -.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -68px; -} - -.tsd-kind-method > .tsd-kind-icon:before { - background-position: -136px -68px; -} -.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -68px; -} -.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -68px; -} -.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -68px; -} -.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -68px; -} -.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -68px; -} -.tsd-kind-method.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -68px; -} -.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -68px; -} -.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-method.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -68px; -} -.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -68px; -} - -.tsd-kind-call-signature > .tsd-kind-icon:before { - background-position: -136px -68px; -} -.tsd-kind-call-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -68px; -} -.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -68px; -} -.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -68px; -} - -.tsd-kind-function.tsd-has-type-parameter > .tsd-kind-icon:before { - background-position: -136px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -85px; -} -.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -85px; -} - -.tsd-kind-method.tsd-has-type-parameter > .tsd-kind-icon:before { - background-position: -136px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -85px; -} -.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -85px; -} - -.tsd-kind-constructor > .tsd-kind-icon:before { - background-position: -136px -102px; -} -.tsd-kind-constructor.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -102px; -} -.tsd-kind-constructor.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -102px; -} -.tsd-kind-constructor.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -102px; -} - -.tsd-kind-constructor-signature > .tsd-kind-icon:before { - background-position: -136px -102px; -} -.tsd-kind-constructor-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -102px; -} -.tsd-kind-constructor-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -102px; -} -.tsd-kind-constructor-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -102px; -} - -.tsd-kind-index-signature > .tsd-kind-icon:before { - background-position: -136px -119px; -} -.tsd-kind-index-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -119px; -} -.tsd-kind-index-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -119px; -} -.tsd-kind-index-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -119px; -} - -.tsd-kind-event > .tsd-kind-icon:before { - background-position: -136px -136px; -} -.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -136px; -} -.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -136px; -} -.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -136px; -} -.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -136px; -} -.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -136px; -} -.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -136px; -} -.tsd-kind-event.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -136px; -} -.tsd-kind-event.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -136px; -} -.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -136px; -} -.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -136px; -} -.tsd-kind-event.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -136px; -} -.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -136px; -} - -.tsd-is-static > .tsd-kind-icon:before { - background-position: -136px -153px; -} -.tsd-is-static.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -153px; -} -.tsd-is-static.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -153px; -} -.tsd-is-static.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -153px; -} -.tsd-is-static.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -153px; -} -.tsd-is-static.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -153px; -} -.tsd-is-static.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -153px; -} -.tsd-is-static.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -153px; -} -.tsd-is-static.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -153px; -} -.tsd-is-static.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -153px; -} -.tsd-is-static.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -153px; -} -.tsd-is-static.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -153px; -} -.tsd-is-static.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -153px; -} - -.tsd-is-static.tsd-kind-function > .tsd-kind-icon:before { - background-position: -136px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -170px; -} -.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -170px; -} - -.tsd-is-static.tsd-kind-method > .tsd-kind-icon:before { - background-position: -136px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -170px; -} -.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -170px; -} - -.tsd-is-static.tsd-kind-call-signature > .tsd-kind-icon:before { - background-position: -136px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -170px; -} -.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -170px; -} - -.tsd-is-static.tsd-kind-event > .tsd-kind-icon:before { - background-position: -136px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before { - background-position: -153px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before { - background-position: -51px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -68px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { - background-position: -85px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -102px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum > .tsd-kind-icon:before { - background-position: -170px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { - background-position: -187px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { - background-position: -119px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface > .tsd-kind-icon:before { - background-position: -204px -187px; -} -.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { - background-position: -221px -187px; -} - -@keyframes fade-in { - from { - opacity: 0; - } - to { - opacity: 1; - } -} -@keyframes fade-out { - from { - opacity: 1; - visibility: visible; - } - to { - opacity: 0; - } -} -@keyframes fade-in-delayed { - 0% { - opacity: 0; - } - 33% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -@keyframes fade-out-delayed { - 0% { - opacity: 1; - visibility: visible; - } - 66% { - opacity: 0; - } - 100% { - opacity: 0; - } -} -@keyframes shift-to-left { - from { - transform: translate(0, 0); - } - to { - transform: translate(-25%, 0); - } -} -@keyframes unshift-to-left { - from { - transform: translate(-25%, 0); - } - to { - transform: translate(0, 0); - } -} -@keyframes pop-in-from-right { - from { - transform: translate(100%, 0); - } - to { - transform: translate(0, 0); - } -} -@keyframes pop-out-to-right { - from { - transform: translate(0, 0); - visibility: visible; - } - to { - transform: translate(100%, 0); - } -} -body { - background: var(--color-background); - font-family: "Segoe UI", sans-serif; - font-size: 16px; - color: var(--color-text); -} - -a { - color: var(--color-link); - text-decoration: none; -} -a:hover { - text-decoration: underline; -} - -code, pre { - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - padding: 0.2em; - margin: 0; - font-size: 14px; - background-color: var(--color-code-background); -} - -pre { - padding: 10px; -} -pre code { - padding: 0; - font-size: 100%; - background-color: transparent; -} - -blockquote { - margin: 1em 0; - padding-left: 1em; - border-left: 4px solid gray; -} - -.tsd-typography { - line-height: 1.333em; -} -.tsd-typography ul { - list-style: square; - padding: 0 0 0 20px; - margin: 0; -} -.tsd-typography h4, .tsd-typography .tsd-index-panel h3, .tsd-index-panel .tsd-typography h3, .tsd-typography h5, .tsd-typography h6 { - font-size: 1em; - margin: 0; -} -.tsd-typography h5, .tsd-typography h6 { - font-weight: normal; -} -.tsd-typography p, .tsd-typography ul, .tsd-typography ol { - margin: 1em 0; -} - -@media (min-width: 901px) and (max-width: 1024px) { - html.default .col-content { - width: 72%; - } - html.default .col-menu { - width: 28%; - } - html.default .tsd-navigation { - padding-left: 10px; - } -} -@media (max-width: 900px) { - html.default .col-content { - float: none; - width: 100%; - } - html.default .col-menu { - position: fixed !important; - overflow: auto; - -webkit-overflow-scrolling: touch; - z-index: 1024; - top: 0 !important; - bottom: 0 !important; - left: auto !important; - right: 0 !important; - width: 100%; - padding: 20px 20px 0 0; - max-width: 450px; - visibility: hidden; - background-color: var(--color-panel); - transform: translate(100%, 0); - } - html.default .col-menu > *:last-child { - padding-bottom: 20px; - } - html.default .overlay { - content: ""; - display: block; - position: fixed; - z-index: 1023; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.75); - visibility: hidden; - } - html.default.to-has-menu .overlay { - animation: fade-in 0.4s; - } - html.default.to-has-menu header, -html.default.to-has-menu footer, -html.default.to-has-menu .col-content { - animation: shift-to-left 0.4s; - } - html.default.to-has-menu .col-menu { - animation: pop-in-from-right 0.4s; - } - html.default.from-has-menu .overlay { - animation: fade-out 0.4s; - } - html.default.from-has-menu header, -html.default.from-has-menu footer, -html.default.from-has-menu .col-content { - animation: unshift-to-left 0.4s; - } - html.default.from-has-menu .col-menu { - animation: pop-out-to-right 0.4s; - } - html.default.has-menu body { - overflow: hidden; - } - html.default.has-menu .overlay { - visibility: visible; - } - html.default.has-menu header, -html.default.has-menu footer, -html.default.has-menu .col-content { - transform: translate(-25%, 0); - } - html.default.has-menu .col-menu { - visibility: visible; - transform: translate(0, 0); - } -} - -.tsd-page-title { - padding: 70px 0 20px 0; - margin: 0 0 40px 0; - background: var(--color-panel); - box-shadow: 0 0 5px rgba(0, 0, 0, 0.35); -} -.tsd-page-title h1 { - margin: 0; -} - -.tsd-breadcrumb { - margin: 0; - padding: 0; - color: var(--color-text-aside); -} -.tsd-breadcrumb a { - color: var(--color-text-aside); - text-decoration: none; -} -.tsd-breadcrumb a:hover { - text-decoration: underline; -} -.tsd-breadcrumb li { - display: inline; -} -.tsd-breadcrumb li:after { - content: " / "; -} - -html.minimal .container { - margin: 0; -} -html.minimal .container-main { - padding-top: 50px; - padding-bottom: 0; -} -html.minimal .content-wrap { - padding-left: 300px; -} -html.minimal .tsd-navigation { - position: fixed !important; - overflow: auto; - -webkit-overflow-scrolling: touch; - box-sizing: border-box; - z-index: 1; - left: 0; - top: 40px; - bottom: 0; - width: 300px; - padding: 20px; - margin: 0; -} -html.minimal .tsd-member .tsd-member { - margin-left: 0; -} -html.minimal .tsd-page-toolbar { - position: fixed; - z-index: 2; -} -html.minimal #tsd-filter .tsd-filter-group { - right: 0; - transform: none; -} -html.minimal footer { - background-color: transparent; -} -html.minimal footer .container { - padding: 0; -} -html.minimal .tsd-generator { - padding: 0; -} -@media (max-width: 900px) { - html.minimal .tsd-navigation { - display: none; - } - html.minimal .content-wrap { - padding-left: 0; - } -} - -dl.tsd-comment-tags { - overflow: hidden; -} -dl.tsd-comment-tags dt { - float: left; - padding: 1px 5px; - margin: 0 10px 0 0; - border-radius: 4px; - border: 1px solid var(--color-comment-tag); - color: var(--color-comment-tag); - font-size: 0.8em; - font-weight: normal; -} -dl.tsd-comment-tags dd { - margin: 0 0 10px 0; -} -dl.tsd-comment-tags dd:before, dl.tsd-comment-tags dd:after { - display: table; - content: " "; -} -dl.tsd-comment-tags dd pre, dl.tsd-comment-tags dd:after { - clear: both; -} -dl.tsd-comment-tags p { - margin: 0; -} - -.tsd-panel.tsd-comment .lead { - font-size: 1.1em; - line-height: 1.333em; - margin-bottom: 2em; -} -.tsd-panel.tsd-comment .lead:last-child { - margin-bottom: 0; -} - -.toggle-protected .tsd-is-private { - display: none; -} - -.toggle-public .tsd-is-private, -.toggle-public .tsd-is-protected, -.toggle-public .tsd-is-private-protected { - display: none; -} - -.toggle-inherited .tsd-is-inherited { - display: none; -} - -.toggle-externals .tsd-is-external { - display: none; -} - -#tsd-filter { - position: relative; - display: inline-block; - height: 40px; - vertical-align: bottom; -} -.no-filter #tsd-filter { - display: none; -} -#tsd-filter .tsd-filter-group { - display: inline-block; - height: 40px; - vertical-align: bottom; - white-space: nowrap; -} -#tsd-filter input { - display: none; -} -@media (max-width: 900px) { - #tsd-filter .tsd-filter-group { - display: block; - position: absolute; - top: 40px; - right: 20px; - height: auto; - background-color: var(--color-panel); - visibility: hidden; - transform: translate(50%, 0); - box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); - } - .has-options #tsd-filter .tsd-filter-group { - visibility: visible; - } - .to-has-options #tsd-filter .tsd-filter-group { - animation: fade-in 0.2s; - } - .from-has-options #tsd-filter .tsd-filter-group { - animation: fade-out 0.2s; - } - #tsd-filter label, -#tsd-filter .tsd-select { - display: block; - padding-right: 20px; - } -} - -footer { - border-top: 1px solid var(--color-panel-divider); - background-color: var(--color-panel); -} -footer.with-border-bottom { - border-bottom: 1px solid var(--color-panel-divider); -} -footer .tsd-legend-group { - font-size: 0; -} -footer .tsd-legend { - display: inline-block; - width: 25%; - padding: 0; - font-size: 16px; - list-style: none; - line-height: 1.333em; - vertical-align: top; -} -@media (max-width: 900px) { - footer .tsd-legend { - width: 50%; - } -} - -.tsd-hierarchy { - list-style: square; - padding: 0 0 0 20px; - margin: 0; -} -.tsd-hierarchy .target { - font-weight: bold; -} - -.tsd-index-panel .tsd-index-content { - margin-bottom: -30px !important; -} -.tsd-index-panel .tsd-index-section { - margin-bottom: 30px !important; -} -.tsd-index-panel h3 { - margin: 0 -20px 10px -20px; - padding: 0 20px 10px 20px; - border-bottom: 1px solid var(--color-panel-divider); -} -.tsd-index-panel ul.tsd-index-list { - -webkit-column-count: 3; - -moz-column-count: 3; - -ms-column-count: 3; - -o-column-count: 3; - column-count: 3; - -webkit-column-gap: 20px; - -moz-column-gap: 20px; - -ms-column-gap: 20px; - -o-column-gap: 20px; - column-gap: 20px; - padding: 0; - list-style: none; - line-height: 1.333em; -} -@media (max-width: 900px) { - .tsd-index-panel ul.tsd-index-list { - -webkit-column-count: 1; - -moz-column-count: 1; - -ms-column-count: 1; - -o-column-count: 1; - column-count: 1; - } -} -@media (min-width: 901px) and (max-width: 1024px) { - .tsd-index-panel ul.tsd-index-list { - -webkit-column-count: 2; - -moz-column-count: 2; - -ms-column-count: 2; - -o-column-count: 2; - column-count: 2; - } -} -.tsd-index-panel ul.tsd-index-list li { - -webkit-page-break-inside: avoid; - -moz-page-break-inside: avoid; - -ms-page-break-inside: avoid; - -o-page-break-inside: avoid; - page-break-inside: avoid; -} -.tsd-index-panel a, -.tsd-index-panel .tsd-parent-kind-module a { - color: var(--color-ts); -} -.tsd-index-panel .tsd-parent-kind-interface a { - color: var(--color-ts-interface); -} -.tsd-index-panel .tsd-parent-kind-enum a { - color: var(--color-ts-enum); -} -.tsd-index-panel .tsd-parent-kind-class a { - color: var(--color-ts-class); -} -.tsd-index-panel .tsd-kind-module a { - color: var(--color-ts); -} -.tsd-index-panel .tsd-kind-interface a { - color: var(--color-ts-interface); -} -.tsd-index-panel .tsd-kind-enum a { - color: var(--color-ts-enum); -} -.tsd-index-panel .tsd-kind-class a { - color: var(--color-ts-class); -} -.tsd-index-panel .tsd-is-private a { - color: var(--color-ts-private); -} - -.tsd-flag { - display: inline-block; - padding: 1px 5px; - border-radius: 4px; - color: var(--color-comment-tag-text); - background-color: var(--color-comment-tag); - text-indent: 0; - font-size: 14px; - font-weight: normal; -} - -.tsd-anchor { - position: absolute; - top: -100px; -} - -.tsd-member { - position: relative; -} -.tsd-member .tsd-anchor + h3 { - margin-top: 0; - margin-bottom: 0; - border-bottom: none; -} -.tsd-member a[data-tsd-kind] { - color: var(--color-ts); -} -.tsd-member a[data-tsd-kind=Interface] { - color: var(--color-ts-interface); -} -.tsd-member a[data-tsd-kind=Enum] { - color: var(--color-ts-enum); -} -.tsd-member a[data-tsd-kind=Class] { - color: var(--color-ts-class); -} -.tsd-member a[data-tsd-kind=Private] { - color: var(--color-ts-private); -} - -.tsd-navigation { - margin: 0 0 0 40px; -} -.tsd-navigation a { - display: block; - padding-top: 2px; - padding-bottom: 2px; - border-left: 2px solid transparent; - color: var(--color-text); - text-decoration: none; - transition: border-left-color 0.1s; -} -.tsd-navigation a:hover { - text-decoration: underline; -} -.tsd-navigation ul { - margin: 0; - padding: 0; - list-style: none; -} -.tsd-navigation li { - padding: 0; -} - -.tsd-navigation.primary { - padding-bottom: 40px; -} -.tsd-navigation.primary a { - display: block; - padding-top: 6px; - padding-bottom: 6px; -} -.tsd-navigation.primary ul li a { - padding-left: 5px; -} -.tsd-navigation.primary ul li li a { - padding-left: 25px; -} -.tsd-navigation.primary ul li li li a { - padding-left: 45px; -} -.tsd-navigation.primary ul li li li li a { - padding-left: 65px; -} -.tsd-navigation.primary ul li li li li li a { - padding-left: 85px; -} -.tsd-navigation.primary ul li li li li li li a { - padding-left: 105px; -} -.tsd-navigation.primary > ul { - border-bottom: 1px solid var(--color-panel-divider); -} -.tsd-navigation.primary li { - border-top: 1px solid var(--color-panel-divider); -} -.tsd-navigation.primary li.current > a { - font-weight: bold; -} -.tsd-navigation.primary li.label span { - display: block; - padding: 20px 0 6px 5px; - color: var(--color-menu-label); -} -.tsd-navigation.primary li.globals + li > span, .tsd-navigation.primary li.globals + li > a { - padding-top: 20px; -} - -.tsd-navigation.secondary { - max-height: calc(100vh - 1rem - 40px); - overflow: auto; - position: -webkit-sticky; - position: sticky; - top: calc(.5rem + 40px); - transition: 0.3s; -} -.tsd-navigation.secondary.tsd-navigation--toolbar-hide { - max-height: calc(100vh - 1rem); - top: 0.5rem; -} -.tsd-navigation.secondary ul { - transition: opacity 0.2s; -} -.tsd-navigation.secondary ul li a { - padding-left: 25px; -} -.tsd-navigation.secondary ul li li a { - padding-left: 45px; -} -.tsd-navigation.secondary ul li li li a { - padding-left: 65px; -} -.tsd-navigation.secondary ul li li li li a { - padding-left: 85px; -} -.tsd-navigation.secondary ul li li li li li a { - padding-left: 105px; -} -.tsd-navigation.secondary ul li li li li li li a { - padding-left: 125px; -} -.tsd-navigation.secondary ul.current a { - border-left-color: var(--color-panel-divider); -} -.tsd-navigation.secondary li.focus > a, -.tsd-navigation.secondary ul.current li.focus > a { - border-left-color: var(--color-menu-divider-focus); -} -.tsd-navigation.secondary li.current { - margin-top: 20px; - margin-bottom: 20px; - border-left-color: var(--color-panel-divider); -} -.tsd-navigation.secondary li.current > a { - font-weight: bold; -} - -@media (min-width: 901px) { - .menu-sticky-wrap { - position: static; - } -} - -.tsd-panel { - margin: 20px 0; - padding: 20px; - background-color: var(--color-panel); - box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); -} -.tsd-panel:empty { - display: none; -} -.tsd-panel > h1, .tsd-panel > h2, .tsd-panel > h3 { - margin: 1.5em -20px 10px -20px; - padding: 0 20px 10px 20px; - border-bottom: 1px solid var(--color-panel-divider); -} -.tsd-panel > h1.tsd-before-signature, .tsd-panel > h2.tsd-before-signature, .tsd-panel > h3.tsd-before-signature { - margin-bottom: 0; - border-bottom: 0; -} -.tsd-panel table { - display: block; - width: 100%; - overflow: auto; - margin-top: 10px; - word-break: normal; - word-break: keep-all; -} -.tsd-panel table th { - font-weight: bold; -} -.tsd-panel table th, .tsd-panel table td { - padding: 6px 13px; - border: 1px solid #ddd; -} -.tsd-panel table tr { - background-color: #fff; - border-top: 1px solid #ccc; -} -.tsd-panel table tr:nth-child(2n) { - background-color: #f8f8f8; -} - -.tsd-panel-group { - margin: 60px 0; -} -.tsd-panel-group > h1, .tsd-panel-group > h2, .tsd-panel-group > h3 { - padding-left: 20px; - padding-right: 20px; -} - -#tsd-search { - transition: background-color 0.2s; -} -#tsd-search .title { - position: relative; - z-index: 2; -} -#tsd-search .field { - position: absolute; - left: 0; - top: 0; - right: 40px; - height: 40px; -} -#tsd-search .field input { - box-sizing: border-box; - position: relative; - top: -50px; - z-index: 1; - width: 100%; - padding: 0 10px; - opacity: 0; - outline: 0; - border: 0; - background: transparent; - color: var(--color-text); -} -#tsd-search .field label { - position: absolute; - overflow: hidden; - right: -40px; -} -#tsd-search .field input, -#tsd-search .title { - transition: opacity 0.2s; -} -#tsd-search .results { - position: absolute; - visibility: hidden; - top: 40px; - width: 100%; - margin: 0; - padding: 0; - list-style: none; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); -} -#tsd-search .results li { - padding: 0 10px; - background-color: var(--color-background); -} -#tsd-search .results li:nth-child(even) { - background-color: var(--color-panel); -} -#tsd-search .results li.state { - display: none; -} -#tsd-search .results li.current, -#tsd-search .results li:hover { - background-color: var(--color-panel-divider); -} -#tsd-search .results a { - display: block; -} -#tsd-search .results a:before { - top: 10px; -} -#tsd-search .results span.parent { - color: var(--color-text-aside); - font-weight: normal; -} -#tsd-search.has-focus { - background-color: var(--color-panel-divider); -} -#tsd-search.has-focus .field input { - top: 0; - opacity: 1; -} -#tsd-search.has-focus .title { - z-index: 0; - opacity: 0; -} -#tsd-search.has-focus .results { - visibility: visible; -} -#tsd-search.loading .results li.state.loading { - display: block; -} -#tsd-search.failure .results li.state.failure { - display: block; -} - -.tsd-signature { - margin: 0 0 1em 0; - padding: 10px; - border: 1px solid var(--color-panel-divider); - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 14px; - overflow-x: auto; -} -.tsd-signature.tsd-kind-icon { - padding-left: 30px; -} -.tsd-signature.tsd-kind-icon:before { - top: 10px; - left: 10px; -} -.tsd-panel > .tsd-signature { - margin-left: -20px; - margin-right: -20px; - border-width: 1px 0; -} -.tsd-panel > .tsd-signature.tsd-kind-icon { - padding-left: 40px; -} -.tsd-panel > .tsd-signature.tsd-kind-icon:before { - left: 20px; -} - -.tsd-signature-symbol { - color: var(--color-text-aside); - font-weight: normal; -} - -.tsd-signature-type { - font-style: italic; - font-weight: normal; -} - -.tsd-signatures { - padding: 0; - margin: 0 0 1em 0; - border: 1px solid var(--color-panel-divider); -} -.tsd-signatures .tsd-signature { - margin: 0; - border-width: 1px 0 0 0; - transition: background-color 0.1s; -} -.tsd-signatures .tsd-signature:first-child { - border-top-width: 0; -} -.tsd-signatures .tsd-signature.current { - background-color: var(--color-panel-divider); -} -.tsd-signatures.active > .tsd-signature { - cursor: pointer; -} -.tsd-panel > .tsd-signatures { - margin-left: -20px; - margin-right: -20px; - border-width: 1px 0; -} -.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon { - padding-left: 40px; -} -.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon:before { - left: 20px; -} -.tsd-panel > a.anchor + .tsd-signatures { - border-top-width: 0; - margin-top: -20px; -} - -ul.tsd-descriptions { - position: relative; - overflow: hidden; - padding: 0; - list-style: none; -} -ul.tsd-descriptions.active > .tsd-description { - display: none; -} -ul.tsd-descriptions.active > .tsd-description.current { - display: block; -} -ul.tsd-descriptions.active > .tsd-description.fade-in { - animation: fade-in-delayed 0.3s; -} -ul.tsd-descriptions.active > .tsd-description.fade-out { - animation: fade-out-delayed 0.3s; - position: absolute; - display: block; - top: 0; - left: 0; - right: 0; - opacity: 0; - visibility: hidden; -} -ul.tsd-descriptions h4, ul.tsd-descriptions .tsd-index-panel h3, .tsd-index-panel ul.tsd-descriptions h3 { - font-size: 16px; - margin: 1em 0 0.5em 0; -} - -ul.tsd-parameters, -ul.tsd-type-parameters { - list-style: square; - margin: 0; - padding-left: 20px; -} -ul.tsd-parameters > li.tsd-parameter-signature, -ul.tsd-type-parameters > li.tsd-parameter-signature { - list-style: none; - margin-left: -20px; -} -ul.tsd-parameters h5, -ul.tsd-type-parameters h5 { - font-size: 16px; - margin: 1em 0 0.5em 0; -} -ul.tsd-parameters .tsd-comment, -ul.tsd-type-parameters .tsd-comment { - margin-top: -0.5em; -} - -.tsd-sources { - font-size: 14px; - color: var(--color-text-aside); - margin: 0 0 1em 0; -} -.tsd-sources a { - color: var(--color-text-aside); - text-decoration: underline; -} -.tsd-sources ul, .tsd-sources p { - margin: 0 !important; -} -.tsd-sources ul { - list-style: none; - padding: 0; -} - -.tsd-page-toolbar { - position: fixed; - z-index: 1; - top: 0; - left: 0; - width: 100%; - height: 40px; - color: var(--color-toolbar-text); - background: var(--color-toolbar); - border-bottom: 1px solid var(--color-panel-divider); - transition: transform 0.3s linear; -} -.tsd-page-toolbar a { - color: var(--color-toolbar-text); - text-decoration: none; -} -.tsd-page-toolbar a.title { - font-weight: bold; -} -.tsd-page-toolbar a.title:hover { - text-decoration: underline; -} -.tsd-page-toolbar .table-wrap { - display: table; - width: 100%; - height: 40px; -} -.tsd-page-toolbar .table-cell { - display: table-cell; - position: relative; - white-space: nowrap; - line-height: 40px; -} -.tsd-page-toolbar .table-cell:first-child { - width: 100%; -} - -.tsd-page-toolbar--hide { - transform: translateY(-100%); -} - -.tsd-select .tsd-select-list li:before, .tsd-select .tsd-select-label:before, .tsd-widget:before { - content: ""; - display: inline-block; - width: 40px; - height: 40px; - margin: 0 -8px 0 0; - background-image: url(../images/widgets.png); - background-repeat: no-repeat; - text-indent: -1024px; - vertical-align: bottom; -} -@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { - .tsd-select .tsd-select-list li:before, .tsd-select .tsd-select-label:before, .tsd-widget:before { - background-image: url(../images/widgets@2x.png); - background-size: 320px 40px; - } -} - -.tsd-widget { - display: inline-block; - overflow: hidden; - opacity: 0.6; - height: 40px; - transition: opacity 0.1s, background-color 0.2s; - vertical-align: bottom; - cursor: pointer; -} -.tsd-widget:hover { - opacity: 0.8; -} -.tsd-widget.active { - opacity: 1; - background-color: var(--color-panel-divider); -} -.tsd-widget.no-caption { - width: 40px; -} -.tsd-widget.no-caption:before { - margin: 0; -} -.tsd-widget.search:before { - background-position: 0 0; -} -.tsd-widget.menu:before { - background-position: -40px 0; -} -.tsd-widget.options:before { - background-position: -80px 0; -} -.tsd-widget.options, .tsd-widget.menu { - display: none; -} -@media (max-width: 900px) { - .tsd-widget.options, .tsd-widget.menu { - display: inline-block; - } -} -input[type=checkbox] + .tsd-widget:before { - background-position: -120px 0; -} -input[type=checkbox]:checked + .tsd-widget:before { - background-position: -160px 0; -} - -.tsd-select { - position: relative; - display: inline-block; - height: 40px; - transition: opacity 0.1s, background-color 0.2s; - vertical-align: bottom; - cursor: pointer; -} -.tsd-select .tsd-select-label { - opacity: 0.6; - transition: opacity 0.2s; -} -.tsd-select .tsd-select-label:before { - background-position: -240px 0; -} -.tsd-select.active .tsd-select-label { - opacity: 0.8; -} -.tsd-select.active .tsd-select-list { - visibility: visible; - opacity: 1; - transition-delay: 0s; -} -.tsd-select .tsd-select-list { - position: absolute; - visibility: hidden; - top: 40px; - left: 0; - margin: 0; - padding: 0; - opacity: 0; - list-style: none; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); - transition: visibility 0s 0.2s, opacity 0.2s; -} -.tsd-select .tsd-select-list li { - padding: 0 20px 0 0; - background-color: var(--color-background); -} -.tsd-select .tsd-select-list li:before { - background-position: 40px 0; -} -.tsd-select .tsd-select-list li:nth-child(even) { - background-color: var(--color-panel); -} -.tsd-select .tsd-select-list li:hover { - background-color: var(--color-panel-divider); -} -.tsd-select .tsd-select-list li.selected:before { - background-position: -200px 0; -} -@media (max-width: 900px) { - .tsd-select .tsd-select-list { - top: 0; - left: auto; - right: 100%; - margin-right: -5px; - } - .tsd-select .tsd-select-label:before { - background-position: -280px 0; - } -} - -img { - max-width: 100%; -} diff --git a/assets/highlight.css b/assets/highlight.css new file mode 100644 index 00000000..32ed1ad6 --- /dev/null +++ b/assets/highlight.css @@ -0,0 +1,99 @@ +:root { + --light-hl-0: #008000; + --dark-hl-0: #6A9955; + --light-hl-1: #AF00DB; + --dark-hl-1: #C586C0; + --light-hl-2: #000000; + --dark-hl-2: #D4D4D4; + --light-hl-3: #001080; + --dark-hl-3: #9CDCFE; + --light-hl-4: #A31515; + --dark-hl-4: #CE9178; + --light-hl-5: #0000FF; + --dark-hl-5: #569CD6; + --light-hl-6: #0070C1; + --dark-hl-6: #4FC1FF; + --light-hl-7: #795E26; + --dark-hl-7: #DCDCAA; + --light-hl-8: #000000FF; + --dark-hl-8: #D4D4D4; + --light-hl-9: #800000; + --dark-hl-9: #808080; + --light-hl-10: #800000; + --dark-hl-10: #569CD6; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +.hl-8 { color: var(--hl-8); } +.hl-9 { color: var(--hl-9); } +.hl-10 { color: var(--hl-10); } +pre, code { background: var(--code-background); } diff --git a/assets/images/icons.png b/assets/images/icons.png deleted file mode 100644 index 3836d5fe..00000000 Binary files a/assets/images/icons.png and /dev/null differ diff --git a/assets/images/icons@2x.png b/assets/images/icons@2x.png deleted file mode 100644 index 5a209e2f..00000000 Binary files a/assets/images/icons@2x.png and /dev/null differ diff --git a/assets/images/widgets.png b/assets/images/widgets.png deleted file mode 100644 index c7380532..00000000 Binary files a/assets/images/widgets.png and /dev/null differ diff --git a/assets/images/widgets@2x.png b/assets/images/widgets@2x.png deleted file mode 100644 index 4bbbd572..00000000 Binary files a/assets/images/widgets@2x.png and /dev/null differ diff --git a/assets/js/main.js b/assets/js/main.js deleted file mode 100644 index dc257a86..00000000 --- a/assets/js/main.js +++ /dev/null @@ -1,248 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is not neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "../node_modules/lunr/lunr.js": -/*!************************************!*\ - !*** ../node_modules/lunr/lunr.js ***! - \************************************/ -/***/ ((module, exports, __webpack_require__) => { - -eval("var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\n * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9\n * Copyright (C) 2020 Oliver Nightingale\n * @license MIT\n */\n\n;(function(){\n\n/**\n * A convenience function for configuring and constructing\n * a new lunr Index.\n *\n * A lunr.Builder instance is created and the pipeline setup\n * with a trimmer, stop word filter and stemmer.\n *\n * This builder object is yielded to the configuration function\n * that is passed as a parameter, allowing the list of fields\n * and other builder parameters to be customised.\n *\n * All documents _must_ be added within the passed config function.\n *\n * @example\n * var idx = lunr(function () {\n * this.field('title')\n * this.field('body')\n * this.ref('id')\n *\n * documents.forEach(function (doc) {\n * this.add(doc)\n * }, this)\n * })\n *\n * @see {@link lunr.Builder}\n * @see {@link lunr.Pipeline}\n * @see {@link lunr.trimmer}\n * @see {@link lunr.stopWordFilter}\n * @see {@link lunr.stemmer}\n * @namespace {function} lunr\n */\nvar lunr = function (config) {\n var builder = new lunr.Builder\n\n builder.pipeline.add(\n lunr.trimmer,\n lunr.stopWordFilter,\n lunr.stemmer\n )\n\n builder.searchPipeline.add(\n lunr.stemmer\n )\n\n config.call(builder, builder)\n return builder.build()\n}\n\nlunr.version = \"2.3.9\"\n/*!\n * lunr.utils\n * Copyright (C) 2020 Oliver Nightingale\n */\n\n/**\n * A namespace containing utils for the rest of the lunr library\n * @namespace lunr.utils\n */\nlunr.utils = {}\n\n/**\n * Print a warning message to the console.\n *\n * @param {String} message The message to be printed.\n * @memberOf lunr.utils\n * @function\n */\nlunr.utils.warn = (function (global) {\n /* eslint-disable no-console */\n return function (message) {\n if (global.console && console.warn) {\n console.warn(message)\n }\n }\n /* eslint-enable no-console */\n})(this)\n\n/**\n * Convert an object to a string.\n *\n * In the case of `null` and `undefined` the function returns\n * the empty string, in all other cases the result of calling\n * `toString` on the passed object is returned.\n *\n * @param {Any} obj The object to convert to a string.\n * @return {String} string representation of the passed object.\n * @memberOf lunr.utils\n */\nlunr.utils.asString = function (obj) {\n if (obj === void 0 || obj === null) {\n return \"\"\n } else {\n return obj.toString()\n }\n}\n\n/**\n * Clones an object.\n *\n * Will create a copy of an existing object such that any mutations\n * on the copy cannot affect the original.\n *\n * Only shallow objects are supported, passing a nested object to this\n * function will cause a TypeError.\n *\n * Objects with primitives, and arrays of primitives are supported.\n *\n * @param {Object} obj The object to clone.\n * @return {Object} a clone of the passed object.\n * @throws {TypeError} when a nested object is passed.\n * @memberOf Utils\n */\nlunr.utils.clone = function (obj) {\n if (obj === null || obj === undefined) {\n return obj\n }\n\n var clone = Object.create(null),\n keys = Object.keys(obj)\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i],\n val = obj[key]\n\n if (Array.isArray(val)) {\n clone[key] = val.slice()\n continue\n }\n\n if (typeof val === 'string' ||\n typeof val === 'number' ||\n typeof val === 'boolean') {\n clone[key] = val\n continue\n }\n\n throw new TypeError(\"clone is not deep and does not support nested objects\")\n }\n\n return clone\n}\nlunr.FieldRef = function (docRef, fieldName, stringValue) {\n this.docRef = docRef\n this.fieldName = fieldName\n this._stringValue = stringValue\n}\n\nlunr.FieldRef.joiner = \"/\"\n\nlunr.FieldRef.fromString = function (s) {\n var n = s.indexOf(lunr.FieldRef.joiner)\n\n if (n === -1) {\n throw \"malformed field ref string\"\n }\n\n var fieldRef = s.slice(0, n),\n docRef = s.slice(n + 1)\n\n return new lunr.FieldRef (docRef, fieldRef, s)\n}\n\nlunr.FieldRef.prototype.toString = function () {\n if (this._stringValue == undefined) {\n this._stringValue = this.fieldName + lunr.FieldRef.joiner + this.docRef\n }\n\n return this._stringValue\n}\n/*!\n * lunr.Set\n * Copyright (C) 2020 Oliver Nightingale\n */\n\n/**\n * A lunr set.\n *\n * @constructor\n */\nlunr.Set = function (elements) {\n this.elements = Object.create(null)\n\n if (elements) {\n this.length = elements.length\n\n for (var i = 0; i < this.length; i++) {\n this.elements[elements[i]] = true\n }\n } else {\n this.length = 0\n }\n}\n\n/**\n * A complete set that contains all elements.\n *\n * @static\n * @readonly\n * @type {lunr.Set}\n */\nlunr.Set.complete = {\n intersect: function (other) {\n return other\n },\n\n union: function () {\n return this\n },\n\n contains: function () {\n return true\n }\n}\n\n/**\n * An empty set that contains no elements.\n *\n * @static\n * @readonly\n * @type {lunr.Set}\n */\nlunr.Set.empty = {\n intersect: function () {\n return this\n },\n\n union: function (other) {\n return other\n },\n\n contains: function () {\n return false\n }\n}\n\n/**\n * Returns true if this set contains the specified object.\n *\n * @param {object} object - Object whose presence in this set is to be tested.\n * @returns {boolean} - True if this set contains the specified object.\n */\nlunr.Set.prototype.contains = function (object) {\n return !!this.elements[object]\n}\n\n/**\n * Returns a new set containing only the elements that are present in both\n * this set and the specified set.\n *\n * @param {lunr.Set} other - set to intersect with this set.\n * @returns {lunr.Set} a new set that is the intersection of this and the specified set.\n */\n\nlunr.Set.prototype.intersect = function (other) {\n var a, b, elements, intersection = []\n\n if (other === lunr.Set.complete) {\n return this\n }\n\n if (other === lunr.Set.empty) {\n return other\n }\n\n if (this.length < other.length) {\n a = this\n b = other\n } else {\n a = other\n b = this\n }\n\n elements = Object.keys(a.elements)\n\n for (var i = 0; i < elements.length; i++) {\n var element = elements[i]\n if (element in b.elements) {\n intersection.push(element)\n }\n }\n\n return new lunr.Set (intersection)\n}\n\n/**\n * Returns a new set combining the elements of this and the specified set.\n *\n * @param {lunr.Set} other - set to union with this set.\n * @return {lunr.Set} a new set that is the union of this and the specified set.\n */\n\nlunr.Set.prototype.union = function (other) {\n if (other === lunr.Set.complete) {\n return lunr.Set.complete\n }\n\n if (other === lunr.Set.empty) {\n return this\n }\n\n return new lunr.Set(Object.keys(this.elements).concat(Object.keys(other.elements)))\n}\n/**\n * A function to calculate the inverse document frequency for\n * a posting. This is shared between the builder and the index\n *\n * @private\n * @param {object} posting - The posting for a given term\n * @param {number} documentCount - The total number of documents.\n */\nlunr.idf = function (posting, documentCount) {\n var documentsWithTerm = 0\n\n for (var fieldName in posting) {\n if (fieldName == '_index') continue // Ignore the term index, its not a field\n documentsWithTerm += Object.keys(posting[fieldName]).length\n }\n\n var x = (documentCount - documentsWithTerm + 0.5) / (documentsWithTerm + 0.5)\n\n return Math.log(1 + Math.abs(x))\n}\n\n/**\n * A token wraps a string representation of a token\n * as it is passed through the text processing pipeline.\n *\n * @constructor\n * @param {string} [str=''] - The string token being wrapped.\n * @param {object} [metadata={}] - Metadata associated with this token.\n */\nlunr.Token = function (str, metadata) {\n this.str = str || \"\"\n this.metadata = metadata || {}\n}\n\n/**\n * Returns the token string that is being wrapped by this object.\n *\n * @returns {string}\n */\nlunr.Token.prototype.toString = function () {\n return this.str\n}\n\n/**\n * A token update function is used when updating or optionally\n * when cloning a token.\n *\n * @callback lunr.Token~updateFunction\n * @param {string} str - The string representation of the token.\n * @param {Object} metadata - All metadata associated with this token.\n */\n\n/**\n * Applies the given function to the wrapped string token.\n *\n * @example\n * token.update(function (str, metadata) {\n * return str.toUpperCase()\n * })\n *\n * @param {lunr.Token~updateFunction} fn - A function to apply to the token string.\n * @returns {lunr.Token}\n */\nlunr.Token.prototype.update = function (fn) {\n this.str = fn(this.str, this.metadata)\n return this\n}\n\n/**\n * Creates a clone of this token. Optionally a function can be\n * applied to the cloned token.\n *\n * @param {lunr.Token~updateFunction} [fn] - An optional function to apply to the cloned token.\n * @returns {lunr.Token}\n */\nlunr.Token.prototype.clone = function (fn) {\n fn = fn || function (s) { return s }\n return new lunr.Token (fn(this.str, this.metadata), this.metadata)\n}\n/*!\n * lunr.tokenizer\n * Copyright (C) 2020 Oliver Nightingale\n */\n\n/**\n * A function for splitting a string into tokens ready to be inserted into\n * the search index. Uses `lunr.tokenizer.separator` to split strings, change\n * the value of this property to change how strings are split into tokens.\n *\n * This tokenizer will convert its parameter to a string by calling `toString` and\n * then will split this string on the character in `lunr.tokenizer.separator`.\n * Arrays will have their elements converted to strings and wrapped in a lunr.Token.\n *\n * Optional metadata can be passed to the tokenizer, this metadata will be cloned and\n * added as metadata to every token that is created from the object to be tokenized.\n *\n * @static\n * @param {?(string|object|object[])} obj - The object to convert into tokens\n * @param {?object} metadata - Optional metadata to associate with every token\n * @returns {lunr.Token[]}\n * @see {@link lunr.Pipeline}\n */\nlunr.tokenizer = function (obj, metadata) {\n if (obj == null || obj == undefined) {\n return []\n }\n\n if (Array.isArray(obj)) {\n return obj.map(function (t) {\n return new lunr.Token(\n lunr.utils.asString(t).toLowerCase(),\n lunr.utils.clone(metadata)\n )\n })\n }\n\n var str = obj.toString().toLowerCase(),\n len = str.length,\n tokens = []\n\n for (var sliceEnd = 0, sliceStart = 0; sliceEnd <= len; sliceEnd++) {\n var char = str.charAt(sliceEnd),\n sliceLength = sliceEnd - sliceStart\n\n if ((char.match(lunr.tokenizer.separator) || sliceEnd == len)) {\n\n if (sliceLength > 0) {\n var tokenMetadata = lunr.utils.clone(metadata) || {}\n tokenMetadata[\"position\"] = [sliceStart, sliceLength]\n tokenMetadata[\"index\"] = tokens.length\n\n tokens.push(\n new lunr.Token (\n str.slice(sliceStart, sliceEnd),\n tokenMetadata\n )\n )\n }\n\n sliceStart = sliceEnd + 1\n }\n\n }\n\n return tokens\n}\n\n/**\n * The separator used to split a string into tokens. Override this property to change the behaviour of\n * `lunr.tokenizer` behaviour when tokenizing strings. By default this splits on whitespace and hyphens.\n *\n * @static\n * @see lunr.tokenizer\n */\nlunr.tokenizer.separator = /[\\s\\-]+/\n/*!\n * lunr.Pipeline\n * Copyright (C) 2020 Oliver Nightingale\n */\n\n/**\n * lunr.Pipelines maintain an ordered list of functions to be applied to all\n * tokens in documents entering the search index and queries being ran against\n * the index.\n *\n * An instance of lunr.Index created with the lunr shortcut will contain a\n * pipeline with a stop word filter and an English language stemmer. Extra\n * functions can be added before or after either of these functions or these\n * default functions can be removed.\n *\n * When run the pipeline will call each function in turn, passing a token, the\n * index of that token in the original list of all tokens and finally a list of\n * all the original tokens.\n *\n * The output of functions in the pipeline will be passed to the next function\n * in the pipeline. To exclude a token from entering the index the function\n * should return undefined, the rest of the pipeline will not be called with\n * this token.\n *\n * For serialisation of pipelines to work, all functions used in an instance of\n * a pipeline should be registered with lunr.Pipeline. Registered functions can\n * then be loaded. If trying to load a serialised pipeline that uses functions\n * that are not registered an error will be thrown.\n *\n * If not planning on serialising the pipeline then registering pipeline functions\n * is not necessary.\n *\n * @constructor\n */\nlunr.Pipeline = function () {\n this._stack = []\n}\n\nlunr.Pipeline.registeredFunctions = Object.create(null)\n\n/**\n * A pipeline function maps lunr.Token to lunr.Token. A lunr.Token contains the token\n * string as well as all known metadata. A pipeline function can mutate the token string\n * or mutate (or add) metadata for a given token.\n *\n * A pipeline function can indicate that the passed token should be discarded by returning\n * null, undefined or an empty string. This token will not be passed to any downstream pipeline\n * functions and will not be added to the index.\n *\n * Multiple tokens can be returned by returning an array of tokens. Each token will be passed\n * to any downstream pipeline functions and all will returned tokens will be added to the index.\n *\n * Any number of pipeline functions may be chained together using a lunr.Pipeline.\n *\n * @interface lunr.PipelineFunction\n * @param {lunr.Token} token - A token from the document being processed.\n * @param {number} i - The index of this token in the complete list of tokens for this document/field.\n * @param {lunr.Token[]} tokens - All tokens for this document/field.\n * @returns {(?lunr.Token|lunr.Token[])}\n */\n\n/**\n * Register a function with the pipeline.\n *\n * Functions that are used in the pipeline should be registered if the pipeline\n * needs to be serialised, or a serialised pipeline needs to be loaded.\n *\n * Registering a function does not add it to a pipeline, functions must still be\n * added to instances of the pipeline for them to be used when running a pipeline.\n *\n * @param {lunr.PipelineFunction} fn - The function to check for.\n * @param {String} label - The label to register this function with\n */\nlunr.Pipeline.registerFunction = function (fn, label) {\n if (label in this.registeredFunctions) {\n lunr.utils.warn('Overwriting existing registered function: ' + label)\n }\n\n fn.label = label\n lunr.Pipeline.registeredFunctions[fn.label] = fn\n}\n\n/**\n * Warns if the function is not registered as a Pipeline function.\n *\n * @param {lunr.PipelineFunction} fn - The function to check for.\n * @private\n */\nlunr.Pipeline.warnIfFunctionNotRegistered = function (fn) {\n var isRegistered = fn.label && (fn.label in this.registeredFunctions)\n\n if (!isRegistered) {\n lunr.utils.warn('Function is not registered with pipeline. This may cause problems when serialising the index.\\n', fn)\n }\n}\n\n/**\n * Loads a previously serialised pipeline.\n *\n * All functions to be loaded must already be registered with lunr.Pipeline.\n * If any function from the serialised data has not been registered then an\n * error will be thrown.\n *\n * @param {Object} serialised - The serialised pipeline to load.\n * @returns {lunr.Pipeline}\n */\nlunr.Pipeline.load = function (serialised) {\n var pipeline = new lunr.Pipeline\n\n serialised.forEach(function (fnName) {\n var fn = lunr.Pipeline.registeredFunctions[fnName]\n\n if (fn) {\n pipeline.add(fn)\n } else {\n throw new Error('Cannot load unregistered function: ' + fnName)\n }\n })\n\n return pipeline\n}\n\n/**\n * Adds new functions to the end of the pipeline.\n *\n * Logs a warning if the function has not been registered.\n *\n * @param {lunr.PipelineFunction[]} functions - Any number of functions to add to the pipeline.\n */\nlunr.Pipeline.prototype.add = function () {\n var fns = Array.prototype.slice.call(arguments)\n\n fns.forEach(function (fn) {\n lunr.Pipeline.warnIfFunctionNotRegistered(fn)\n this._stack.push(fn)\n }, this)\n}\n\n/**\n * Adds a single function after a function that already exists in the\n * pipeline.\n *\n * Logs a warning if the function has not been registered.\n *\n * @param {lunr.PipelineFunction} existingFn - A function that already exists in the pipeline.\n * @param {lunr.PipelineFunction} newFn - The new function to add to the pipeline.\n */\nlunr.Pipeline.prototype.after = function (existingFn, newFn) {\n lunr.Pipeline.warnIfFunctionNotRegistered(newFn)\n\n var pos = this._stack.indexOf(existingFn)\n if (pos == -1) {\n throw new Error('Cannot find existingFn')\n }\n\n pos = pos + 1\n this._stack.splice(pos, 0, newFn)\n}\n\n/**\n * Adds a single function before a function that already exists in the\n * pipeline.\n *\n * Logs a warning if the function has not been registered.\n *\n * @param {lunr.PipelineFunction} existingFn - A function that already exists in the pipeline.\n * @param {lunr.PipelineFunction} newFn - The new function to add to the pipeline.\n */\nlunr.Pipeline.prototype.before = function (existingFn, newFn) {\n lunr.Pipeline.warnIfFunctionNotRegistered(newFn)\n\n var pos = this._stack.indexOf(existingFn)\n if (pos == -1) {\n throw new Error('Cannot find existingFn')\n }\n\n this._stack.splice(pos, 0, newFn)\n}\n\n/**\n * Removes a function from the pipeline.\n *\n * @param {lunr.PipelineFunction} fn The function to remove from the pipeline.\n */\nlunr.Pipeline.prototype.remove = function (fn) {\n var pos = this._stack.indexOf(fn)\n if (pos == -1) {\n return\n }\n\n this._stack.splice(pos, 1)\n}\n\n/**\n * Runs the current list of functions that make up the pipeline against the\n * passed tokens.\n *\n * @param {Array} tokens The tokens to run through the pipeline.\n * @returns {Array}\n */\nlunr.Pipeline.prototype.run = function (tokens) {\n var stackLength = this._stack.length\n\n for (var i = 0; i < stackLength; i++) {\n var fn = this._stack[i]\n var memo = []\n\n for (var j = 0; j < tokens.length; j++) {\n var result = fn(tokens[j], j, tokens)\n\n if (result === null || result === void 0 || result === '') continue\n\n if (Array.isArray(result)) {\n for (var k = 0; k < result.length; k++) {\n memo.push(result[k])\n }\n } else {\n memo.push(result)\n }\n }\n\n tokens = memo\n }\n\n return tokens\n}\n\n/**\n * Convenience method for passing a string through a pipeline and getting\n * strings out. This method takes care of wrapping the passed string in a\n * token and mapping the resulting tokens back to strings.\n *\n * @param {string} str - The string to pass through the pipeline.\n * @param {?object} metadata - Optional metadata to associate with the token\n * passed to the pipeline.\n * @returns {string[]}\n */\nlunr.Pipeline.prototype.runString = function (str, metadata) {\n var token = new lunr.Token (str, metadata)\n\n return this.run([token]).map(function (t) {\n return t.toString()\n })\n}\n\n/**\n * Resets the pipeline by removing any existing processors.\n *\n */\nlunr.Pipeline.prototype.reset = function () {\n this._stack = []\n}\n\n/**\n * Returns a representation of the pipeline ready for serialisation.\n *\n * Logs a warning if the function has not been registered.\n *\n * @returns {Array}\n */\nlunr.Pipeline.prototype.toJSON = function () {\n return this._stack.map(function (fn) {\n lunr.Pipeline.warnIfFunctionNotRegistered(fn)\n\n return fn.label\n })\n}\n/*!\n * lunr.Vector\n * Copyright (C) 2020 Oliver Nightingale\n */\n\n/**\n * A vector is used to construct the vector space of documents and queries. These\n * vectors support operations to determine the similarity between two documents or\n * a document and a query.\n *\n * Normally no parameters are required for initializing a vector, but in the case of\n * loading a previously dumped vector the raw elements can be provided to the constructor.\n *\n * For performance reasons vectors are implemented with a flat array, where an elements\n * index is immediately followed by its value. E.g. [index, value, index, value]. This\n * allows the underlying array to be as sparse as possible and still offer decent\n * performance when being used for vector calculations.\n *\n * @constructor\n * @param {Number[]} [elements] - The flat list of element index and element value pairs.\n */\nlunr.Vector = function (elements) {\n this._magnitude = 0\n this.elements = elements || []\n}\n\n\n/**\n * Calculates the position within the vector to insert a given index.\n *\n * This is used internally by insert and upsert. If there are duplicate indexes then\n * the position is returned as if the value for that index were to be updated, but it\n * is the callers responsibility to check whether there is a duplicate at that index\n *\n * @param {Number} insertIdx - The index at which the element should be inserted.\n * @returns {Number}\n */\nlunr.Vector.prototype.positionForIndex = function (index) {\n // For an empty vector the tuple can be inserted at the beginning\n if (this.elements.length == 0) {\n return 0\n }\n\n var start = 0,\n end = this.elements.length / 2,\n sliceLength = end - start,\n pivotPoint = Math.floor(sliceLength / 2),\n pivotIndex = this.elements[pivotPoint * 2]\n\n while (sliceLength > 1) {\n if (pivotIndex < index) {\n start = pivotPoint\n }\n\n if (pivotIndex > index) {\n end = pivotPoint\n }\n\n if (pivotIndex == index) {\n break\n }\n\n sliceLength = end - start\n pivotPoint = start + Math.floor(sliceLength / 2)\n pivotIndex = this.elements[pivotPoint * 2]\n }\n\n if (pivotIndex == index) {\n return pivotPoint * 2\n }\n\n if (pivotIndex > index) {\n return pivotPoint * 2\n }\n\n if (pivotIndex < index) {\n return (pivotPoint + 1) * 2\n }\n}\n\n/**\n * Inserts an element at an index within the vector.\n *\n * Does not allow duplicates, will throw an error if there is already an entry\n * for this index.\n *\n * @param {Number} insertIdx - The index at which the element should be inserted.\n * @param {Number} val - The value to be inserted into the vector.\n */\nlunr.Vector.prototype.insert = function (insertIdx, val) {\n this.upsert(insertIdx, val, function () {\n throw \"duplicate index\"\n })\n}\n\n/**\n * Inserts or updates an existing index within the vector.\n *\n * @param {Number} insertIdx - The index at which the element should be inserted.\n * @param {Number} val - The value to be inserted into the vector.\n * @param {function} fn - A function that is called for updates, the existing value and the\n * requested value are passed as arguments\n */\nlunr.Vector.prototype.upsert = function (insertIdx, val, fn) {\n this._magnitude = 0\n var position = this.positionForIndex(insertIdx)\n\n if (this.elements[position] == insertIdx) {\n this.elements[position + 1] = fn(this.elements[position + 1], val)\n } else {\n this.elements.splice(position, 0, insertIdx, val)\n }\n}\n\n/**\n * Calculates the magnitude of this vector.\n *\n * @returns {Number}\n */\nlunr.Vector.prototype.magnitude = function () {\n if (this._magnitude) return this._magnitude\n\n var sumOfSquares = 0,\n elementsLength = this.elements.length\n\n for (var i = 1; i < elementsLength; i += 2) {\n var val = this.elements[i]\n sumOfSquares += val * val\n }\n\n return this._magnitude = Math.sqrt(sumOfSquares)\n}\n\n/**\n * Calculates the dot product of this vector and another vector.\n *\n * @param {lunr.Vector} otherVector - The vector to compute the dot product with.\n * @returns {Number}\n */\nlunr.Vector.prototype.dot = function (otherVector) {\n var dotProduct = 0,\n a = this.elements, b = otherVector.elements,\n aLen = a.length, bLen = b.length,\n aVal = 0, bVal = 0,\n i = 0, j = 0\n\n while (i < aLen && j < bLen) {\n aVal = a[i], bVal = b[j]\n if (aVal < bVal) {\n i += 2\n } else if (aVal > bVal) {\n j += 2\n } else if (aVal == bVal) {\n dotProduct += a[i + 1] * b[j + 1]\n i += 2\n j += 2\n }\n }\n\n return dotProduct\n}\n\n/**\n * Calculates the similarity between this vector and another vector.\n *\n * @param {lunr.Vector} otherVector - The other vector to calculate the\n * similarity with.\n * @returns {Number}\n */\nlunr.Vector.prototype.similarity = function (otherVector) {\n return this.dot(otherVector) / this.magnitude() || 0\n}\n\n/**\n * Converts the vector to an array of the elements within the vector.\n *\n * @returns {Number[]}\n */\nlunr.Vector.prototype.toArray = function () {\n var output = new Array (this.elements.length / 2)\n\n for (var i = 1, j = 0; i < this.elements.length; i += 2, j++) {\n output[j] = this.elements[i]\n }\n\n return output\n}\n\n/**\n * A JSON serializable representation of the vector.\n *\n * @returns {Number[]}\n */\nlunr.Vector.prototype.toJSON = function () {\n return this.elements\n}\n/* eslint-disable */\n/*!\n * lunr.stemmer\n * Copyright (C) 2020 Oliver Nightingale\n * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt\n */\n\n/**\n * lunr.stemmer is an english language stemmer, this is a JavaScript\n * implementation of the PorterStemmer taken from http://tartarus.org/~martin\n *\n * @static\n * @implements {lunr.PipelineFunction}\n * @param {lunr.Token} token - The string to stem\n * @returns {lunr.Token}\n * @see {@link lunr.Pipeline}\n * @function\n */\nlunr.stemmer = (function(){\n var step2list = {\n \"ational\" : \"ate\",\n \"tional\" : \"tion\",\n \"enci\" : \"ence\",\n \"anci\" : \"ance\",\n \"izer\" : \"ize\",\n \"bli\" : \"ble\",\n \"alli\" : \"al\",\n \"entli\" : \"ent\",\n \"eli\" : \"e\",\n \"ousli\" : \"ous\",\n \"ization\" : \"ize\",\n \"ation\" : \"ate\",\n \"ator\" : \"ate\",\n \"alism\" : \"al\",\n \"iveness\" : \"ive\",\n \"fulness\" : \"ful\",\n \"ousness\" : \"ous\",\n \"aliti\" : \"al\",\n \"iviti\" : \"ive\",\n \"biliti\" : \"ble\",\n \"logi\" : \"log\"\n },\n\n step3list = {\n \"icate\" : \"ic\",\n \"ative\" : \"\",\n \"alize\" : \"al\",\n \"iciti\" : \"ic\",\n \"ical\" : \"ic\",\n \"ful\" : \"\",\n \"ness\" : \"\"\n },\n\n c = \"[^aeiou]\", // consonant\n v = \"[aeiouy]\", // vowel\n C = c + \"[^aeiouy]*\", // consonant sequence\n V = v + \"[aeiou]*\", // vowel sequence\n\n mgr0 = \"^(\" + C + \")?\" + V + C, // [C]VC... is m>0\n meq1 = \"^(\" + C + \")?\" + V + C + \"(\" + V + \")?$\", // [C]VC[V] is m=1\n mgr1 = \"^(\" + C + \")?\" + V + C + V + C, // [C]VCVC... is m>1\n s_v = \"^(\" + C + \")?\" + v; // vowel in stem\n\n var re_mgr0 = new RegExp(mgr0);\n var re_mgr1 = new RegExp(mgr1);\n var re_meq1 = new RegExp(meq1);\n var re_s_v = new RegExp(s_v);\n\n var re_1a = /^(.+?)(ss|i)es$/;\n var re2_1a = /^(.+?)([^s])s$/;\n var re_1b = /^(.+?)eed$/;\n var re2_1b = /^(.+?)(ed|ing)$/;\n var re_1b_2 = /.$/;\n var re2_1b_2 = /(at|bl|iz)$/;\n var re3_1b_2 = new RegExp(\"([^aeiouylsz])\\\\1$\");\n var re4_1b_2 = new RegExp(\"^\" + C + v + \"[^aeiouwxy]$\");\n\n var re_1c = /^(.+?[^aeiou])y$/;\n var re_2 = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/;\n\n var re_3 = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/;\n\n var re_4 = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/;\n var re2_4 = /^(.+?)(s|t)(ion)$/;\n\n var re_5 = /^(.+?)e$/;\n var re_5_1 = /ll$/;\n var re3_5 = new RegExp(\"^\" + C + v + \"[^aeiouwxy]$\");\n\n var porterStemmer = function porterStemmer(w) {\n var stem,\n suffix,\n firstch,\n re,\n re2,\n re3,\n re4;\n\n if (w.length < 3) { return w; }\n\n firstch = w.substr(0,1);\n if (firstch == \"y\") {\n w = firstch.toUpperCase() + w.substr(1);\n }\n\n // Step 1a\n re = re_1a\n re2 = re2_1a;\n\n if (re.test(w)) { w = w.replace(re,\"$1$2\"); }\n else if (re2.test(w)) { w = w.replace(re2,\"$1$2\"); }\n\n // Step 1b\n re = re_1b;\n re2 = re2_1b;\n if (re.test(w)) {\n var fp = re.exec(w);\n re = re_mgr0;\n if (re.test(fp[1])) {\n re = re_1b_2;\n w = w.replace(re,\"\");\n }\n } else if (re2.test(w)) {\n var fp = re2.exec(w);\n stem = fp[1];\n re2 = re_s_v;\n if (re2.test(stem)) {\n w = stem;\n re2 = re2_1b_2;\n re3 = re3_1b_2;\n re4 = re4_1b_2;\n if (re2.test(w)) { w = w + \"e\"; }\n else if (re3.test(w)) { re = re_1b_2; w = w.replace(re,\"\"); }\n else if (re4.test(w)) { w = w + \"e\"; }\n }\n }\n\n // Step 1c - replace suffix y or Y by i if preceded by a non-vowel which is not the first letter of the word (so cry -> cri, by -> by, say -> say)\n re = re_1c;\n if (re.test(w)) {\n var fp = re.exec(w);\n stem = fp[1];\n w = stem + \"i\";\n }\n\n // Step 2\n re = re_2;\n if (re.test(w)) {\n var fp = re.exec(w);\n stem = fp[1];\n suffix = fp[2];\n re = re_mgr0;\n if (re.test(stem)) {\n w = stem + step2list[suffix];\n }\n }\n\n // Step 3\n re = re_3;\n if (re.test(w)) {\n var fp = re.exec(w);\n stem = fp[1];\n suffix = fp[2];\n re = re_mgr0;\n if (re.test(stem)) {\n w = stem + step3list[suffix];\n }\n }\n\n // Step 4\n re = re_4;\n re2 = re2_4;\n if (re.test(w)) {\n var fp = re.exec(w);\n stem = fp[1];\n re = re_mgr1;\n if (re.test(stem)) {\n w = stem;\n }\n } else if (re2.test(w)) {\n var fp = re2.exec(w);\n stem = fp[1] + fp[2];\n re2 = re_mgr1;\n if (re2.test(stem)) {\n w = stem;\n }\n }\n\n // Step 5\n re = re_5;\n if (re.test(w)) {\n var fp = re.exec(w);\n stem = fp[1];\n re = re_mgr1;\n re2 = re_meq1;\n re3 = re3_5;\n if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) {\n w = stem;\n }\n }\n\n re = re_5_1;\n re2 = re_mgr1;\n if (re.test(w) && re2.test(w)) {\n re = re_1b_2;\n w = w.replace(re,\"\");\n }\n\n // and turn initial Y back to y\n\n if (firstch == \"y\") {\n w = firstch.toLowerCase() + w.substr(1);\n }\n\n return w;\n };\n\n return function (token) {\n return token.update(porterStemmer);\n }\n})();\n\nlunr.Pipeline.registerFunction(lunr.stemmer, 'stemmer')\n/*!\n * lunr.stopWordFilter\n * Copyright (C) 2020 Oliver Nightingale\n */\n\n/**\n * lunr.generateStopWordFilter builds a stopWordFilter function from the provided\n * list of stop words.\n *\n * The built in lunr.stopWordFilter is built using this generator and can be used\n * to generate custom stopWordFilters for applications or non English languages.\n *\n * @function\n * @param {Array} token The token to pass through the filter\n * @returns {lunr.PipelineFunction}\n * @see lunr.Pipeline\n * @see lunr.stopWordFilter\n */\nlunr.generateStopWordFilter = function (stopWords) {\n var words = stopWords.reduce(function (memo, stopWord) {\n memo[stopWord] = stopWord\n return memo\n }, {})\n\n return function (token) {\n if (token && words[token.toString()] !== token.toString()) return token\n }\n}\n\n/**\n * lunr.stopWordFilter is an English language stop word list filter, any words\n * contained in the list will not be passed through the filter.\n *\n * This is intended to be used in the Pipeline. If the token does not pass the\n * filter then undefined will be returned.\n *\n * @function\n * @implements {lunr.PipelineFunction}\n * @params {lunr.Token} token - A token to check for being a stop word.\n * @returns {lunr.Token}\n * @see {@link lunr.Pipeline}\n */\nlunr.stopWordFilter = lunr.generateStopWordFilter([\n 'a',\n 'able',\n 'about',\n 'across',\n 'after',\n 'all',\n 'almost',\n 'also',\n 'am',\n 'among',\n 'an',\n 'and',\n 'any',\n 'are',\n 'as',\n 'at',\n 'be',\n 'because',\n 'been',\n 'but',\n 'by',\n 'can',\n 'cannot',\n 'could',\n 'dear',\n 'did',\n 'do',\n 'does',\n 'either',\n 'else',\n 'ever',\n 'every',\n 'for',\n 'from',\n 'get',\n 'got',\n 'had',\n 'has',\n 'have',\n 'he',\n 'her',\n 'hers',\n 'him',\n 'his',\n 'how',\n 'however',\n 'i',\n 'if',\n 'in',\n 'into',\n 'is',\n 'it',\n 'its',\n 'just',\n 'least',\n 'let',\n 'like',\n 'likely',\n 'may',\n 'me',\n 'might',\n 'most',\n 'must',\n 'my',\n 'neither',\n 'no',\n 'nor',\n 'not',\n 'of',\n 'off',\n 'often',\n 'on',\n 'only',\n 'or',\n 'other',\n 'our',\n 'own',\n 'rather',\n 'said',\n 'say',\n 'says',\n 'she',\n 'should',\n 'since',\n 'so',\n 'some',\n 'than',\n 'that',\n 'the',\n 'their',\n 'them',\n 'then',\n 'there',\n 'these',\n 'they',\n 'this',\n 'tis',\n 'to',\n 'too',\n 'twas',\n 'us',\n 'wants',\n 'was',\n 'we',\n 'were',\n 'what',\n 'when',\n 'where',\n 'which',\n 'while',\n 'who',\n 'whom',\n 'why',\n 'will',\n 'with',\n 'would',\n 'yet',\n 'you',\n 'your'\n])\n\nlunr.Pipeline.registerFunction(lunr.stopWordFilter, 'stopWordFilter')\n/*!\n * lunr.trimmer\n * Copyright (C) 2020 Oliver Nightingale\n */\n\n/**\n * lunr.trimmer is a pipeline function for trimming non word\n * characters from the beginning and end of tokens before they\n * enter the index.\n *\n * This implementation may not work correctly for non latin\n * characters and should either be removed or adapted for use\n * with languages with non-latin characters.\n *\n * @static\n * @implements {lunr.PipelineFunction}\n * @param {lunr.Token} token The token to pass through the filter\n * @returns {lunr.Token}\n * @see lunr.Pipeline\n */\nlunr.trimmer = function (token) {\n return token.update(function (s) {\n return s.replace(/^\\W+/, '').replace(/\\W+$/, '')\n })\n}\n\nlunr.Pipeline.registerFunction(lunr.trimmer, 'trimmer')\n/*!\n * lunr.TokenSet\n * Copyright (C) 2020 Oliver Nightingale\n */\n\n/**\n * A token set is used to store the unique list of all tokens\n * within an index. Token sets are also used to represent an\n * incoming query to the index, this query token set and index\n * token set are then intersected to find which tokens to look\n * up in the inverted index.\n *\n * A token set can hold multiple tokens, as in the case of the\n * index token set, or it can hold a single token as in the\n * case of a simple query token set.\n *\n * Additionally token sets are used to perform wildcard matching.\n * Leading, contained and trailing wildcards are supported, and\n * from this edit distance matching can also be provided.\n *\n * Token sets are implemented as a minimal finite state automata,\n * where both common prefixes and suffixes are shared between tokens.\n * This helps to reduce the space used for storing the token set.\n *\n * @constructor\n */\nlunr.TokenSet = function () {\n this.final = false\n this.edges = {}\n this.id = lunr.TokenSet._nextId\n lunr.TokenSet._nextId += 1\n}\n\n/**\n * Keeps track of the next, auto increment, identifier to assign\n * to a new tokenSet.\n *\n * TokenSets require a unique identifier to be correctly minimised.\n *\n * @private\n */\nlunr.TokenSet._nextId = 1\n\n/**\n * Creates a TokenSet instance from the given sorted array of words.\n *\n * @param {String[]} arr - A sorted array of strings to create the set from.\n * @returns {lunr.TokenSet}\n * @throws Will throw an error if the input array is not sorted.\n */\nlunr.TokenSet.fromArray = function (arr) {\n var builder = new lunr.TokenSet.Builder\n\n for (var i = 0, len = arr.length; i < len; i++) {\n builder.insert(arr[i])\n }\n\n builder.finish()\n return builder.root\n}\n\n/**\n * Creates a token set from a query clause.\n *\n * @private\n * @param {Object} clause - A single clause from lunr.Query.\n * @param {string} clause.term - The query clause term.\n * @param {number} [clause.editDistance] - The optional edit distance for the term.\n * @returns {lunr.TokenSet}\n */\nlunr.TokenSet.fromClause = function (clause) {\n if ('editDistance' in clause) {\n return lunr.TokenSet.fromFuzzyString(clause.term, clause.editDistance)\n } else {\n return lunr.TokenSet.fromString(clause.term)\n }\n}\n\n/**\n * Creates a token set representing a single string with a specified\n * edit distance.\n *\n * Insertions, deletions, substitutions and transpositions are each\n * treated as an edit distance of 1.\n *\n * Increasing the allowed edit distance will have a dramatic impact\n * on the performance of both creating and intersecting these TokenSets.\n * It is advised to keep the edit distance less than 3.\n *\n * @param {string} str - The string to create the token set from.\n * @param {number} editDistance - The allowed edit distance to match.\n * @returns {lunr.Vector}\n */\nlunr.TokenSet.fromFuzzyString = function (str, editDistance) {\n var root = new lunr.TokenSet\n\n var stack = [{\n node: root,\n editsRemaining: editDistance,\n str: str\n }]\n\n while (stack.length) {\n var frame = stack.pop()\n\n // no edit\n if (frame.str.length > 0) {\n var char = frame.str.charAt(0),\n noEditNode\n\n if (char in frame.node.edges) {\n noEditNode = frame.node.edges[char]\n } else {\n noEditNode = new lunr.TokenSet\n frame.node.edges[char] = noEditNode\n }\n\n if (frame.str.length == 1) {\n noEditNode.final = true\n }\n\n stack.push({\n node: noEditNode,\n editsRemaining: frame.editsRemaining,\n str: frame.str.slice(1)\n })\n }\n\n if (frame.editsRemaining == 0) {\n continue\n }\n\n // insertion\n if (\"*\" in frame.node.edges) {\n var insertionNode = frame.node.edges[\"*\"]\n } else {\n var insertionNode = new lunr.TokenSet\n frame.node.edges[\"*\"] = insertionNode\n }\n\n if (frame.str.length == 0) {\n insertionNode.final = true\n }\n\n stack.push({\n node: insertionNode,\n editsRemaining: frame.editsRemaining - 1,\n str: frame.str\n })\n\n // deletion\n // can only do a deletion if we have enough edits remaining\n // and if there are characters left to delete in the string\n if (frame.str.length > 1) {\n stack.push({\n node: frame.node,\n editsRemaining: frame.editsRemaining - 1,\n str: frame.str.slice(1)\n })\n }\n\n // deletion\n // just removing the last character from the str\n if (frame.str.length == 1) {\n frame.node.final = true\n }\n\n // substitution\n // can only do a substitution if we have enough edits remaining\n // and if there are characters left to substitute\n if (frame.str.length >= 1) {\n if (\"*\" in frame.node.edges) {\n var substitutionNode = frame.node.edges[\"*\"]\n } else {\n var substitutionNode = new lunr.TokenSet\n frame.node.edges[\"*\"] = substitutionNode\n }\n\n if (frame.str.length == 1) {\n substitutionNode.final = true\n }\n\n stack.push({\n node: substitutionNode,\n editsRemaining: frame.editsRemaining - 1,\n str: frame.str.slice(1)\n })\n }\n\n // transposition\n // can only do a transposition if there are edits remaining\n // and there are enough characters to transpose\n if (frame.str.length > 1) {\n var charA = frame.str.charAt(0),\n charB = frame.str.charAt(1),\n transposeNode\n\n if (charB in frame.node.edges) {\n transposeNode = frame.node.edges[charB]\n } else {\n transposeNode = new lunr.TokenSet\n frame.node.edges[charB] = transposeNode\n }\n\n if (frame.str.length == 1) {\n transposeNode.final = true\n }\n\n stack.push({\n node: transposeNode,\n editsRemaining: frame.editsRemaining - 1,\n str: charA + frame.str.slice(2)\n })\n }\n }\n\n return root\n}\n\n/**\n * Creates a TokenSet from a string.\n *\n * The string may contain one or more wildcard characters (*)\n * that will allow wildcard matching when intersecting with\n * another TokenSet.\n *\n * @param {string} str - The string to create a TokenSet from.\n * @returns {lunr.TokenSet}\n */\nlunr.TokenSet.fromString = function (str) {\n var node = new lunr.TokenSet,\n root = node\n\n /*\n * Iterates through all characters within the passed string\n * appending a node for each character.\n *\n * When a wildcard character is found then a self\n * referencing edge is introduced to continually match\n * any number of any characters.\n */\n for (var i = 0, len = str.length; i < len; i++) {\n var char = str[i],\n final = (i == len - 1)\n\n if (char == \"*\") {\n node.edges[char] = node\n node.final = final\n\n } else {\n var next = new lunr.TokenSet\n next.final = final\n\n node.edges[char] = next\n node = next\n }\n }\n\n return root\n}\n\n/**\n * Converts this TokenSet into an array of strings\n * contained within the TokenSet.\n *\n * This is not intended to be used on a TokenSet that\n * contains wildcards, in these cases the results are\n * undefined and are likely to cause an infinite loop.\n *\n * @returns {string[]}\n */\nlunr.TokenSet.prototype.toArray = function () {\n var words = []\n\n var stack = [{\n prefix: \"\",\n node: this\n }]\n\n while (stack.length) {\n var frame = stack.pop(),\n edges = Object.keys(frame.node.edges),\n len = edges.length\n\n if (frame.node.final) {\n /* In Safari, at this point the prefix is sometimes corrupted, see:\n * https://github.com/olivernn/lunr.js/issues/279 Calling any\n * String.prototype method forces Safari to \"cast\" this string to what\n * it's supposed to be, fixing the bug. */\n frame.prefix.charAt(0)\n words.push(frame.prefix)\n }\n\n for (var i = 0; i < len; i++) {\n var edge = edges[i]\n\n stack.push({\n prefix: frame.prefix.concat(edge),\n node: frame.node.edges[edge]\n })\n }\n }\n\n return words\n}\n\n/**\n * Generates a string representation of a TokenSet.\n *\n * This is intended to allow TokenSets to be used as keys\n * in objects, largely to aid the construction and minimisation\n * of a TokenSet. As such it is not designed to be a human\n * friendly representation of the TokenSet.\n *\n * @returns {string}\n */\nlunr.TokenSet.prototype.toString = function () {\n // NOTE: Using Object.keys here as this.edges is very likely\n // to enter 'hash-mode' with many keys being added\n //\n // avoiding a for-in loop here as it leads to the function\n // being de-optimised (at least in V8). From some simple\n // benchmarks the performance is comparable, but allowing\n // V8 to optimize may mean easy performance wins in the future.\n\n if (this._str) {\n return this._str\n }\n\n var str = this.final ? '1' : '0',\n labels = Object.keys(this.edges).sort(),\n len = labels.length\n\n for (var i = 0; i < len; i++) {\n var label = labels[i],\n node = this.edges[label]\n\n str = str + label + node.id\n }\n\n return str\n}\n\n/**\n * Returns a new TokenSet that is the intersection of\n * this TokenSet and the passed TokenSet.\n *\n * This intersection will take into account any wildcards\n * contained within the TokenSet.\n *\n * @param {lunr.TokenSet} b - An other TokenSet to intersect with.\n * @returns {lunr.TokenSet}\n */\nlunr.TokenSet.prototype.intersect = function (b) {\n var output = new lunr.TokenSet,\n frame = undefined\n\n var stack = [{\n qNode: b,\n output: output,\n node: this\n }]\n\n while (stack.length) {\n frame = stack.pop()\n\n // NOTE: As with the #toString method, we are using\n // Object.keys and a for loop instead of a for-in loop\n // as both of these objects enter 'hash' mode, causing\n // the function to be de-optimised in V8\n var qEdges = Object.keys(frame.qNode.edges),\n qLen = qEdges.length,\n nEdges = Object.keys(frame.node.edges),\n nLen = nEdges.length\n\n for (var q = 0; q < qLen; q++) {\n var qEdge = qEdges[q]\n\n for (var n = 0; n < nLen; n++) {\n var nEdge = nEdges[n]\n\n if (nEdge == qEdge || qEdge == '*') {\n var node = frame.node.edges[nEdge],\n qNode = frame.qNode.edges[qEdge],\n final = node.final && qNode.final,\n next = undefined\n\n if (nEdge in frame.output.edges) {\n // an edge already exists for this character\n // no need to create a new node, just set the finality\n // bit unless this node is already final\n next = frame.output.edges[nEdge]\n next.final = next.final || final\n\n } else {\n // no edge exists yet, must create one\n // set the finality bit and insert it\n // into the output\n next = new lunr.TokenSet\n next.final = final\n frame.output.edges[nEdge] = next\n }\n\n stack.push({\n qNode: qNode,\n output: next,\n node: node\n })\n }\n }\n }\n }\n\n return output\n}\nlunr.TokenSet.Builder = function () {\n this.previousWord = \"\"\n this.root = new lunr.TokenSet\n this.uncheckedNodes = []\n this.minimizedNodes = {}\n}\n\nlunr.TokenSet.Builder.prototype.insert = function (word) {\n var node,\n commonPrefix = 0\n\n if (word < this.previousWord) {\n throw new Error (\"Out of order word insertion\")\n }\n\n for (var i = 0; i < word.length && i < this.previousWord.length; i++) {\n if (word[i] != this.previousWord[i]) break\n commonPrefix++\n }\n\n this.minimize(commonPrefix)\n\n if (this.uncheckedNodes.length == 0) {\n node = this.root\n } else {\n node = this.uncheckedNodes[this.uncheckedNodes.length - 1].child\n }\n\n for (var i = commonPrefix; i < word.length; i++) {\n var nextNode = new lunr.TokenSet,\n char = word[i]\n\n node.edges[char] = nextNode\n\n this.uncheckedNodes.push({\n parent: node,\n char: char,\n child: nextNode\n })\n\n node = nextNode\n }\n\n node.final = true\n this.previousWord = word\n}\n\nlunr.TokenSet.Builder.prototype.finish = function () {\n this.minimize(0)\n}\n\nlunr.TokenSet.Builder.prototype.minimize = function (downTo) {\n for (var i = this.uncheckedNodes.length - 1; i >= downTo; i--) {\n var node = this.uncheckedNodes[i],\n childKey = node.child.toString()\n\n if (childKey in this.minimizedNodes) {\n node.parent.edges[node.char] = this.minimizedNodes[childKey]\n } else {\n // Cache the key for this node since\n // we know it can't change anymore\n node.child._str = childKey\n\n this.minimizedNodes[childKey] = node.child\n }\n\n this.uncheckedNodes.pop()\n }\n}\n/*!\n * lunr.Index\n * Copyright (C) 2020 Oliver Nightingale\n */\n\n/**\n * An index contains the built index of all documents and provides a query interface\n * to the index.\n *\n * Usually instances of lunr.Index will not be created using this constructor, instead\n * lunr.Builder should be used to construct new indexes, or lunr.Index.load should be\n * used to load previously built and serialized indexes.\n *\n * @constructor\n * @param {Object} attrs - The attributes of the built search index.\n * @param {Object} attrs.invertedIndex - An index of term/field to document reference.\n * @param {Object} attrs.fieldVectors - Field vectors\n * @param {lunr.TokenSet} attrs.tokenSet - An set of all corpus tokens.\n * @param {string[]} attrs.fields - The names of indexed document fields.\n * @param {lunr.Pipeline} attrs.pipeline - The pipeline to use for search terms.\n */\nlunr.Index = function (attrs) {\n this.invertedIndex = attrs.invertedIndex\n this.fieldVectors = attrs.fieldVectors\n this.tokenSet = attrs.tokenSet\n this.fields = attrs.fields\n this.pipeline = attrs.pipeline\n}\n\n/**\n * A result contains details of a document matching a search query.\n * @typedef {Object} lunr.Index~Result\n * @property {string} ref - The reference of the document this result represents.\n * @property {number} score - A number between 0 and 1 representing how similar this document is to the query.\n * @property {lunr.MatchData} matchData - Contains metadata about this match including which term(s) caused the match.\n */\n\n/**\n * Although lunr provides the ability to create queries using lunr.Query, it also provides a simple\n * query language which itself is parsed into an instance of lunr.Query.\n *\n * For programmatically building queries it is advised to directly use lunr.Query, the query language\n * is best used for human entered text rather than program generated text.\n *\n * At its simplest queries can just be a single term, e.g. `hello`, multiple terms are also supported\n * and will be combined with OR, e.g `hello world` will match documents that contain either 'hello'\n * or 'world', though those that contain both will rank higher in the results.\n *\n * Wildcards can be included in terms to match one or more unspecified characters, these wildcards can\n * be inserted anywhere within the term, and more than one wildcard can exist in a single term. Adding\n * wildcards will increase the number of documents that will be found but can also have a negative\n * impact on query performance, especially with wildcards at the beginning of a term.\n *\n * Terms can be restricted to specific fields, e.g. `title:hello`, only documents with the term\n * hello in the title field will match this query. Using a field not present in the index will lead\n * to an error being thrown.\n *\n * Modifiers can also be added to terms, lunr supports edit distance and boost modifiers on terms. A term\n * boost will make documents matching that term score higher, e.g. `foo^5`. Edit distance is also supported\n * to provide fuzzy matching, e.g. 'hello~2' will match documents with hello with an edit distance of 2.\n * Avoid large values for edit distance to improve query performance.\n *\n * Each term also supports a presence modifier. By default a term's presence in document is optional, however\n * this can be changed to either required or prohibited. For a term's presence to be required in a document the\n * term should be prefixed with a '+', e.g. `+foo bar` is a search for documents that must contain 'foo' and\n * optionally contain 'bar'. Conversely a leading '-' sets the terms presence to prohibited, i.e. it must not\n * appear in a document, e.g. `-foo bar` is a search for documents that do not contain 'foo' but may contain 'bar'.\n *\n * To escape special characters the backslash character '\\' can be used, this allows searches to include\n * characters that would normally be considered modifiers, e.g. `foo\\~2` will search for a term \"foo~2\" instead\n * of attempting to apply a boost of 2 to the search term \"foo\".\n *\n * @typedef {string} lunr.Index~QueryString\n * @example Simple single term query\n * hello\n * @example Multiple term query\n * hello world\n * @example term scoped to a field\n * title:hello\n * @example term with a boost of 10\n * hello^10\n * @example term with an edit distance of 2\n * hello~2\n * @example terms with presence modifiers\n * -foo +bar baz\n */\n\n/**\n * Performs a search against the index using lunr query syntax.\n *\n * Results will be returned sorted by their score, the most relevant results\n * will be returned first. For details on how the score is calculated, please see\n * the {@link https://lunrjs.com/guides/searching.html#scoring|guide}.\n *\n * For more programmatic querying use lunr.Index#query.\n *\n * @param {lunr.Index~QueryString} queryString - A string containing a lunr query.\n * @throws {lunr.QueryParseError} If the passed query string cannot be parsed.\n * @returns {lunr.Index~Result[]}\n */\nlunr.Index.prototype.search = function (queryString) {\n return this.query(function (query) {\n var parser = new lunr.QueryParser(queryString, query)\n parser.parse()\n })\n}\n\n/**\n * A query builder callback provides a query object to be used to express\n * the query to perform on the index.\n *\n * @callback lunr.Index~queryBuilder\n * @param {lunr.Query} query - The query object to build up.\n * @this lunr.Query\n */\n\n/**\n * Performs a query against the index using the yielded lunr.Query object.\n *\n * If performing programmatic queries against the index, this method is preferred\n * over lunr.Index#search so as to avoid the additional query parsing overhead.\n *\n * A query object is yielded to the supplied function which should be used to\n * express the query to be run against the index.\n *\n * Note that although this function takes a callback parameter it is _not_ an\n * asynchronous operation, the callback is just yielded a query object to be\n * customized.\n *\n * @param {lunr.Index~queryBuilder} fn - A function that is used to build the query.\n * @returns {lunr.Index~Result[]}\n */\nlunr.Index.prototype.query = function (fn) {\n // for each query clause\n // * process terms\n // * expand terms from token set\n // * find matching documents and metadata\n // * get document vectors\n // * score documents\n\n var query = new lunr.Query(this.fields),\n matchingFields = Object.create(null),\n queryVectors = Object.create(null),\n termFieldCache = Object.create(null),\n requiredMatches = Object.create(null),\n prohibitedMatches = Object.create(null)\n\n /*\n * To support field level boosts a query vector is created per\n * field. An empty vector is eagerly created to support negated\n * queries.\n */\n for (var i = 0; i < this.fields.length; i++) {\n queryVectors[this.fields[i]] = new lunr.Vector\n }\n\n fn.call(query, query)\n\n for (var i = 0; i < query.clauses.length; i++) {\n /*\n * Unless the pipeline has been disabled for this term, which is\n * the case for terms with wildcards, we need to pass the clause\n * term through the search pipeline. A pipeline returns an array\n * of processed terms. Pipeline functions may expand the passed\n * term, which means we may end up performing multiple index lookups\n * for a single query term.\n */\n var clause = query.clauses[i],\n terms = null,\n clauseMatches = lunr.Set.empty\n\n if (clause.usePipeline) {\n terms = this.pipeline.runString(clause.term, {\n fields: clause.fields\n })\n } else {\n terms = [clause.term]\n }\n\n for (var m = 0; m < terms.length; m++) {\n var term = terms[m]\n\n /*\n * Each term returned from the pipeline needs to use the same query\n * clause object, e.g. the same boost and or edit distance. The\n * simplest way to do this is to re-use the clause object but mutate\n * its term property.\n */\n clause.term = term\n\n /*\n * From the term in the clause we create a token set which will then\n * be used to intersect the indexes token set to get a list of terms\n * to lookup in the inverted index\n */\n var termTokenSet = lunr.TokenSet.fromClause(clause),\n expandedTerms = this.tokenSet.intersect(termTokenSet).toArray()\n\n /*\n * If a term marked as required does not exist in the tokenSet it is\n * impossible for the search to return any matches. We set all the field\n * scoped required matches set to empty and stop examining any further\n * clauses.\n */\n if (expandedTerms.length === 0 && clause.presence === lunr.Query.presence.REQUIRED) {\n for (var k = 0; k < clause.fields.length; k++) {\n var field = clause.fields[k]\n requiredMatches[field] = lunr.Set.empty\n }\n\n break\n }\n\n for (var j = 0; j < expandedTerms.length; j++) {\n /*\n * For each term get the posting and termIndex, this is required for\n * building the query vector.\n */\n var expandedTerm = expandedTerms[j],\n posting = this.invertedIndex[expandedTerm],\n termIndex = posting._index\n\n for (var k = 0; k < clause.fields.length; k++) {\n /*\n * For each field that this query term is scoped by (by default\n * all fields are in scope) we need to get all the document refs\n * that have this term in that field.\n *\n * The posting is the entry in the invertedIndex for the matching\n * term from above.\n */\n var field = clause.fields[k],\n fieldPosting = posting[field],\n matchingDocumentRefs = Object.keys(fieldPosting),\n termField = expandedTerm + \"/\" + field,\n matchingDocumentsSet = new lunr.Set(matchingDocumentRefs)\n\n /*\n * if the presence of this term is required ensure that the matching\n * documents are added to the set of required matches for this clause.\n *\n */\n if (clause.presence == lunr.Query.presence.REQUIRED) {\n clauseMatches = clauseMatches.union(matchingDocumentsSet)\n\n if (requiredMatches[field] === undefined) {\n requiredMatches[field] = lunr.Set.complete\n }\n }\n\n /*\n * if the presence of this term is prohibited ensure that the matching\n * documents are added to the set of prohibited matches for this field,\n * creating that set if it does not yet exist.\n */\n if (clause.presence == lunr.Query.presence.PROHIBITED) {\n if (prohibitedMatches[field] === undefined) {\n prohibitedMatches[field] = lunr.Set.empty\n }\n\n prohibitedMatches[field] = prohibitedMatches[field].union(matchingDocumentsSet)\n\n /*\n * Prohibited matches should not be part of the query vector used for\n * similarity scoring and no metadata should be extracted so we continue\n * to the next field\n */\n continue\n }\n\n /*\n * The query field vector is populated using the termIndex found for\n * the term and a unit value with the appropriate boost applied.\n * Using upsert because there could already be an entry in the vector\n * for the term we are working with. In that case we just add the scores\n * together.\n */\n queryVectors[field].upsert(termIndex, clause.boost, function (a, b) { return a + b })\n\n /**\n * If we've already seen this term, field combo then we've already collected\n * the matching documents and metadata, no need to go through all that again\n */\n if (termFieldCache[termField]) {\n continue\n }\n\n for (var l = 0; l < matchingDocumentRefs.length; l++) {\n /*\n * All metadata for this term/field/document triple\n * are then extracted and collected into an instance\n * of lunr.MatchData ready to be returned in the query\n * results\n */\n var matchingDocumentRef = matchingDocumentRefs[l],\n matchingFieldRef = new lunr.FieldRef (matchingDocumentRef, field),\n metadata = fieldPosting[matchingDocumentRef],\n fieldMatch\n\n if ((fieldMatch = matchingFields[matchingFieldRef]) === undefined) {\n matchingFields[matchingFieldRef] = new lunr.MatchData (expandedTerm, field, metadata)\n } else {\n fieldMatch.add(expandedTerm, field, metadata)\n }\n\n }\n\n termFieldCache[termField] = true\n }\n }\n }\n\n /**\n * If the presence was required we need to update the requiredMatches field sets.\n * We do this after all fields for the term have collected their matches because\n * the clause terms presence is required in _any_ of the fields not _all_ of the\n * fields.\n */\n if (clause.presence === lunr.Query.presence.REQUIRED) {\n for (var k = 0; k < clause.fields.length; k++) {\n var field = clause.fields[k]\n requiredMatches[field] = requiredMatches[field].intersect(clauseMatches)\n }\n }\n }\n\n /**\n * Need to combine the field scoped required and prohibited\n * matching documents into a global set of required and prohibited\n * matches\n */\n var allRequiredMatches = lunr.Set.complete,\n allProhibitedMatches = lunr.Set.empty\n\n for (var i = 0; i < this.fields.length; i++) {\n var field = this.fields[i]\n\n if (requiredMatches[field]) {\n allRequiredMatches = allRequiredMatches.intersect(requiredMatches[field])\n }\n\n if (prohibitedMatches[field]) {\n allProhibitedMatches = allProhibitedMatches.union(prohibitedMatches[field])\n }\n }\n\n var matchingFieldRefs = Object.keys(matchingFields),\n results = [],\n matches = Object.create(null)\n\n /*\n * If the query is negated (contains only prohibited terms)\n * we need to get _all_ fieldRefs currently existing in the\n * index. This is only done when we know that the query is\n * entirely prohibited terms to avoid any cost of getting all\n * fieldRefs unnecessarily.\n *\n * Additionally, blank MatchData must be created to correctly\n * populate the results.\n */\n if (query.isNegated()) {\n matchingFieldRefs = Object.keys(this.fieldVectors)\n\n for (var i = 0; i < matchingFieldRefs.length; i++) {\n var matchingFieldRef = matchingFieldRefs[i]\n var fieldRef = lunr.FieldRef.fromString(matchingFieldRef)\n matchingFields[matchingFieldRef] = new lunr.MatchData\n }\n }\n\n for (var i = 0; i < matchingFieldRefs.length; i++) {\n /*\n * Currently we have document fields that match the query, but we\n * need to return documents. The matchData and scores are combined\n * from multiple fields belonging to the same document.\n *\n * Scores are calculated by field, using the query vectors created\n * above, and combined into a final document score using addition.\n */\n var fieldRef = lunr.FieldRef.fromString(matchingFieldRefs[i]),\n docRef = fieldRef.docRef\n\n if (!allRequiredMatches.contains(docRef)) {\n continue\n }\n\n if (allProhibitedMatches.contains(docRef)) {\n continue\n }\n\n var fieldVector = this.fieldVectors[fieldRef],\n score = queryVectors[fieldRef.fieldName].similarity(fieldVector),\n docMatch\n\n if ((docMatch = matches[docRef]) !== undefined) {\n docMatch.score += score\n docMatch.matchData.combine(matchingFields[fieldRef])\n } else {\n var match = {\n ref: docRef,\n score: score,\n matchData: matchingFields[fieldRef]\n }\n matches[docRef] = match\n results.push(match)\n }\n }\n\n /*\n * Sort the results objects by score, highest first.\n */\n return results.sort(function (a, b) {\n return b.score - a.score\n })\n}\n\n/**\n * Prepares the index for JSON serialization.\n *\n * The schema for this JSON blob will be described in a\n * separate JSON schema file.\n *\n * @returns {Object}\n */\nlunr.Index.prototype.toJSON = function () {\n var invertedIndex = Object.keys(this.invertedIndex)\n .sort()\n .map(function (term) {\n return [term, this.invertedIndex[term]]\n }, this)\n\n var fieldVectors = Object.keys(this.fieldVectors)\n .map(function (ref) {\n return [ref, this.fieldVectors[ref].toJSON()]\n }, this)\n\n return {\n version: lunr.version,\n fields: this.fields,\n fieldVectors: fieldVectors,\n invertedIndex: invertedIndex,\n pipeline: this.pipeline.toJSON()\n }\n}\n\n/**\n * Loads a previously serialized lunr.Index\n *\n * @param {Object} serializedIndex - A previously serialized lunr.Index\n * @returns {lunr.Index}\n */\nlunr.Index.load = function (serializedIndex) {\n var attrs = {},\n fieldVectors = {},\n serializedVectors = serializedIndex.fieldVectors,\n invertedIndex = Object.create(null),\n serializedInvertedIndex = serializedIndex.invertedIndex,\n tokenSetBuilder = new lunr.TokenSet.Builder,\n pipeline = lunr.Pipeline.load(serializedIndex.pipeline)\n\n if (serializedIndex.version != lunr.version) {\n lunr.utils.warn(\"Version mismatch when loading serialised index. Current version of lunr '\" + lunr.version + \"' does not match serialized index '\" + serializedIndex.version + \"'\")\n }\n\n for (var i = 0; i < serializedVectors.length; i++) {\n var tuple = serializedVectors[i],\n ref = tuple[0],\n elements = tuple[1]\n\n fieldVectors[ref] = new lunr.Vector(elements)\n }\n\n for (var i = 0; i < serializedInvertedIndex.length; i++) {\n var tuple = serializedInvertedIndex[i],\n term = tuple[0],\n posting = tuple[1]\n\n tokenSetBuilder.insert(term)\n invertedIndex[term] = posting\n }\n\n tokenSetBuilder.finish()\n\n attrs.fields = serializedIndex.fields\n\n attrs.fieldVectors = fieldVectors\n attrs.invertedIndex = invertedIndex\n attrs.tokenSet = tokenSetBuilder.root\n attrs.pipeline = pipeline\n\n return new lunr.Index(attrs)\n}\n/*!\n * lunr.Builder\n * Copyright (C) 2020 Oliver Nightingale\n */\n\n/**\n * lunr.Builder performs indexing on a set of documents and\n * returns instances of lunr.Index ready for querying.\n *\n * All configuration of the index is done via the builder, the\n * fields to index, the document reference, the text processing\n * pipeline and document scoring parameters are all set on the\n * builder before indexing.\n *\n * @constructor\n * @property {string} _ref - Internal reference to the document reference field.\n * @property {string[]} _fields - Internal reference to the document fields to index.\n * @property {object} invertedIndex - The inverted index maps terms to document fields.\n * @property {object} documentTermFrequencies - Keeps track of document term frequencies.\n * @property {object} documentLengths - Keeps track of the length of documents added to the index.\n * @property {lunr.tokenizer} tokenizer - Function for splitting strings into tokens for indexing.\n * @property {lunr.Pipeline} pipeline - The pipeline performs text processing on tokens before indexing.\n * @property {lunr.Pipeline} searchPipeline - A pipeline for processing search terms before querying the index.\n * @property {number} documentCount - Keeps track of the total number of documents indexed.\n * @property {number} _b - A parameter to control field length normalization, setting this to 0 disabled normalization, 1 fully normalizes field lengths, the default value is 0.75.\n * @property {number} _k1 - A parameter to control how quickly an increase in term frequency results in term frequency saturation, the default value is 1.2.\n * @property {number} termIndex - A counter incremented for each unique term, used to identify a terms position in the vector space.\n * @property {array} metadataWhitelist - A list of metadata keys that have been whitelisted for entry in the index.\n */\nlunr.Builder = function () {\n this._ref = \"id\"\n this._fields = Object.create(null)\n this._documents = Object.create(null)\n this.invertedIndex = Object.create(null)\n this.fieldTermFrequencies = {}\n this.fieldLengths = {}\n this.tokenizer = lunr.tokenizer\n this.pipeline = new lunr.Pipeline\n this.searchPipeline = new lunr.Pipeline\n this.documentCount = 0\n this._b = 0.75\n this._k1 = 1.2\n this.termIndex = 0\n this.metadataWhitelist = []\n}\n\n/**\n * Sets the document field used as the document reference. Every document must have this field.\n * The type of this field in the document should be a string, if it is not a string it will be\n * coerced into a string by calling toString.\n *\n * The default ref is 'id'.\n *\n * The ref should _not_ be changed during indexing, it should be set before any documents are\n * added to the index. Changing it during indexing can lead to inconsistent results.\n *\n * @param {string} ref - The name of the reference field in the document.\n */\nlunr.Builder.prototype.ref = function (ref) {\n this._ref = ref\n}\n\n/**\n * A function that is used to extract a field from a document.\n *\n * Lunr expects a field to be at the top level of a document, if however the field\n * is deeply nested within a document an extractor function can be used to extract\n * the right field for indexing.\n *\n * @callback fieldExtractor\n * @param {object} doc - The document being added to the index.\n * @returns {?(string|object|object[])} obj - The object that will be indexed for this field.\n * @example Extracting a nested field\n * function (doc) { return doc.nested.field }\n */\n\n/**\n * Adds a field to the list of document fields that will be indexed. Every document being\n * indexed should have this field. Null values for this field in indexed documents will\n * not cause errors but will limit the chance of that document being retrieved by searches.\n *\n * All fields should be added before adding documents to the index. Adding fields after\n * a document has been indexed will have no effect on already indexed documents.\n *\n * Fields can be boosted at build time. This allows terms within that field to have more\n * importance when ranking search results. Use a field boost to specify that matches within\n * one field are more important than other fields.\n *\n * @param {string} fieldName - The name of a field to index in all documents.\n * @param {object} attributes - Optional attributes associated with this field.\n * @param {number} [attributes.boost=1] - Boost applied to all terms within this field.\n * @param {fieldExtractor} [attributes.extractor] - Function to extract a field from a document.\n * @throws {RangeError} fieldName cannot contain unsupported characters '/'\n */\nlunr.Builder.prototype.field = function (fieldName, attributes) {\n if (/\\//.test(fieldName)) {\n throw new RangeError (\"Field '\" + fieldName + \"' contains illegal character '/'\")\n }\n\n this._fields[fieldName] = attributes || {}\n}\n\n/**\n * A parameter to tune the amount of field length normalisation that is applied when\n * calculating relevance scores. A value of 0 will completely disable any normalisation\n * and a value of 1 will fully normalise field lengths. The default is 0.75. Values of b\n * will be clamped to the range 0 - 1.\n *\n * @param {number} number - The value to set for this tuning parameter.\n */\nlunr.Builder.prototype.b = function (number) {\n if (number < 0) {\n this._b = 0\n } else if (number > 1) {\n this._b = 1\n } else {\n this._b = number\n }\n}\n\n/**\n * A parameter that controls the speed at which a rise in term frequency results in term\n * frequency saturation. The default value is 1.2. Setting this to a higher value will give\n * slower saturation levels, a lower value will result in quicker saturation.\n *\n * @param {number} number - The value to set for this tuning parameter.\n */\nlunr.Builder.prototype.k1 = function (number) {\n this._k1 = number\n}\n\n/**\n * Adds a document to the index.\n *\n * Before adding fields to the index the index should have been fully setup, with the document\n * ref and all fields to index already having been specified.\n *\n * The document must have a field name as specified by the ref (by default this is 'id') and\n * it should have all fields defined for indexing, though null or undefined values will not\n * cause errors.\n *\n * Entire documents can be boosted at build time. Applying a boost to a document indicates that\n * this document should rank higher in search results than other documents.\n *\n * @param {object} doc - The document to add to the index.\n * @param {object} attributes - Optional attributes associated with this document.\n * @param {number} [attributes.boost=1] - Boost applied to all terms within this document.\n */\nlunr.Builder.prototype.add = function (doc, attributes) {\n var docRef = doc[this._ref],\n fields = Object.keys(this._fields)\n\n this._documents[docRef] = attributes || {}\n this.documentCount += 1\n\n for (var i = 0; i < fields.length; i++) {\n var fieldName = fields[i],\n extractor = this._fields[fieldName].extractor,\n field = extractor ? extractor(doc) : doc[fieldName],\n tokens = this.tokenizer(field, {\n fields: [fieldName]\n }),\n terms = this.pipeline.run(tokens),\n fieldRef = new lunr.FieldRef (docRef, fieldName),\n fieldTerms = Object.create(null)\n\n this.fieldTermFrequencies[fieldRef] = fieldTerms\n this.fieldLengths[fieldRef] = 0\n\n // store the length of this field for this document\n this.fieldLengths[fieldRef] += terms.length\n\n // calculate term frequencies for this field\n for (var j = 0; j < terms.length; j++) {\n var term = terms[j]\n\n if (fieldTerms[term] == undefined) {\n fieldTerms[term] = 0\n }\n\n fieldTerms[term] += 1\n\n // add to inverted index\n // create an initial posting if one doesn't exist\n if (this.invertedIndex[term] == undefined) {\n var posting = Object.create(null)\n posting[\"_index\"] = this.termIndex\n this.termIndex += 1\n\n for (var k = 0; k < fields.length; k++) {\n posting[fields[k]] = Object.create(null)\n }\n\n this.invertedIndex[term] = posting\n }\n\n // add an entry for this term/fieldName/docRef to the invertedIndex\n if (this.invertedIndex[term][fieldName][docRef] == undefined) {\n this.invertedIndex[term][fieldName][docRef] = Object.create(null)\n }\n\n // store all whitelisted metadata about this token in the\n // inverted index\n for (var l = 0; l < this.metadataWhitelist.length; l++) {\n var metadataKey = this.metadataWhitelist[l],\n metadata = term.metadata[metadataKey]\n\n if (this.invertedIndex[term][fieldName][docRef][metadataKey] == undefined) {\n this.invertedIndex[term][fieldName][docRef][metadataKey] = []\n }\n\n this.invertedIndex[term][fieldName][docRef][metadataKey].push(metadata)\n }\n }\n\n }\n}\n\n/**\n * Calculates the average document length for this index\n *\n * @private\n */\nlunr.Builder.prototype.calculateAverageFieldLengths = function () {\n\n var fieldRefs = Object.keys(this.fieldLengths),\n numberOfFields = fieldRefs.length,\n accumulator = {},\n documentsWithField = {}\n\n for (var i = 0; i < numberOfFields; i++) {\n var fieldRef = lunr.FieldRef.fromString(fieldRefs[i]),\n field = fieldRef.fieldName\n\n documentsWithField[field] || (documentsWithField[field] = 0)\n documentsWithField[field] += 1\n\n accumulator[field] || (accumulator[field] = 0)\n accumulator[field] += this.fieldLengths[fieldRef]\n }\n\n var fields = Object.keys(this._fields)\n\n for (var i = 0; i < fields.length; i++) {\n var fieldName = fields[i]\n accumulator[fieldName] = accumulator[fieldName] / documentsWithField[fieldName]\n }\n\n this.averageFieldLength = accumulator\n}\n\n/**\n * Builds a vector space model of every document using lunr.Vector\n *\n * @private\n */\nlunr.Builder.prototype.createFieldVectors = function () {\n var fieldVectors = {},\n fieldRefs = Object.keys(this.fieldTermFrequencies),\n fieldRefsLength = fieldRefs.length,\n termIdfCache = Object.create(null)\n\n for (var i = 0; i < fieldRefsLength; i++) {\n var fieldRef = lunr.FieldRef.fromString(fieldRefs[i]),\n fieldName = fieldRef.fieldName,\n fieldLength = this.fieldLengths[fieldRef],\n fieldVector = new lunr.Vector,\n termFrequencies = this.fieldTermFrequencies[fieldRef],\n terms = Object.keys(termFrequencies),\n termsLength = terms.length\n\n\n var fieldBoost = this._fields[fieldName].boost || 1,\n docBoost = this._documents[fieldRef.docRef].boost || 1\n\n for (var j = 0; j < termsLength; j++) {\n var term = terms[j],\n tf = termFrequencies[term],\n termIndex = this.invertedIndex[term]._index,\n idf, score, scoreWithPrecision\n\n if (termIdfCache[term] === undefined) {\n idf = lunr.idf(this.invertedIndex[term], this.documentCount)\n termIdfCache[term] = idf\n } else {\n idf = termIdfCache[term]\n }\n\n score = idf * ((this._k1 + 1) * tf) / (this._k1 * (1 - this._b + this._b * (fieldLength / this.averageFieldLength[fieldName])) + tf)\n score *= fieldBoost\n score *= docBoost\n scoreWithPrecision = Math.round(score * 1000) / 1000\n // Converts 1.23456789 to 1.234.\n // Reducing the precision so that the vectors take up less\n // space when serialised. Doing it now so that they behave\n // the same before and after serialisation. Also, this is\n // the fastest approach to reducing a number's precision in\n // JavaScript.\n\n fieldVector.insert(termIndex, scoreWithPrecision)\n }\n\n fieldVectors[fieldRef] = fieldVector\n }\n\n this.fieldVectors = fieldVectors\n}\n\n/**\n * Creates a token set of all tokens in the index using lunr.TokenSet\n *\n * @private\n */\nlunr.Builder.prototype.createTokenSet = function () {\n this.tokenSet = lunr.TokenSet.fromArray(\n Object.keys(this.invertedIndex).sort()\n )\n}\n\n/**\n * Builds the index, creating an instance of lunr.Index.\n *\n * This completes the indexing process and should only be called\n * once all documents have been added to the index.\n *\n * @returns {lunr.Index}\n */\nlunr.Builder.prototype.build = function () {\n this.calculateAverageFieldLengths()\n this.createFieldVectors()\n this.createTokenSet()\n\n return new lunr.Index({\n invertedIndex: this.invertedIndex,\n fieldVectors: this.fieldVectors,\n tokenSet: this.tokenSet,\n fields: Object.keys(this._fields),\n pipeline: this.searchPipeline\n })\n}\n\n/**\n * Applies a plugin to the index builder.\n *\n * A plugin is a function that is called with the index builder as its context.\n * Plugins can be used to customise or extend the behaviour of the index\n * in some way. A plugin is just a function, that encapsulated the custom\n * behaviour that should be applied when building the index.\n *\n * The plugin function will be called with the index builder as its argument, additional\n * arguments can also be passed when calling use. The function will be called\n * with the index builder as its context.\n *\n * @param {Function} plugin The plugin to apply.\n */\nlunr.Builder.prototype.use = function (fn) {\n var args = Array.prototype.slice.call(arguments, 1)\n args.unshift(this)\n fn.apply(this, args)\n}\n/**\n * Contains and collects metadata about a matching document.\n * A single instance of lunr.MatchData is returned as part of every\n * lunr.Index~Result.\n *\n * @constructor\n * @param {string} term - The term this match data is associated with\n * @param {string} field - The field in which the term was found\n * @param {object} metadata - The metadata recorded about this term in this field\n * @property {object} metadata - A cloned collection of metadata associated with this document.\n * @see {@link lunr.Index~Result}\n */\nlunr.MatchData = function (term, field, metadata) {\n var clonedMetadata = Object.create(null),\n metadataKeys = Object.keys(metadata || {})\n\n // Cloning the metadata to prevent the original\n // being mutated during match data combination.\n // Metadata is kept in an array within the inverted\n // index so cloning the data can be done with\n // Array#slice\n for (var i = 0; i < metadataKeys.length; i++) {\n var key = metadataKeys[i]\n clonedMetadata[key] = metadata[key].slice()\n }\n\n this.metadata = Object.create(null)\n\n if (term !== undefined) {\n this.metadata[term] = Object.create(null)\n this.metadata[term][field] = clonedMetadata\n }\n}\n\n/**\n * An instance of lunr.MatchData will be created for every term that matches a\n * document. However only one instance is required in a lunr.Index~Result. This\n * method combines metadata from another instance of lunr.MatchData with this\n * objects metadata.\n *\n * @param {lunr.MatchData} otherMatchData - Another instance of match data to merge with this one.\n * @see {@link lunr.Index~Result}\n */\nlunr.MatchData.prototype.combine = function (otherMatchData) {\n var terms = Object.keys(otherMatchData.metadata)\n\n for (var i = 0; i < terms.length; i++) {\n var term = terms[i],\n fields = Object.keys(otherMatchData.metadata[term])\n\n if (this.metadata[term] == undefined) {\n this.metadata[term] = Object.create(null)\n }\n\n for (var j = 0; j < fields.length; j++) {\n var field = fields[j],\n keys = Object.keys(otherMatchData.metadata[term][field])\n\n if (this.metadata[term][field] == undefined) {\n this.metadata[term][field] = Object.create(null)\n }\n\n for (var k = 0; k < keys.length; k++) {\n var key = keys[k]\n\n if (this.metadata[term][field][key] == undefined) {\n this.metadata[term][field][key] = otherMatchData.metadata[term][field][key]\n } else {\n this.metadata[term][field][key] = this.metadata[term][field][key].concat(otherMatchData.metadata[term][field][key])\n }\n\n }\n }\n }\n}\n\n/**\n * Add metadata for a term/field pair to this instance of match data.\n *\n * @param {string} term - The term this match data is associated with\n * @param {string} field - The field in which the term was found\n * @param {object} metadata - The metadata recorded about this term in this field\n */\nlunr.MatchData.prototype.add = function (term, field, metadata) {\n if (!(term in this.metadata)) {\n this.metadata[term] = Object.create(null)\n this.metadata[term][field] = metadata\n return\n }\n\n if (!(field in this.metadata[term])) {\n this.metadata[term][field] = metadata\n return\n }\n\n var metadataKeys = Object.keys(metadata)\n\n for (var i = 0; i < metadataKeys.length; i++) {\n var key = metadataKeys[i]\n\n if (key in this.metadata[term][field]) {\n this.metadata[term][field][key] = this.metadata[term][field][key].concat(metadata[key])\n } else {\n this.metadata[term][field][key] = metadata[key]\n }\n }\n}\n/**\n * A lunr.Query provides a programmatic way of defining queries to be performed\n * against a {@link lunr.Index}.\n *\n * Prefer constructing a lunr.Query using the {@link lunr.Index#query} method\n * so the query object is pre-initialized with the right index fields.\n *\n * @constructor\n * @property {lunr.Query~Clause[]} clauses - An array of query clauses.\n * @property {string[]} allFields - An array of all available fields in a lunr.Index.\n */\nlunr.Query = function (allFields) {\n this.clauses = []\n this.allFields = allFields\n}\n\n/**\n * Constants for indicating what kind of automatic wildcard insertion will be used when constructing a query clause.\n *\n * This allows wildcards to be added to the beginning and end of a term without having to manually do any string\n * concatenation.\n *\n * The wildcard constants can be bitwise combined to select both leading and trailing wildcards.\n *\n * @constant\n * @default\n * @property {number} wildcard.NONE - The term will have no wildcards inserted, this is the default behaviour\n * @property {number} wildcard.LEADING - Prepend the term with a wildcard, unless a leading wildcard already exists\n * @property {number} wildcard.TRAILING - Append a wildcard to the term, unless a trailing wildcard already exists\n * @see lunr.Query~Clause\n * @see lunr.Query#clause\n * @see lunr.Query#term\n * @example query term with trailing wildcard\n * query.term('foo', { wildcard: lunr.Query.wildcard.TRAILING })\n * @example query term with leading and trailing wildcard\n * query.term('foo', {\n * wildcard: lunr.Query.wildcard.LEADING | lunr.Query.wildcard.TRAILING\n * })\n */\n\nlunr.Query.wildcard = new String (\"*\")\nlunr.Query.wildcard.NONE = 0\nlunr.Query.wildcard.LEADING = 1\nlunr.Query.wildcard.TRAILING = 2\n\n/**\n * Constants for indicating what kind of presence a term must have in matching documents.\n *\n * @constant\n * @enum {number}\n * @see lunr.Query~Clause\n * @see lunr.Query#clause\n * @see lunr.Query#term\n * @example query term with required presence\n * query.term('foo', { presence: lunr.Query.presence.REQUIRED })\n */\nlunr.Query.presence = {\n /**\n * Term's presence in a document is optional, this is the default value.\n */\n OPTIONAL: 1,\n\n /**\n * Term's presence in a document is required, documents that do not contain\n * this term will not be returned.\n */\n REQUIRED: 2,\n\n /**\n * Term's presence in a document is prohibited, documents that do contain\n * this term will not be returned.\n */\n PROHIBITED: 3\n}\n\n/**\n * A single clause in a {@link lunr.Query} contains a term and details on how to\n * match that term against a {@link lunr.Index}.\n *\n * @typedef {Object} lunr.Query~Clause\n * @property {string[]} fields - The fields in an index this clause should be matched against.\n * @property {number} [boost=1] - Any boost that should be applied when matching this clause.\n * @property {number} [editDistance] - Whether the term should have fuzzy matching applied, and how fuzzy the match should be.\n * @property {boolean} [usePipeline] - Whether the term should be passed through the search pipeline.\n * @property {number} [wildcard=lunr.Query.wildcard.NONE] - Whether the term should have wildcards appended or prepended.\n * @property {number} [presence=lunr.Query.presence.OPTIONAL] - The terms presence in any matching documents.\n */\n\n/**\n * Adds a {@link lunr.Query~Clause} to this query.\n *\n * Unless the clause contains the fields to be matched all fields will be matched. In addition\n * a default boost of 1 is applied to the clause.\n *\n * @param {lunr.Query~Clause} clause - The clause to add to this query.\n * @see lunr.Query~Clause\n * @returns {lunr.Query}\n */\nlunr.Query.prototype.clause = function (clause) {\n if (!('fields' in clause)) {\n clause.fields = this.allFields\n }\n\n if (!('boost' in clause)) {\n clause.boost = 1\n }\n\n if (!('usePipeline' in clause)) {\n clause.usePipeline = true\n }\n\n if (!('wildcard' in clause)) {\n clause.wildcard = lunr.Query.wildcard.NONE\n }\n\n if ((clause.wildcard & lunr.Query.wildcard.LEADING) && (clause.term.charAt(0) != lunr.Query.wildcard)) {\n clause.term = \"*\" + clause.term\n }\n\n if ((clause.wildcard & lunr.Query.wildcard.TRAILING) && (clause.term.slice(-1) != lunr.Query.wildcard)) {\n clause.term = \"\" + clause.term + \"*\"\n }\n\n if (!('presence' in clause)) {\n clause.presence = lunr.Query.presence.OPTIONAL\n }\n\n this.clauses.push(clause)\n\n return this\n}\n\n/**\n * A negated query is one in which every clause has a presence of\n * prohibited. These queries require some special processing to return\n * the expected results.\n *\n * @returns boolean\n */\nlunr.Query.prototype.isNegated = function () {\n for (var i = 0; i < this.clauses.length; i++) {\n if (this.clauses[i].presence != lunr.Query.presence.PROHIBITED) {\n return false\n }\n }\n\n return true\n}\n\n/**\n * Adds a term to the current query, under the covers this will create a {@link lunr.Query~Clause}\n * to the list of clauses that make up this query.\n *\n * The term is used as is, i.e. no tokenization will be performed by this method. Instead conversion\n * to a token or token-like string should be done before calling this method.\n *\n * The term will be converted to a string by calling `toString`. Multiple terms can be passed as an\n * array, each term in the array will share the same options.\n *\n * @param {object|object[]} term - The term(s) to add to the query.\n * @param {object} [options] - Any additional properties to add to the query clause.\n * @returns {lunr.Query}\n * @see lunr.Query#clause\n * @see lunr.Query~Clause\n * @example adding a single term to a query\n * query.term(\"foo\")\n * @example adding a single term to a query and specifying search fields, term boost and automatic trailing wildcard\n * query.term(\"foo\", {\n * fields: [\"title\"],\n * boost: 10,\n * wildcard: lunr.Query.wildcard.TRAILING\n * })\n * @example using lunr.tokenizer to convert a string to tokens before using them as terms\n * query.term(lunr.tokenizer(\"foo bar\"))\n */\nlunr.Query.prototype.term = function (term, options) {\n if (Array.isArray(term)) {\n term.forEach(function (t) { this.term(t, lunr.utils.clone(options)) }, this)\n return this\n }\n\n var clause = options || {}\n clause.term = term.toString()\n\n this.clause(clause)\n\n return this\n}\nlunr.QueryParseError = function (message, start, end) {\n this.name = \"QueryParseError\"\n this.message = message\n this.start = start\n this.end = end\n}\n\nlunr.QueryParseError.prototype = new Error\nlunr.QueryLexer = function (str) {\n this.lexemes = []\n this.str = str\n this.length = str.length\n this.pos = 0\n this.start = 0\n this.escapeCharPositions = []\n}\n\nlunr.QueryLexer.prototype.run = function () {\n var state = lunr.QueryLexer.lexText\n\n while (state) {\n state = state(this)\n }\n}\n\nlunr.QueryLexer.prototype.sliceString = function () {\n var subSlices = [],\n sliceStart = this.start,\n sliceEnd = this.pos\n\n for (var i = 0; i < this.escapeCharPositions.length; i++) {\n sliceEnd = this.escapeCharPositions[i]\n subSlices.push(this.str.slice(sliceStart, sliceEnd))\n sliceStart = sliceEnd + 1\n }\n\n subSlices.push(this.str.slice(sliceStart, this.pos))\n this.escapeCharPositions.length = 0\n\n return subSlices.join('')\n}\n\nlunr.QueryLexer.prototype.emit = function (type) {\n this.lexemes.push({\n type: type,\n str: this.sliceString(),\n start: this.start,\n end: this.pos\n })\n\n this.start = this.pos\n}\n\nlunr.QueryLexer.prototype.escapeCharacter = function () {\n this.escapeCharPositions.push(this.pos - 1)\n this.pos += 1\n}\n\nlunr.QueryLexer.prototype.next = function () {\n if (this.pos >= this.length) {\n return lunr.QueryLexer.EOS\n }\n\n var char = this.str.charAt(this.pos)\n this.pos += 1\n return char\n}\n\nlunr.QueryLexer.prototype.width = function () {\n return this.pos - this.start\n}\n\nlunr.QueryLexer.prototype.ignore = function () {\n if (this.start == this.pos) {\n this.pos += 1\n }\n\n this.start = this.pos\n}\n\nlunr.QueryLexer.prototype.backup = function () {\n this.pos -= 1\n}\n\nlunr.QueryLexer.prototype.acceptDigitRun = function () {\n var char, charCode\n\n do {\n char = this.next()\n charCode = char.charCodeAt(0)\n } while (charCode > 47 && charCode < 58)\n\n if (char != lunr.QueryLexer.EOS) {\n this.backup()\n }\n}\n\nlunr.QueryLexer.prototype.more = function () {\n return this.pos < this.length\n}\n\nlunr.QueryLexer.EOS = 'EOS'\nlunr.QueryLexer.FIELD = 'FIELD'\nlunr.QueryLexer.TERM = 'TERM'\nlunr.QueryLexer.EDIT_DISTANCE = 'EDIT_DISTANCE'\nlunr.QueryLexer.BOOST = 'BOOST'\nlunr.QueryLexer.PRESENCE = 'PRESENCE'\n\nlunr.QueryLexer.lexField = function (lexer) {\n lexer.backup()\n lexer.emit(lunr.QueryLexer.FIELD)\n lexer.ignore()\n return lunr.QueryLexer.lexText\n}\n\nlunr.QueryLexer.lexTerm = function (lexer) {\n if (lexer.width() > 1) {\n lexer.backup()\n lexer.emit(lunr.QueryLexer.TERM)\n }\n\n lexer.ignore()\n\n if (lexer.more()) {\n return lunr.QueryLexer.lexText\n }\n}\n\nlunr.QueryLexer.lexEditDistance = function (lexer) {\n lexer.ignore()\n lexer.acceptDigitRun()\n lexer.emit(lunr.QueryLexer.EDIT_DISTANCE)\n return lunr.QueryLexer.lexText\n}\n\nlunr.QueryLexer.lexBoost = function (lexer) {\n lexer.ignore()\n lexer.acceptDigitRun()\n lexer.emit(lunr.QueryLexer.BOOST)\n return lunr.QueryLexer.lexText\n}\n\nlunr.QueryLexer.lexEOS = function (lexer) {\n if (lexer.width() > 0) {\n lexer.emit(lunr.QueryLexer.TERM)\n }\n}\n\n// This matches the separator used when tokenising fields\n// within a document. These should match otherwise it is\n// not possible to search for some tokens within a document.\n//\n// It is possible for the user to change the separator on the\n// tokenizer so it _might_ clash with any other of the special\n// characters already used within the search string, e.g. :.\n//\n// This means that it is possible to change the separator in\n// such a way that makes some words unsearchable using a search\n// string.\nlunr.QueryLexer.termSeparator = lunr.tokenizer.separator\n\nlunr.QueryLexer.lexText = function (lexer) {\n while (true) {\n var char = lexer.next()\n\n if (char == lunr.QueryLexer.EOS) {\n return lunr.QueryLexer.lexEOS\n }\n\n // Escape character is '\\'\n if (char.charCodeAt(0) == 92) {\n lexer.escapeCharacter()\n continue\n }\n\n if (char == \":\") {\n return lunr.QueryLexer.lexField\n }\n\n if (char == \"~\") {\n lexer.backup()\n if (lexer.width() > 0) {\n lexer.emit(lunr.QueryLexer.TERM)\n }\n return lunr.QueryLexer.lexEditDistance\n }\n\n if (char == \"^\") {\n lexer.backup()\n if (lexer.width() > 0) {\n lexer.emit(lunr.QueryLexer.TERM)\n }\n return lunr.QueryLexer.lexBoost\n }\n\n // \"+\" indicates term presence is required\n // checking for length to ensure that only\n // leading \"+\" are considered\n if (char == \"+\" && lexer.width() === 1) {\n lexer.emit(lunr.QueryLexer.PRESENCE)\n return lunr.QueryLexer.lexText\n }\n\n // \"-\" indicates term presence is prohibited\n // checking for length to ensure that only\n // leading \"-\" are considered\n if (char == \"-\" && lexer.width() === 1) {\n lexer.emit(lunr.QueryLexer.PRESENCE)\n return lunr.QueryLexer.lexText\n }\n\n if (char.match(lunr.QueryLexer.termSeparator)) {\n return lunr.QueryLexer.lexTerm\n }\n }\n}\n\nlunr.QueryParser = function (str, query) {\n this.lexer = new lunr.QueryLexer (str)\n this.query = query\n this.currentClause = {}\n this.lexemeIdx = 0\n}\n\nlunr.QueryParser.prototype.parse = function () {\n this.lexer.run()\n this.lexemes = this.lexer.lexemes\n\n var state = lunr.QueryParser.parseClause\n\n while (state) {\n state = state(this)\n }\n\n return this.query\n}\n\nlunr.QueryParser.prototype.peekLexeme = function () {\n return this.lexemes[this.lexemeIdx]\n}\n\nlunr.QueryParser.prototype.consumeLexeme = function () {\n var lexeme = this.peekLexeme()\n this.lexemeIdx += 1\n return lexeme\n}\n\nlunr.QueryParser.prototype.nextClause = function () {\n var completedClause = this.currentClause\n this.query.clause(completedClause)\n this.currentClause = {}\n}\n\nlunr.QueryParser.parseClause = function (parser) {\n var lexeme = parser.peekLexeme()\n\n if (lexeme == undefined) {\n return\n }\n\n switch (lexeme.type) {\n case lunr.QueryLexer.PRESENCE:\n return lunr.QueryParser.parsePresence\n case lunr.QueryLexer.FIELD:\n return lunr.QueryParser.parseField\n case lunr.QueryLexer.TERM:\n return lunr.QueryParser.parseTerm\n default:\n var errorMessage = \"expected either a field or a term, found \" + lexeme.type\n\n if (lexeme.str.length >= 1) {\n errorMessage += \" with value '\" + lexeme.str + \"'\"\n }\n\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\n }\n}\n\nlunr.QueryParser.parsePresence = function (parser) {\n var lexeme = parser.consumeLexeme()\n\n if (lexeme == undefined) {\n return\n }\n\n switch (lexeme.str) {\n case \"-\":\n parser.currentClause.presence = lunr.Query.presence.PROHIBITED\n break\n case \"+\":\n parser.currentClause.presence = lunr.Query.presence.REQUIRED\n break\n default:\n var errorMessage = \"unrecognised presence operator'\" + lexeme.str + \"'\"\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\n }\n\n var nextLexeme = parser.peekLexeme()\n\n if (nextLexeme == undefined) {\n var errorMessage = \"expecting term or field, found nothing\"\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\n }\n\n switch (nextLexeme.type) {\n case lunr.QueryLexer.FIELD:\n return lunr.QueryParser.parseField\n case lunr.QueryLexer.TERM:\n return lunr.QueryParser.parseTerm\n default:\n var errorMessage = \"expecting term or field, found '\" + nextLexeme.type + \"'\"\n throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end)\n }\n}\n\nlunr.QueryParser.parseField = function (parser) {\n var lexeme = parser.consumeLexeme()\n\n if (lexeme == undefined) {\n return\n }\n\n if (parser.query.allFields.indexOf(lexeme.str) == -1) {\n var possibleFields = parser.query.allFields.map(function (f) { return \"'\" + f + \"'\" }).join(', '),\n errorMessage = \"unrecognised field '\" + lexeme.str + \"', possible fields: \" + possibleFields\n\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\n }\n\n parser.currentClause.fields = [lexeme.str]\n\n var nextLexeme = parser.peekLexeme()\n\n if (nextLexeme == undefined) {\n var errorMessage = \"expecting term, found nothing\"\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\n }\n\n switch (nextLexeme.type) {\n case lunr.QueryLexer.TERM:\n return lunr.QueryParser.parseTerm\n default:\n var errorMessage = \"expecting term, found '\" + nextLexeme.type + \"'\"\n throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end)\n }\n}\n\nlunr.QueryParser.parseTerm = function (parser) {\n var lexeme = parser.consumeLexeme()\n\n if (lexeme == undefined) {\n return\n }\n\n parser.currentClause.term = lexeme.str.toLowerCase()\n\n if (lexeme.str.indexOf(\"*\") != -1) {\n parser.currentClause.usePipeline = false\n }\n\n var nextLexeme = parser.peekLexeme()\n\n if (nextLexeme == undefined) {\n parser.nextClause()\n return\n }\n\n switch (nextLexeme.type) {\n case lunr.QueryLexer.TERM:\n parser.nextClause()\n return lunr.QueryParser.parseTerm\n case lunr.QueryLexer.FIELD:\n parser.nextClause()\n return lunr.QueryParser.parseField\n case lunr.QueryLexer.EDIT_DISTANCE:\n return lunr.QueryParser.parseEditDistance\n case lunr.QueryLexer.BOOST:\n return lunr.QueryParser.parseBoost\n case lunr.QueryLexer.PRESENCE:\n parser.nextClause()\n return lunr.QueryParser.parsePresence\n default:\n var errorMessage = \"Unexpected lexeme type '\" + nextLexeme.type + \"'\"\n throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end)\n }\n}\n\nlunr.QueryParser.parseEditDistance = function (parser) {\n var lexeme = parser.consumeLexeme()\n\n if (lexeme == undefined) {\n return\n }\n\n var editDistance = parseInt(lexeme.str, 10)\n\n if (isNaN(editDistance)) {\n var errorMessage = \"edit distance must be numeric\"\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\n }\n\n parser.currentClause.editDistance = editDistance\n\n var nextLexeme = parser.peekLexeme()\n\n if (nextLexeme == undefined) {\n parser.nextClause()\n return\n }\n\n switch (nextLexeme.type) {\n case lunr.QueryLexer.TERM:\n parser.nextClause()\n return lunr.QueryParser.parseTerm\n case lunr.QueryLexer.FIELD:\n parser.nextClause()\n return lunr.QueryParser.parseField\n case lunr.QueryLexer.EDIT_DISTANCE:\n return lunr.QueryParser.parseEditDistance\n case lunr.QueryLexer.BOOST:\n return lunr.QueryParser.parseBoost\n case lunr.QueryLexer.PRESENCE:\n parser.nextClause()\n return lunr.QueryParser.parsePresence\n default:\n var errorMessage = \"Unexpected lexeme type '\" + nextLexeme.type + \"'\"\n throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end)\n }\n}\n\nlunr.QueryParser.parseBoost = function (parser) {\n var lexeme = parser.consumeLexeme()\n\n if (lexeme == undefined) {\n return\n }\n\n var boost = parseInt(lexeme.str, 10)\n\n if (isNaN(boost)) {\n var errorMessage = \"boost must be numeric\"\n throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end)\n }\n\n parser.currentClause.boost = boost\n\n var nextLexeme = parser.peekLexeme()\n\n if (nextLexeme == undefined) {\n parser.nextClause()\n return\n }\n\n switch (nextLexeme.type) {\n case lunr.QueryLexer.TERM:\n parser.nextClause()\n return lunr.QueryParser.parseTerm\n case lunr.QueryLexer.FIELD:\n parser.nextClause()\n return lunr.QueryParser.parseField\n case lunr.QueryLexer.EDIT_DISTANCE:\n return lunr.QueryParser.parseEditDistance\n case lunr.QueryLexer.BOOST:\n return lunr.QueryParser.parseBoost\n case lunr.QueryLexer.PRESENCE:\n parser.nextClause()\n return lunr.QueryParser.parsePresence\n default:\n var errorMessage = \"Unexpected lexeme type '\" + nextLexeme.type + \"'\"\n throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end)\n }\n}\n\n /**\n * export the module via AMD, CommonJS or as a browser global\n * Export code from https://github.com/umdjs/umd/blob/master/returnExports.js\n */\n ;(function (root, factory) {\n if (true) {\n // AMD. Register as an anonymous module.\n !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))\n } else {}\n }(this, function () {\n /**\n * Just return a value to define the module export.\n * This example returns an object, but the module\n * can return a function as the exported value.\n */\n return lunr\n }))\n})();\n\n\n//# sourceURL=webpack:///../node_modules/lunr/lunr.js?"); - -/***/ }), - -/***/ "./default/assets/css/main.sass": -/*!**************************************!*\ - !*** ./default/assets/css/main.sass ***! - \**************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack:///./default/assets/css/main.sass?"); - -/***/ }), - -/***/ "./default/assets/js/src/bootstrap.ts": -/*!********************************************!*\ - !*** ./default/assets/js/src/bootstrap.ts ***! - \********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _typedoc_Application__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typedoc/Application */ \"./default/assets/js/src/typedoc/Application.ts\");\n/* harmony import */ var _typedoc_components_MenuHighlight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./typedoc/components/MenuHighlight */ \"./default/assets/js/src/typedoc/components/MenuHighlight.ts\");\n/* harmony import */ var _typedoc_components_Search__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./typedoc/components/Search */ \"./default/assets/js/src/typedoc/components/Search.ts\");\n/* harmony import */ var _typedoc_components_Signature__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./typedoc/components/Signature */ \"./default/assets/js/src/typedoc/components/Signature.ts\");\n/* harmony import */ var _typedoc_components_Toggle__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./typedoc/components/Toggle */ \"./default/assets/js/src/typedoc/components/Toggle.ts\");\n/* harmony import */ var _typedoc_components_Filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./typedoc/components/Filter */ \"./default/assets/js/src/typedoc/components/Filter.ts\");\n/* harmony import */ var _css_main_sass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../css/main.sass */ \"./default/assets/css/main.sass\");\n\n\n\n\n\n\n\n(0,_typedoc_components_Search__WEBPACK_IMPORTED_MODULE_2__.initSearch)();\n(0,_typedoc_Application__WEBPACK_IMPORTED_MODULE_0__.registerComponent)(_typedoc_components_MenuHighlight__WEBPACK_IMPORTED_MODULE_1__.MenuHighlight, \".menu-highlight\");\n(0,_typedoc_Application__WEBPACK_IMPORTED_MODULE_0__.registerComponent)(_typedoc_components_Signature__WEBPACK_IMPORTED_MODULE_3__.Signature, \".tsd-signatures\");\n(0,_typedoc_Application__WEBPACK_IMPORTED_MODULE_0__.registerComponent)(_typedoc_components_Toggle__WEBPACK_IMPORTED_MODULE_4__.Toggle, \"a[data-toggle]\");\nif (_typedoc_components_Filter__WEBPACK_IMPORTED_MODULE_5__.Filter.isSupported()) {\n (0,_typedoc_Application__WEBPACK_IMPORTED_MODULE_0__.registerComponent)(_typedoc_components_Filter__WEBPACK_IMPORTED_MODULE_5__.Filter, \"#tsd-filter\");\n}\nelse {\n document.documentElement.classList.add(\"no-filter\");\n}\nvar app = new _typedoc_Application__WEBPACK_IMPORTED_MODULE_0__.Application();\nObject.defineProperty(window, \"app\", { value: app });\n\n\n//# sourceURL=webpack:///./default/assets/js/src/bootstrap.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/Application.ts": -/*!******************************************************!*\ - !*** ./default/assets/js/src/typedoc/Application.ts ***! - \******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"registerComponent\": () => /* binding */ registerComponent,\n/* harmony export */ \"Application\": () => /* binding */ Application\n/* harmony export */ });\n/**\n * List of all known components.\n */\nvar components = [];\n/**\n * Register a new component.\n */\nfunction registerComponent(constructor, selector) {\n components.push({\n selector: selector,\n constructor: constructor,\n });\n}\n/**\n * TypeDoc application class.\n */\nvar Application = /** @class */ (function () {\n /**\n * Create a new Application instance.\n */\n function Application() {\n this.createComponents(document.body);\n }\n /**\n * Create all components beneath the given jQuery element.\n */\n Application.prototype.createComponents = function (context) {\n components.forEach(function (c) {\n context.querySelectorAll(c.selector).forEach(function (el) {\n if (!el.dataset.hasInstance) {\n new c.constructor({ el: el });\n el.dataset.hasInstance = String(true);\n }\n });\n });\n };\n return Application;\n}());\n\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/Application.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/Component.ts": -/*!****************************************************!*\ - !*** ./default/assets/js/src/typedoc/Component.ts ***! - \****************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Component\": () => /* binding */ Component\n/* harmony export */ });\n/**\n * TypeDoc component class.\n */\nvar Component = /** @class */ (function () {\n function Component(options) {\n this.el = options.el;\n }\n return Component;\n}());\n\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/Component.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/EventTarget.ts": -/*!******************************************************!*\ - !*** ./default/assets/js/src/typedoc/EventTarget.ts ***! - \******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"EventTarget\": () => /* binding */ EventTarget\n/* harmony export */ });\n/**\n * TypeDoc event target class.\n */\nvar EventTarget = /** @class */ (function () {\n function EventTarget() {\n this.listeners = {};\n }\n EventTarget.prototype.addEventListener = function (type, callback) {\n if (!(type in this.listeners)) {\n this.listeners[type] = [];\n }\n this.listeners[type].push(callback);\n };\n EventTarget.prototype.removeEventListener = function (type, callback) {\n if (!(type in this.listeners)) {\n return;\n }\n var stack = this.listeners[type];\n for (var i = 0, l = stack.length; i < l; i++) {\n if (stack[i] === callback) {\n stack.splice(i, 1);\n return;\n }\n }\n };\n EventTarget.prototype.dispatchEvent = function (event) {\n if (!(event.type in this.listeners)) {\n return true;\n }\n var stack = this.listeners[event.type].slice();\n for (var i = 0, l = stack.length; i < l; i++) {\n stack[i].call(this, event);\n }\n return !event.defaultPrevented;\n };\n return EventTarget;\n}());\n\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/EventTarget.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/components/Filter.ts": -/*!************************************************************!*\ - !*** ./default/assets/js/src/typedoc/components/Filter.ts ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Filter\": () => /* binding */ Filter\n/* harmony export */ });\n/* harmony import */ var _Component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Component */ \"./default/assets/js/src/typedoc/Component.ts\");\n/* harmony import */ var _utils_pointer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/pointer */ \"./default/assets/js/src/typedoc/utils/pointer.ts\");\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\nvar FilterItem = /** @class */ (function () {\n function FilterItem(key, value) {\n this.key = key;\n this.value = value;\n this.defaultValue = value;\n this.initialize();\n if (window.localStorage[this.key]) {\n this.setValue(this.fromLocalStorage(window.localStorage[this.key]));\n }\n }\n FilterItem.prototype.initialize = function () { };\n FilterItem.prototype.setValue = function (value) {\n if (this.value == value)\n return;\n var oldValue = this.value;\n this.value = value;\n window.localStorage[this.key] = this.toLocalStorage(value);\n this.handleValueChange(oldValue, value);\n };\n return FilterItem;\n}());\nvar FilterItemCheckbox = /** @class */ (function (_super) {\n __extends(FilterItemCheckbox, _super);\n function FilterItemCheckbox() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n FilterItemCheckbox.prototype.initialize = function () {\n var _this = this;\n var checkbox = document.querySelector(\"#tsd-filter-\" + this.key);\n if (!checkbox)\n return;\n this.checkbox = checkbox;\n this.checkbox.addEventListener(\"change\", function () {\n _this.setValue(_this.checkbox.checked);\n });\n };\n FilterItemCheckbox.prototype.handleValueChange = function (oldValue, newValue) {\n if (!this.checkbox)\n return;\n this.checkbox.checked = this.value;\n document.documentElement.classList.toggle(\"toggle-\" + this.key, this.value != this.defaultValue);\n };\n FilterItemCheckbox.prototype.fromLocalStorage = function (value) {\n return value == \"true\";\n };\n FilterItemCheckbox.prototype.toLocalStorage = function (value) {\n return value ? \"true\" : \"false\";\n };\n return FilterItemCheckbox;\n}(FilterItem));\nvar FilterItemSelect = /** @class */ (function (_super) {\n __extends(FilterItemSelect, _super);\n function FilterItemSelect() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n FilterItemSelect.prototype.initialize = function () {\n var _this = this;\n document.documentElement.classList.add(\"toggle-\" + this.key + this.value);\n var select = document.querySelector(\"#tsd-filter-\" + this.key);\n if (!select)\n return;\n this.select = select;\n var onActivate = function () {\n _this.select.classList.add(\"active\");\n };\n var onDeactivate = function () {\n _this.select.classList.remove(\"active\");\n };\n this.select.addEventListener(_utils_pointer__WEBPACK_IMPORTED_MODULE_1__.pointerDown, onActivate);\n this.select.addEventListener(\"mouseover\", onActivate);\n this.select.addEventListener(\"mouseleave\", onDeactivate);\n this.select.querySelectorAll(\"li\").forEach(function (el) {\n el.addEventListener(_utils_pointer__WEBPACK_IMPORTED_MODULE_1__.pointerUp, function (e) {\n select.classList.remove(\"active\");\n _this.setValue(e.target.dataset.value || \"\");\n });\n });\n document.addEventListener(_utils_pointer__WEBPACK_IMPORTED_MODULE_1__.pointerDown, function (e) {\n if (_this.select.contains(e.target))\n return;\n _this.select.classList.remove(\"active\");\n });\n };\n FilterItemSelect.prototype.handleValueChange = function (oldValue, newValue) {\n this.select.querySelectorAll(\"li.selected\").forEach(function (el) {\n el.classList.remove(\"selected\");\n });\n var selected = this.select.querySelector('li[data-value=\"' + newValue + '\"]');\n var label = this.select.querySelector(\".tsd-select-label\");\n if (selected && label) {\n selected.classList.add(\"selected\");\n label.textContent = selected.textContent;\n }\n document.documentElement.classList.remove(\"toggle-\" + oldValue);\n document.documentElement.classList.add(\"toggle-\" + newValue);\n };\n FilterItemSelect.prototype.fromLocalStorage = function (value) {\n return value;\n };\n FilterItemSelect.prototype.toLocalStorage = function (value) {\n return value;\n };\n return FilterItemSelect;\n}(FilterItem));\nvar Filter = /** @class */ (function (_super) {\n __extends(Filter, _super);\n function Filter(options) {\n var _this = _super.call(this, options) || this;\n _this.optionVisibility = new FilterItemSelect(\"visibility\", \"private\");\n _this.optionInherited = new FilterItemCheckbox(\"inherited\", true);\n _this.optionExternals = new FilterItemCheckbox(\"externals\", true);\n return _this;\n }\n Filter.isSupported = function () {\n try {\n return typeof window.localStorage != \"undefined\";\n }\n catch (e) {\n return false;\n }\n };\n return Filter;\n}(_Component__WEBPACK_IMPORTED_MODULE_0__.Component));\n\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/components/Filter.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/components/MenuHighlight.ts": -/*!*******************************************************************!*\ - !*** ./default/assets/js/src/typedoc/components/MenuHighlight.ts ***! - \*******************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"MenuHighlight\": () => /* binding */ MenuHighlight\n/* harmony export */ });\n/* harmony import */ var _Component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Component */ \"./default/assets/js/src/typedoc/Component.ts\");\n/* harmony import */ var _services_Viewport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../services/Viewport */ \"./default/assets/js/src/typedoc/services/Viewport.ts\");\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n/**\n * Manages the sticky state of the navigation and moves the highlight\n * to the current navigation item.\n */\nvar MenuHighlight = /** @class */ (function (_super) {\n __extends(MenuHighlight, _super);\n /**\n * Create a new MenuHighlight instance.\n *\n * @param options Backbone view constructor options.\n */\n function MenuHighlight(options) {\n var _this = _super.call(this, options) || this;\n /**\n * List of all discovered anchors.\n */\n _this.anchors = [];\n /**\n * Index of the currently highlighted anchor.\n */\n _this.index = -1;\n _services_Viewport__WEBPACK_IMPORTED_MODULE_1__.Viewport.instance.addEventListener(\"resize\", function () { return _this.onResize(); });\n _services_Viewport__WEBPACK_IMPORTED_MODULE_1__.Viewport.instance.addEventListener(\"scroll\", function (e) { return _this.onScroll(e); });\n _this.createAnchors();\n return _this;\n }\n /**\n * Find all anchors on the current page.\n */\n MenuHighlight.prototype.createAnchors = function () {\n var _this = this;\n var base = window.location.href;\n if (base.indexOf(\"#\") != -1) {\n base = base.substr(0, base.indexOf(\"#\"));\n }\n this.el.querySelectorAll(\"a\").forEach(function (el) {\n var href = el.href;\n if (href.indexOf(\"#\") == -1)\n return;\n if (href.substr(0, base.length) != base)\n return;\n var hash = href.substr(href.indexOf(\"#\") + 1);\n var anchor = document.querySelector(\"a.tsd-anchor[name=\" + hash + \"]\");\n var link = el.parentNode;\n if (!anchor || !link)\n return;\n _this.anchors.push({\n link: link,\n anchor: anchor,\n position: 0,\n });\n });\n this.onResize();\n };\n /**\n * Triggered after the viewport was resized.\n */\n MenuHighlight.prototype.onResize = function () {\n var anchor;\n for (var index = 0, count = this.anchors.length; index < count; index++) {\n anchor = this.anchors[index];\n var rect = anchor.anchor.getBoundingClientRect();\n anchor.position = rect.top + document.body.scrollTop;\n }\n this.anchors.sort(function (a, b) {\n return a.position - b.position;\n });\n var event = new CustomEvent(\"scroll\", {\n detail: {\n scrollTop: _services_Viewport__WEBPACK_IMPORTED_MODULE_1__.Viewport.instance.scrollTop,\n },\n });\n this.onScroll(event);\n };\n /**\n * Triggered after the viewport was scrolled.\n *\n * @param event The custom event with the current vertical scroll position.\n */\n MenuHighlight.prototype.onScroll = function (event) {\n var scrollTop = event.detail.scrollTop + 5;\n var anchors = this.anchors;\n var count = anchors.length - 1;\n var index = this.index;\n while (index > -1 && anchors[index].position > scrollTop) {\n index -= 1;\n }\n while (index < count && anchors[index + 1].position < scrollTop) {\n index += 1;\n }\n if (this.index != index) {\n if (this.index > -1)\n this.anchors[this.index].link.classList.remove(\"focus\");\n this.index = index;\n if (this.index > -1)\n this.anchors[this.index].link.classList.add(\"focus\");\n }\n };\n return MenuHighlight;\n}(_Component__WEBPACK_IMPORTED_MODULE_0__.Component));\n\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/components/MenuHighlight.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/components/Search.ts": -/*!************************************************************!*\ - !*** ./default/assets/js/src/typedoc/components/Search.ts ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"initSearch\": () => /* binding */ initSearch\n/* harmony export */ });\n/* harmony import */ var _utils_debounce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/debounce */ \"./default/assets/js/src/typedoc/utils/debounce.ts\");\n/* harmony import */ var lunr__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lunr */ \"../node_modules/lunr/lunr.js\");\n/* harmony import */ var lunr__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lunr__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction initSearch() {\n var searchEl = document.getElementById(\"tsd-search\");\n if (!searchEl)\n return;\n var searchScript = document.getElementById(\"search-script\");\n searchEl.classList.add(\"loading\");\n if (searchScript) {\n searchScript.addEventListener(\"error\", function () {\n searchEl.classList.remove(\"loading\");\n searchEl.classList.add(\"failure\");\n });\n searchScript.addEventListener(\"load\", function () {\n searchEl.classList.remove(\"loading\");\n searchEl.classList.add(\"ready\");\n });\n if (window.searchData) {\n searchEl.classList.remove(\"loading\");\n }\n }\n var field = document.querySelector(\"#tsd-search-field\");\n var results = document.querySelector(\".results\");\n if (!field || !results) {\n throw new Error(\"The input field or the result list wrapper was not found\");\n }\n var resultClicked = false;\n results.addEventListener(\"mousedown\", function () { return (resultClicked = true); });\n results.addEventListener(\"mouseup\", function () {\n resultClicked = false;\n searchEl.classList.remove(\"has-focus\");\n });\n field.addEventListener(\"focus\", function () { return searchEl.classList.add(\"has-focus\"); });\n field.addEventListener(\"blur\", function () {\n if (!resultClicked) {\n resultClicked = false;\n searchEl.classList.remove(\"has-focus\");\n }\n });\n var state = {\n base: searchEl.dataset.base + \"/\",\n };\n bindEvents(searchEl, results, field, state);\n}\nfunction bindEvents(searchEl, results, field, state) {\n field.addEventListener(\"input\", (0,_utils_debounce__WEBPACK_IMPORTED_MODULE_0__.debounce)(function () {\n updateResults(searchEl, results, field, state);\n }, 200));\n var preventPress = false;\n field.addEventListener(\"keydown\", function (e) {\n preventPress = true;\n if (e.key == \"Enter\") {\n gotoCurrentResult(results, field);\n }\n else if (e.key == \"Escape\") {\n field.blur();\n }\n else if (e.key == \"ArrowUp\") {\n setCurrentResult(results, -1);\n }\n else if (e.key === \"ArrowDown\") {\n setCurrentResult(results, 1);\n }\n else {\n preventPress = false;\n }\n });\n field.addEventListener(\"keypress\", function (e) {\n if (preventPress)\n e.preventDefault();\n });\n /**\n * Start searching by pressing slash.\n */\n document.body.addEventListener(\"keydown\", function (e) {\n if (e.altKey || e.ctrlKey || e.metaKey)\n return;\n if (!field.matches(\":focus\") && e.key === \"/\") {\n field.focus();\n e.preventDefault();\n }\n });\n}\nfunction checkIndex(state, searchEl) {\n if (state.index)\n return;\n if (window.searchData) {\n searchEl.classList.remove(\"loading\");\n searchEl.classList.add(\"ready\");\n state.data = window.searchData;\n state.index = lunr__WEBPACK_IMPORTED_MODULE_1__.Index.load(window.searchData.index);\n }\n}\nfunction updateResults(searchEl, results, query, state) {\n checkIndex(state, searchEl);\n // Don't clear results if loading state is not ready,\n // because loading or error message can be removed.\n if (!state.index || !state.data)\n return;\n results.textContent = \"\";\n var searchText = query.value.trim();\n // Perform a wildcard search\n var res = state.index.search(\"*\" + searchText + \"*\");\n for (var i = 0, c = Math.min(10, res.length); i < c; i++) {\n var row = state.data.rows[Number(res[i].ref)];\n // Bold the matched part of the query in the search results\n var name_1 = boldMatches(row.name, searchText);\n if (row.parent) {\n name_1 = \"\" + boldMatches(row.parent, searchText) + \".\" + name_1;\n }\n var item = document.createElement(\"li\");\n item.classList.value = row.classes;\n var anchor = document.createElement(\"a\");\n anchor.href = state.base + row.url;\n anchor.classList.add(\"tsd-kind-icon\");\n anchor.innerHTML = name_1;\n item.append(anchor);\n results.appendChild(item);\n }\n}\n/**\n * Move the highlight within the result set.\n */\nfunction setCurrentResult(results, dir) {\n var current = results.querySelector(\".current\");\n if (!current) {\n current = results.querySelector(dir == 1 ? \"li:first-child\" : \"li:last-child\");\n if (current) {\n current.classList.add(\"current\");\n }\n }\n else {\n var rel = dir == 1\n ? current.nextElementSibling\n : current.previousElementSibling;\n if (rel) {\n current.classList.remove(\"current\");\n rel.classList.add(\"current\");\n }\n }\n}\n/**\n * Navigate to the highlighted result.\n */\nfunction gotoCurrentResult(results, field) {\n var current = results.querySelector(\".current\");\n if (!current) {\n current = results.querySelector(\"li:first-child\");\n }\n if (current) {\n var link = current.querySelector(\"a\");\n if (link) {\n window.location.href = link.href;\n }\n field.blur();\n }\n}\nfunction boldMatches(text, search) {\n if (search === \"\") {\n return text;\n }\n var lowerText = text.toLocaleLowerCase();\n var lowerSearch = search.toLocaleLowerCase();\n var parts = [];\n var lastIndex = 0;\n var index = lowerText.indexOf(lowerSearch);\n while (index != -1) {\n parts.push(escapeHtml(text.substring(lastIndex, index)), \"\" + escapeHtml(text.substring(index, index + lowerSearch.length)) + \"\");\n lastIndex = index + lowerSearch.length;\n index = lowerText.indexOf(lowerSearch, lastIndex);\n }\n parts.push(escapeHtml(text.substring(lastIndex)));\n return parts.join(\"\");\n}\nvar SPECIAL_HTML = {\n \"&\": \"&\",\n \"<\": \"<\",\n \">\": \">\",\n \"'\": \"'\",\n '\"': \""\",\n};\nfunction escapeHtml(text) {\n return text.replace(/[&<>\"'\"]/g, function (match) { return SPECIAL_HTML[match]; });\n}\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/components/Search.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/components/Signature.ts": -/*!***************************************************************!*\ - !*** ./default/assets/js/src/typedoc/components/Signature.ts ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Signature\": () => /* binding */ Signature\n/* harmony export */ });\n/* harmony import */ var _Component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Component */ \"./default/assets/js/src/typedoc/Component.ts\");\n/* harmony import */ var _services_Viewport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../services/Viewport */ \"./default/assets/js/src/typedoc/services/Viewport.ts\");\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n/**\n * Holds a signature and its description.\n */\nvar SignatureGroup = /** @class */ (function () {\n /**\n * Create a new SignatureGroup instance.\n *\n * @param signature The target signature.\n * @param description The description for the signature.\n */\n function SignatureGroup(signature, description) {\n this.signature = signature;\n this.description = description;\n }\n /**\n * Add the given class to all elements of the group.\n *\n * @param className The class name to add.\n */\n SignatureGroup.prototype.addClass = function (className) {\n this.signature.classList.add(className);\n this.description.classList.add(className);\n return this;\n };\n /**\n * Remove the given class from all elements of the group.\n *\n * @param className The class name to remove.\n */\n SignatureGroup.prototype.removeClass = function (className) {\n this.signature.classList.remove(className);\n this.description.classList.remove(className);\n return this;\n };\n return SignatureGroup;\n}());\n/**\n * Controls the tab like behaviour of methods and functions with multiple signatures.\n */\nvar Signature = /** @class */ (function (_super) {\n __extends(Signature, _super);\n /**\n * Create a new Signature instance.\n *\n * @param options Backbone view constructor options.\n */\n function Signature(options) {\n var _this = _super.call(this, options) || this;\n /**\n * List of found signature groups.\n */\n _this.groups = [];\n /**\n * The index of the currently displayed signature.\n */\n _this.index = -1;\n _this.createGroups();\n if (_this.container) {\n _this.el.classList.add(\"active\");\n Array.from(_this.el.children).forEach(function (signature) {\n signature.addEventListener(\"touchstart\", function (event) {\n return _this.onClick(event);\n });\n signature.addEventListener(\"click\", function (event) {\n return _this.onClick(event);\n });\n });\n _this.container.classList.add(\"active\");\n _this.setIndex(0);\n }\n return _this;\n }\n /**\n * Set the index of the active signature.\n *\n * @param index The index of the signature to activate.\n */\n Signature.prototype.setIndex = function (index) {\n if (index < 0)\n index = 0;\n if (index > this.groups.length - 1)\n index = this.groups.length - 1;\n if (this.index == index)\n return;\n var to = this.groups[index];\n if (this.index > -1) {\n var from_1 = this.groups[this.index];\n from_1.removeClass(\"current\").addClass(\"fade-out\");\n to.addClass(\"current\");\n to.addClass(\"fade-in\");\n _services_Viewport__WEBPACK_IMPORTED_MODULE_1__.Viewport.instance.triggerResize();\n setTimeout(function () {\n from_1.removeClass(\"fade-out\");\n to.removeClass(\"fade-in\");\n }, 300);\n }\n else {\n to.addClass(\"current\");\n _services_Viewport__WEBPACK_IMPORTED_MODULE_1__.Viewport.instance.triggerResize();\n }\n this.index = index;\n };\n /**\n * Find all signature/description groups.\n */\n Signature.prototype.createGroups = function () {\n var signatures = this.el.children;\n if (signatures.length < 2)\n return;\n this.container = this.el.nextElementSibling;\n var descriptions = this.container.children;\n this.groups = [];\n for (var index = 0; index < signatures.length; index++) {\n this.groups.push(new SignatureGroup(signatures[index], descriptions[index]));\n }\n };\n /**\n * Triggered when the user clicks onto a signature header.\n *\n * @param e The related event object.\n */\n Signature.prototype.onClick = function (e) {\n var _this = this;\n this.groups.forEach(function (group, index) {\n if (group.signature === e.currentTarget) {\n _this.setIndex(index);\n }\n });\n };\n return Signature;\n}(_Component__WEBPACK_IMPORTED_MODULE_0__.Component));\n\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/components/Signature.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/components/Toggle.ts": -/*!************************************************************!*\ - !*** ./default/assets/js/src/typedoc/components/Toggle.ts ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Toggle\": () => /* binding */ Toggle\n/* harmony export */ });\n/* harmony import */ var _Component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Component */ \"./default/assets/js/src/typedoc/Component.ts\");\n/* harmony import */ var _utils_pointer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/pointer */ \"./default/assets/js/src/typedoc/utils/pointer.ts\");\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\nvar Toggle = /** @class */ (function (_super) {\n __extends(Toggle, _super);\n function Toggle(options) {\n var _this = _super.call(this, options) || this;\n _this.className = _this.el.dataset.toggle || \"\";\n _this.el.addEventListener(_utils_pointer__WEBPACK_IMPORTED_MODULE_1__.pointerUp, function (e) { return _this.onPointerUp(e); });\n _this.el.addEventListener(\"click\", function (e) { return e.preventDefault(); });\n document.addEventListener(_utils_pointer__WEBPACK_IMPORTED_MODULE_1__.pointerDown, function (e) {\n return _this.onDocumentPointerDown(e);\n });\n document.addEventListener(_utils_pointer__WEBPACK_IMPORTED_MODULE_1__.pointerUp, function (e) {\n return _this.onDocumentPointerUp(e);\n });\n return _this;\n }\n Toggle.prototype.setActive = function (value) {\n if (this.active == value)\n return;\n this.active = value;\n document.documentElement.classList.toggle(\"has-\" + this.className, value);\n this.el.classList.toggle(\"active\", value);\n var transition = (this.active ? \"to-has-\" : \"from-has-\") + this.className;\n document.documentElement.classList.add(transition);\n setTimeout(function () { return document.documentElement.classList.remove(transition); }, 500);\n };\n Toggle.prototype.onPointerUp = function (event) {\n if (_utils_pointer__WEBPACK_IMPORTED_MODULE_1__.hasPointerMoved)\n return;\n this.setActive(true);\n event.preventDefault();\n };\n Toggle.prototype.onDocumentPointerDown = function (e) {\n if (this.active) {\n if (e.target.closest(\".col-menu, .tsd-filter-group\")) {\n return;\n }\n this.setActive(false);\n }\n };\n Toggle.prototype.onDocumentPointerUp = function (e) {\n var _this = this;\n if (_utils_pointer__WEBPACK_IMPORTED_MODULE_1__.hasPointerMoved)\n return;\n if (this.active) {\n if (e.target.closest(\".col-menu\")) {\n var link = e.target.closest(\"a\");\n if (link) {\n var href = window.location.href;\n if (href.indexOf(\"#\") != -1) {\n href = href.substr(0, href.indexOf(\"#\"));\n }\n if (link.href.substr(0, href.length) == href) {\n setTimeout(function () { return _this.setActive(false); }, 250);\n }\n }\n }\n }\n };\n return Toggle;\n}(_Component__WEBPACK_IMPORTED_MODULE_0__.Component));\n\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/components/Toggle.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/services/Viewport.ts": -/*!************************************************************!*\ - !*** ./default/assets/js/src/typedoc/services/Viewport.ts ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Viewport\": () => /* binding */ Viewport\n/* harmony export */ });\n/* harmony import */ var _EventTarget__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../EventTarget */ \"./default/assets/js/src/typedoc/EventTarget.ts\");\n/* harmony import */ var _utils_trottle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/trottle */ \"./default/assets/js/src/typedoc/utils/trottle.ts\");\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n/**\n * A global service that monitors the window size and scroll position.\n */\nvar Viewport = /** @class */ (function (_super) {\n __extends(Viewport, _super);\n /**\n * Create new Viewport instance.\n */\n function Viewport() {\n var _this = _super.call(this) || this;\n /**\n * The current scroll position.\n */\n _this.scrollTop = 0;\n /**\n * The previous scrollTop.\n */\n _this.lastY = 0;\n /**\n * The width of the window.\n */\n _this.width = 0;\n /**\n * The height of the window.\n */\n _this.height = 0;\n /**\n * Boolean indicating whether the toolbar is shown.\n */\n _this.showToolbar = true;\n _this.toolbar = (document.querySelector(\".tsd-page-toolbar\"));\n _this.secondaryNav = (document.querySelector(\".tsd-navigation.secondary\"));\n window.addEventListener(\"scroll\", (0,_utils_trottle__WEBPACK_IMPORTED_MODULE_1__.throttle)(function () { return _this.onScroll(); }, 10));\n window.addEventListener(\"resize\", (0,_utils_trottle__WEBPACK_IMPORTED_MODULE_1__.throttle)(function () { return _this.onResize(); }, 10));\n _this.onResize();\n _this.onScroll();\n return _this;\n }\n /**\n * Trigger a resize event.\n */\n Viewport.prototype.triggerResize = function () {\n var event = new CustomEvent(\"resize\", {\n detail: {\n width: this.width,\n height: this.height,\n },\n });\n this.dispatchEvent(event);\n };\n /**\n * Triggered when the size of the window has changed.\n */\n Viewport.prototype.onResize = function () {\n this.width = window.innerWidth || 0;\n this.height = window.innerHeight || 0;\n var event = new CustomEvent(\"resize\", {\n detail: {\n width: this.width,\n height: this.height,\n },\n });\n this.dispatchEvent(event);\n };\n /**\n * Triggered when the user scrolled the viewport.\n */\n Viewport.prototype.onScroll = function () {\n this.scrollTop = window.scrollY || 0;\n var event = new CustomEvent(\"scroll\", {\n detail: {\n scrollTop: this.scrollTop,\n },\n });\n this.dispatchEvent(event);\n this.hideShowToolbar();\n };\n /**\n * Handle hiding/showing of the toolbar.\n */\n Viewport.prototype.hideShowToolbar = function () {\n var isShown = this.showToolbar;\n this.showToolbar = this.lastY >= this.scrollTop || this.scrollTop <= 0;\n if (isShown !== this.showToolbar) {\n this.toolbar.classList.toggle(\"tsd-page-toolbar--hide\");\n this.secondaryNav.classList.toggle(\"tsd-navigation--toolbar-hide\");\n }\n this.lastY = this.scrollTop;\n };\n Viewport.instance = new Viewport();\n return Viewport;\n}(_EventTarget__WEBPACK_IMPORTED_MODULE_0__.EventTarget));\n\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/services/Viewport.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/utils/debounce.ts": -/*!*********************************************************!*\ - !*** ./default/assets/js/src/typedoc/utils/debounce.ts ***! - \*********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"debounce\": () => /* binding */ debounce\n/* harmony export */ });\nvar debounce = function (fn, wait) {\n if (wait === void 0) { wait = 100; }\n var timeout;\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n clearTimeout(timeout);\n timeout = setTimeout(function () { return fn(args); }, wait);\n };\n};\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/utils/debounce.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/utils/pointer.ts": -/*!********************************************************!*\ - !*** ./default/assets/js/src/typedoc/utils/pointer.ts ***! - \********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"pointerDown\": () => /* binding */ pointerDown,\n/* harmony export */ \"pointerMove\": () => /* binding */ pointerMove,\n/* harmony export */ \"pointerUp\": () => /* binding */ pointerUp,\n/* harmony export */ \"pointerDownPosition\": () => /* binding */ pointerDownPosition,\n/* harmony export */ \"preventNextClick\": () => /* binding */ preventNextClick,\n/* harmony export */ \"isPointerDown\": () => /* binding */ isPointerDown,\n/* harmony export */ \"isPointerTouch\": () => /* binding */ isPointerTouch,\n/* harmony export */ \"hasPointerMoved\": () => /* binding */ hasPointerMoved,\n/* harmony export */ \"isMobile\": () => /* binding */ isMobile\n/* harmony export */ });\n/**\n * Event name of the pointer down event.\n */\nvar pointerDown = \"mousedown\";\n/**\n * Event name of the pointer move event.\n */\nvar pointerMove = \"mousemove\";\n/**\n * Event name of the pointer up event.\n */\nvar pointerUp = \"mouseup\";\n/**\n * Position the pointer was pressed at.\n */\nvar pointerDownPosition = { x: 0, y: 0 };\n/**\n * Should the next click on the document be supressed?\n */\nvar preventNextClick = false;\n/**\n * Is the pointer down?\n */\nvar isPointerDown = false;\n/**\n * Is the pointer a touch point?\n */\nvar isPointerTouch = false;\n/**\n * Did the pointer move since the last down event?\n */\nvar hasPointerMoved = false;\n/**\n * Is the user agent a mobile agent?\n */\nvar isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\ndocument.documentElement.classList.add(isMobile ? \"is-mobile\" : \"not-mobile\");\nif (isMobile && \"ontouchstart\" in document.documentElement) {\n isPointerTouch = true;\n pointerDown = \"touchstart\";\n pointerMove = \"touchmove\";\n pointerUp = \"touchend\";\n}\ndocument.addEventListener(pointerDown, function (e) {\n isPointerDown = true;\n hasPointerMoved = false;\n var t = pointerDown == \"touchstart\"\n ? e.targetTouches[0]\n : e;\n pointerDownPosition.y = t.pageY || 0;\n pointerDownPosition.x = t.pageX || 0;\n});\ndocument.addEventListener(pointerMove, function (e) {\n if (!isPointerDown)\n return;\n if (!hasPointerMoved) {\n var t = pointerDown == \"touchstart\"\n ? e.targetTouches[0]\n : e;\n var x = pointerDownPosition.x - (t.pageX || 0);\n var y = pointerDownPosition.y - (t.pageY || 0);\n hasPointerMoved = Math.sqrt(x * x + y * y) > 10;\n }\n});\ndocument.addEventListener(pointerUp, function () {\n isPointerDown = false;\n});\ndocument.addEventListener(\"click\", function (e) {\n if (preventNextClick) {\n e.preventDefault();\n e.stopImmediatePropagation();\n preventNextClick = false;\n }\n});\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/utils/pointer.ts?"); - -/***/ }), - -/***/ "./default/assets/js/src/typedoc/utils/trottle.ts": -/*!********************************************************!*\ - !*** ./default/assets/js/src/typedoc/utils/trottle.ts ***! - \********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"throttle\": () => /* binding */ throttle\n/* harmony export */ });\nvar throttle = function (fn, wait) {\n if (wait === void 0) { wait = 100; }\n var time = Date.now();\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (time + wait - Date.now() < 0) {\n fn.apply(void 0, args);\n time = Date.now();\n }\n };\n};\n\n\n//# sourceURL=webpack:///./default/assets/js/src/typedoc/utils/trottle.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ if(__webpack_module_cache__[moduleId]) { -/******/ return __webpack_module_cache__[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/compat get default export */ -/******/ (() => { -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = (module) => { -/******/ var getter = module && module.__esModule ? -/******/ () => module['default'] : -/******/ () => module; -/******/ __webpack_require__.d(getter, { a: getter }); -/******/ return getter; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } -/******/ } -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop) -/******/ })(); -/******/ -/******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); -/******/ -/************************************************************************/ -/******/ // startup -/******/ // Load entry module -/******/ __webpack_require__("./default/assets/js/src/bootstrap.ts"); -/******/ // This entry module used 'exports' so it can't be inlined -/******/ })() -; \ No newline at end of file diff --git a/assets/js/search.js b/assets/js/search.js deleted file mode 100644 index e9404f07..00000000 --- a/assets/js/search.js +++ /dev/null @@ -1 +0,0 @@ -window.searchData = {"kinds":{"1":"Module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor","4194304":"Type alias","16777216":"Reference"},"rows":[{"id":0,"kind":1,"name":"Client","url":"modules/Client.html","classes":"tsd-kind-module"},{"id":1,"kind":256,"name":"ClientOptions","url":"interfaces/Client.ClientOptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"Client"},{"id":2,"kind":1024,"name":"apiURL","url":"interfaces/Client.ClientOptions.html#apiURL","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":3,"kind":1024,"name":"debug","url":"interfaces/Client.ClientOptions.html#debug","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":4,"kind":1024,"name":"cache","url":"interfaces/Client.ClientOptions.html#cache","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":5,"kind":1024,"name":"unreads","url":"interfaces/Client.ClientOptions.html#unreads","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":6,"kind":1024,"name":"heartbeat","url":"interfaces/Client.ClientOptions.html#heartbeat","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":7,"kind":1024,"name":"autoReconnect","url":"interfaces/Client.ClientOptions.html#autoReconnect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":8,"kind":1024,"name":"pongTimeout","url":"interfaces/Client.ClientOptions.html#pongTimeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":9,"kind":1024,"name":"onPongTimeout","url":"interfaces/Client.ClientOptions.html#onPongTimeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":10,"kind":1024,"name":"ackRateLimiter","url":"interfaces/Client.ClientOptions.html#ackRateLimiter","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":11,"kind":128,"name":"Client","url":"classes/Client.Client-1.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"Client"},{"id":12,"kind":512,"name":"constructor","url":"classes/Client.Client-1.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Client.Client"},{"id":13,"kind":2048,"name":"on","url":"classes/Client.Client-1.html#on","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":14,"kind":1024,"name":"heartbeat","url":"classes/Client.Client-1.html#heartbeat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":15,"kind":1024,"name":"api","url":"classes/Client.Client-1.html#api","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":16,"kind":1024,"name":"session","url":"classes/Client.Client-1.html#session","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":17,"kind":1024,"name":"user","url":"classes/Client.Client-1.html#user","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":18,"kind":1024,"name":"options","url":"classes/Client.Client-1.html#options","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":19,"kind":1024,"name":"websocket","url":"classes/Client.Client-1.html#websocket","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":20,"kind":1024,"name":"configuration","url":"classes/Client.Client-1.html#configuration","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":21,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"Client.Client"},{"id":22,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.Client.__type"},{"id":23,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type.__type-2.__type-4","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.Client.__type.__type"},{"id":24,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type.__type-2.__type-3","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.Client.__type.__type"},{"id":25,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type.__type-2.__type-5","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.Client.__type.__type"},{"id":26,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type.__type-2.__type-6","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.Client.__type.__type"},{"id":27,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.Client.__type"},{"id":28,"kind":1024,"name":"users","url":"classes/Client.Client-1.html#users","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":29,"kind":1024,"name":"channels","url":"classes/Client.Client-1.html#channels","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":30,"kind":1024,"name":"servers","url":"classes/Client.Client-1.html#servers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":31,"kind":1024,"name":"members","url":"classes/Client.Client-1.html#members","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":32,"kind":1024,"name":"messages","url":"classes/Client.Client-1.html#messages","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":33,"kind":1024,"name":"bots","url":"classes/Client.Client-1.html#bots","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":34,"kind":1024,"name":"emojis","url":"classes/Client.Client-1.html#emojis","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":35,"kind":1024,"name":"unreads","url":"classes/Client.Client-1.html#unreads","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":36,"kind":262144,"name":"apiURL","url":"classes/Client.Client-1.html#apiURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Client.Client"},{"id":37,"kind":262144,"name":"debug","url":"classes/Client.Client-1.html#debug","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Client.Client"},{"id":38,"kind":262144,"name":"autoReconnect","url":"classes/Client.Client-1.html#autoReconnect","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Client.Client"},{"id":39,"kind":2048,"name":"connect","url":"classes/Client.Client-1.html#connect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":40,"kind":2048,"name":"fetchConfiguration","url":"classes/Client.Client-1.html#fetchConfiguration","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":41,"kind":2048,"name":"$updateHeaders","url":"classes/Client.Client-1.html#_updateHeaders","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"Client.Client"},{"id":42,"kind":2048,"name":"login","url":"classes/Client.Client-1.html#login","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":43,"kind":2048,"name":"useExistingSession","url":"classes/Client.Client-1.html#useExistingSession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":44,"kind":2048,"name":"loginBot","url":"classes/Client.Client-1.html#loginBot","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":45,"kind":2048,"name":"$connect","url":"classes/Client.Client-1.html#_connect","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"Client.Client"},{"id":46,"kind":2048,"name":"completeOnboarding","url":"classes/Client.Client-1.html#completeOnboarding","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":47,"kind":2048,"name":"fetchInvite","url":"classes/Client.Client-1.html#fetchInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":48,"kind":2048,"name":"joinInvite","url":"classes/Client.Client-1.html#joinInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":49,"kind":2048,"name":"deleteInvite","url":"classes/Client.Client-1.html#deleteInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":50,"kind":2048,"name":"syncFetchSettings","url":"classes/Client.Client-1.html#syncFetchSettings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":51,"kind":2048,"name":"syncSetSettings","url":"classes/Client.Client-1.html#syncSetSettings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":52,"kind":2048,"name":"syncFetchUnreads","url":"classes/Client.Client-1.html#syncFetchUnreads","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":53,"kind":2048,"name":"logout","url":"classes/Client.Client-1.html#logout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":54,"kind":2048,"name":"reset","url":"classes/Client.Client-1.html#reset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":55,"kind":2048,"name":"register","url":"classes/Client.Client-1.html#register","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":56,"kind":2048,"name":"markdownToText","url":"classes/Client.Client-1.html#markdownToText","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":57,"kind":2048,"name":"proxyFile","url":"classes/Client.Client-1.html#proxyFile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":58,"kind":2048,"name":"generateFileURL","url":"classes/Client.Client-1.html#generateFileURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":59,"kind":32,"name":"RE_MENTIONS","url":"modules/Client.html#RE_MENTIONS","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"Client"},{"id":60,"kind":32,"name":"RE_SPOILER","url":"modules/Client.html#RE_SPOILER","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"Client"},{"id":61,"kind":4194304,"name":"FileArgs","url":"modules/Client.html#FileArgs","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"Client"},{"id":62,"kind":4194304,"name":"Session","url":"modules/Client.html#Session","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"Client"},{"id":63,"kind":65536,"name":"__type","url":"modules/Client.html#Session.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Client.Session"},{"id":64,"kind":1024,"name":"token","url":"modules/Client.html#Session.__type.token","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Client.Session.__type"},{"id":65,"kind":1,"name":"config","url":"modules/config.html","classes":"tsd-kind-module"},{"id":66,"kind":32,"name":"LIBRARY_VERSION","url":"modules/config.html#LIBRARY_VERSION","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"config"},{"id":67,"kind":32,"name":"defaultConfig","url":"modules/config.html#defaultConfig","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"config"},{"id":68,"kind":65536,"name":"__type","url":"modules/config.html#defaultConfig.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"config.defaultConfig"},{"id":69,"kind":1024,"name":"apiURL","url":"modules/config.html#defaultConfig.__type.apiURL","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":70,"kind":1024,"name":"autoReconnect","url":"modules/config.html#defaultConfig.__type.autoReconnect","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":71,"kind":1024,"name":"heartbeat","url":"modules/config.html#defaultConfig.__type.heartbeat","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":72,"kind":1024,"name":"debug","url":"modules/config.html#defaultConfig.__type.debug","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":73,"kind":1024,"name":"cache","url":"modules/config.html#defaultConfig.__type.cache","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":74,"kind":1024,"name":"unreads","url":"modules/config.html#defaultConfig.__type.unreads","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":75,"kind":1024,"name":"ackRateLimiter","url":"modules/config.html#defaultConfig.__type.ackRateLimiter","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":76,"kind":1,"name":"globals","url":"modules/globals.html","classes":"tsd-kind-module"},{"id":77,"kind":4194304,"name":"Tail","url":"modules/globals.html#Tail","classes":"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter","parent":"globals"},{"id":78,"kind":1,"name":"index","url":"modules/index.html","classes":"tsd-kind-module"},{"id":79,"kind":1,"name":"maps/Bots","url":"modules/maps_Bots.html","classes":"tsd-kind-module"},{"id":80,"kind":128,"name":"default","url":"classes/maps_Bots.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Bots"},{"id":81,"kind":512,"name":"constructor","url":"classes/maps_Bots.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":82,"kind":1024,"name":"client","url":"classes/maps_Bots.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":83,"kind":2048,"name":"fetch","url":"classes/maps_Bots.default.html#fetch","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":84,"kind":2048,"name":"delete","url":"classes/maps_Bots.default.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":85,"kind":2048,"name":"fetchPublic","url":"classes/maps_Bots.default.html#fetchPublic","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":86,"kind":2048,"name":"invite","url":"classes/maps_Bots.default.html#invite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":87,"kind":2048,"name":"fetchOwned","url":"classes/maps_Bots.default.html#fetchOwned","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":88,"kind":2048,"name":"edit","url":"classes/maps_Bots.default.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":89,"kind":2048,"name":"create","url":"classes/maps_Bots.default.html#create","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":90,"kind":1,"name":"maps/Channels","url":"modules/maps_Channels.html","classes":"tsd-kind-module"},{"id":91,"kind":128,"name":"Channel","url":"classes/maps_Channels.Channel.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Channels"},{"id":92,"kind":512,"name":"constructor","url":"classes/maps_Channels.Channel.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":93,"kind":1024,"name":"client","url":"classes/maps_Channels.Channel.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":94,"kind":1024,"name":"_id","url":"classes/maps_Channels.Channel.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":95,"kind":1024,"name":"channel_type","url":"classes/maps_Channels.Channel.html#channel_type","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":96,"kind":1024,"name":"active","url":"classes/maps_Channels.Channel.html#active","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":97,"kind":1024,"name":"owner_id","url":"classes/maps_Channels.Channel.html#owner_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":98,"kind":1024,"name":"server_id","url":"classes/maps_Channels.Channel.html#server_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":99,"kind":1024,"name":"permissions","url":"classes/maps_Channels.Channel.html#permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":100,"kind":1024,"name":"default_permissions","url":"classes/maps_Channels.Channel.html#default_permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":101,"kind":1024,"name":"role_permissions","url":"classes/maps_Channels.Channel.html#role_permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":102,"kind":1024,"name":"name","url":"classes/maps_Channels.Channel.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":103,"kind":1024,"name":"icon","url":"classes/maps_Channels.Channel.html#icon","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":104,"kind":1024,"name":"description","url":"classes/maps_Channels.Channel.html#description","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":105,"kind":1024,"name":"recipient_ids","url":"classes/maps_Channels.Channel.html#recipient_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":106,"kind":1024,"name":"last_message_id","url":"classes/maps_Channels.Channel.html#last_message_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":107,"kind":1024,"name":"typing_ids","url":"classes/maps_Channels.Channel.html#typing_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":108,"kind":1024,"name":"nsfw","url":"classes/maps_Channels.Channel.html#nsfw","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":109,"kind":262144,"name":"owner","url":"classes/maps_Channels.Channel.html#owner","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":110,"kind":262144,"name":"server","url":"classes/maps_Channels.Channel.html#server","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":111,"kind":262144,"name":"recipient","url":"classes/maps_Channels.Channel.html#recipient","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":112,"kind":262144,"name":"last_message","url":"classes/maps_Channels.Channel.html#last_message","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":113,"kind":262144,"name":"last_message_id_or_past","url":"classes/maps_Channels.Channel.html#last_message_id_or_past","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":114,"kind":262144,"name":"recipients","url":"classes/maps_Channels.Channel.html#recipients","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":115,"kind":262144,"name":"typing","url":"classes/maps_Channels.Channel.html#typing","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":116,"kind":262144,"name":"createdAt","url":"classes/maps_Channels.Channel.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":117,"kind":262144,"name":"updatedAt","url":"classes/maps_Channels.Channel.html#updatedAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":118,"kind":262144,"name":"path","url":"classes/maps_Channels.Channel.html#path","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":119,"kind":262144,"name":"url","url":"classes/maps_Channels.Channel.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":120,"kind":2048,"name":"isUnread","url":"classes/maps_Channels.Channel.html#isUnread","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":121,"kind":2048,"name":"getMentions","url":"classes/maps_Channels.Channel.html#getMentions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":122,"kind":262144,"name":"unread","url":"classes/maps_Channels.Channel.html#unread","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":123,"kind":262144,"name":"mentions","url":"classes/maps_Channels.Channel.html#mentions","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":124,"kind":2048,"name":"update","url":"classes/maps_Channels.Channel.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":125,"kind":2048,"name":"updateGroupJoin","url":"classes/maps_Channels.Channel.html#updateGroupJoin","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":126,"kind":2048,"name":"updateGroupLeave","url":"classes/maps_Channels.Channel.html#updateGroupLeave","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":127,"kind":2048,"name":"updateStartTyping","url":"classes/maps_Channels.Channel.html#updateStartTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":128,"kind":2048,"name":"updateStopTyping","url":"classes/maps_Channels.Channel.html#updateStopTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":129,"kind":2048,"name":"fetchMembers","url":"classes/maps_Channels.Channel.html#fetchMembers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":130,"kind":2048,"name":"edit","url":"classes/maps_Channels.Channel.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":131,"kind":2048,"name":"delete","url":"classes/maps_Channels.Channel.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":132,"kind":2048,"name":"addMember","url":"classes/maps_Channels.Channel.html#addMember","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":133,"kind":2048,"name":"removeMember","url":"classes/maps_Channels.Channel.html#removeMember","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":134,"kind":2048,"name":"sendMessage","url":"classes/maps_Channels.Channel.html#sendMessage","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":135,"kind":2048,"name":"fetchMessage","url":"classes/maps_Channels.Channel.html#fetchMessage","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":136,"kind":2048,"name":"fetchMessages","url":"classes/maps_Channels.Channel.html#fetchMessages","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":137,"kind":2048,"name":"fetchMessagesWithUsers","url":"classes/maps_Channels.Channel.html#fetchMessagesWithUsers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":138,"kind":2048,"name":"search","url":"classes/maps_Channels.Channel.html#search","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":139,"kind":2048,"name":"searchWithUsers","url":"classes/maps_Channels.Channel.html#searchWithUsers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":140,"kind":2048,"name":"fetchStale","url":"classes/maps_Channels.Channel.html#fetchStale","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":141,"kind":2048,"name":"deleteMessages","url":"classes/maps_Channels.Channel.html#deleteMessages","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":142,"kind":2048,"name":"createInvite","url":"classes/maps_Channels.Channel.html#createInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":143,"kind":2048,"name":"joinCall","url":"classes/maps_Channels.Channel.html#joinCall","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":144,"kind":1024,"name":"ackTimeout","url":"classes/maps_Channels.Channel.html#ackTimeout","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"maps/Channels.Channel"},{"id":145,"kind":1024,"name":"ackLimit","url":"classes/maps_Channels.Channel.html#ackLimit","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"maps/Channels.Channel"},{"id":146,"kind":2048,"name":"ack","url":"classes/maps_Channels.Channel.html#ack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":147,"kind":2048,"name":"setPermissions","url":"classes/maps_Channels.Channel.html#setPermissions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":148,"kind":2048,"name":"startTyping","url":"classes/maps_Channels.Channel.html#startTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":149,"kind":2048,"name":"stopTyping","url":"classes/maps_Channels.Channel.html#stopTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":150,"kind":2048,"name":"generateIconURL","url":"classes/maps_Channels.Channel.html#generateIconURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":151,"kind":262144,"name":"permission","url":"classes/maps_Channels.Channel.html#permission","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":152,"kind":2048,"name":"havePermission","url":"classes/maps_Channels.Channel.html#havePermission","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":153,"kind":128,"name":"default","url":"classes/maps_Channels.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Channels"},{"id":154,"kind":512,"name":"constructor","url":"classes/maps_Channels.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"maps/Channels.default"},{"id":155,"kind":2048,"name":"$get","url":"classes/maps_Channels.default.html#_get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":156,"kind":2048,"name":"exists","url":"classes/maps_Channels.default.html#exists","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":157,"kind":2048,"name":"fetch","url":"classes/maps_Channels.default.html#fetch","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":158,"kind":2048,"name":"createObj","url":"classes/maps_Channels.default.html#createObj","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":159,"kind":2048,"name":"createGroup","url":"classes/maps_Channels.default.html#createGroup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":160,"kind":1024,"name":"client","url":"classes/maps_Channels.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"maps/Channels.default"},{"id":161,"kind":65536,"name":"__type","url":"classes/maps_Channels.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":162,"kind":1,"name":"maps/Collection","url":"modules/maps_Collection.html","classes":"tsd-kind-module"},{"id":163,"kind":128,"name":"default","url":"classes/maps_Collection.default.html","classes":"tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter","parent":"maps/Collection"},{"id":164,"kind":512,"name":"constructor","url":"classes/maps_Collection.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"maps/Collection.default"},{"id":165,"kind":1024,"name":"client","url":"classes/maps_Collection.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Collection.default"},{"id":166,"kind":65536,"name":"__type","url":"classes/maps_Collection.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Collection.default"},{"id":167,"kind":1,"name":"maps/Emojis","url":"modules/maps_Emojis.html","classes":"tsd-kind-module"},{"id":168,"kind":128,"name":"Emoji","url":"classes/maps_Emojis.Emoji.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Emojis"},{"id":169,"kind":512,"name":"constructor","url":"classes/maps_Emojis.Emoji.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":170,"kind":1024,"name":"client","url":"classes/maps_Emojis.Emoji.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":171,"kind":1024,"name":"_id","url":"classes/maps_Emojis.Emoji.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":172,"kind":1024,"name":"name","url":"classes/maps_Emojis.Emoji.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":173,"kind":1024,"name":"creator_id","url":"classes/maps_Emojis.Emoji.html#creator_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":174,"kind":1024,"name":"parent","url":"classes/maps_Emojis.Emoji.html#parent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":175,"kind":1024,"name":"animated","url":"classes/maps_Emojis.Emoji.html#animated","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":176,"kind":1024,"name":"nsfw","url":"classes/maps_Emojis.Emoji.html#nsfw","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":177,"kind":262144,"name":"createdAt","url":"classes/maps_Emojis.Emoji.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":178,"kind":262144,"name":"creator","url":"classes/maps_Emojis.Emoji.html#creator","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":179,"kind":2048,"name":"delete","url":"classes/maps_Emojis.Emoji.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":180,"kind":262144,"name":"imageURL","url":"classes/maps_Emojis.Emoji.html#imageURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Emojis.Emoji"},{"id":181,"kind":128,"name":"default","url":"classes/maps_Emojis.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Emojis"},{"id":182,"kind":512,"name":"constructor","url":"classes/maps_Emojis.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"maps/Emojis.default"},{"id":183,"kind":2048,"name":"createObj","url":"classes/maps_Emojis.default.html#createObj","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Emojis.default"},{"id":184,"kind":1024,"name":"client","url":"classes/maps_Emojis.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"maps/Emojis.default"},{"id":185,"kind":65536,"name":"__type","url":"classes/maps_Emojis.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Emojis.default"},{"id":186,"kind":1,"name":"maps/Members","url":"modules/maps_Members.html","classes":"tsd-kind-module"},{"id":187,"kind":128,"name":"Member","url":"classes/maps_Members.Member.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Members"},{"id":188,"kind":512,"name":"constructor","url":"classes/maps_Members.Member.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":189,"kind":1024,"name":"client","url":"classes/maps_Members.Member.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":190,"kind":1024,"name":"_id","url":"classes/maps_Members.Member.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":191,"kind":65536,"name":"__type","url":"classes/maps_Members.Member.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":192,"kind":1024,"name":"joined_at","url":"classes/maps_Members.Member.html#joined_at","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":193,"kind":1024,"name":"nickname","url":"classes/maps_Members.Member.html#nickname","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":194,"kind":1024,"name":"avatar","url":"classes/maps_Members.Member.html#avatar","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":195,"kind":1024,"name":"roles","url":"classes/maps_Members.Member.html#roles","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":196,"kind":1024,"name":"timeout","url":"classes/maps_Members.Member.html#timeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":197,"kind":1024,"name":"_timeout","url":"classes/maps_Members.Member.html#_timeout","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"maps/Members.Member"},{"id":198,"kind":262144,"name":"user","url":"classes/maps_Members.Member.html#user-1","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":199,"kind":262144,"name":"server","url":"classes/maps_Members.Member.html#server-1","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":200,"kind":262144,"name":"inferior","url":"classes/maps_Members.Member.html#inferior","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":201,"kind":262144,"name":"kickable","url":"classes/maps_Members.Member.html#kickable","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":202,"kind":262144,"name":"bannable","url":"classes/maps_Members.Member.html#bannable","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":203,"kind":2048,"name":"update","url":"classes/maps_Members.Member.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":204,"kind":2048,"name":"scheduleTimeout","url":"classes/maps_Members.Member.html#scheduleTimeout","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"maps/Members.Member"},{"id":205,"kind":2048,"name":"edit","url":"classes/maps_Members.Member.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":206,"kind":2048,"name":"kick","url":"classes/maps_Members.Member.html#kick","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":207,"kind":262144,"name":"orderedRoles","url":"classes/maps_Members.Member.html#orderedRoles","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":208,"kind":262144,"name":"hoistedRole","url":"classes/maps_Members.Member.html#hoistedRole","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":209,"kind":262144,"name":"roleColour","url":"classes/maps_Members.Member.html#roleColour","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":210,"kind":262144,"name":"ranking","url":"classes/maps_Members.Member.html#ranking","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":211,"kind":262144,"name":"avatarURL","url":"classes/maps_Members.Member.html#avatarURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":212,"kind":262144,"name":"animatedAvatarURL","url":"classes/maps_Members.Member.html#animatedAvatarURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":213,"kind":2048,"name":"generateAvatarURL","url":"classes/maps_Members.Member.html#generateAvatarURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":214,"kind":2048,"name":"getPermissions","url":"classes/maps_Members.Member.html#getPermissions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":215,"kind":2048,"name":"hasPermission","url":"classes/maps_Members.Member.html#hasPermission","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":216,"kind":2048,"name":"inferiorTo","url":"classes/maps_Members.Member.html#inferiorTo","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":217,"kind":128,"name":"default","url":"classes/maps_Members.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Members"},{"id":218,"kind":2048,"name":"toKey","url":"classes/maps_Members.default.html#toKey","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"maps/Members.default"},{"id":219,"kind":512,"name":"constructor","url":"classes/maps_Members.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"maps/Members.default"},{"id":220,"kind":2048,"name":"hasKey","url":"classes/maps_Members.default.html#hasKey","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":221,"kind":2048,"name":"getKey","url":"classes/maps_Members.default.html#getKey","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":222,"kind":2048,"name":"setKey","url":"classes/maps_Members.default.html#setKey","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":223,"kind":2048,"name":"deleteKey","url":"classes/maps_Members.default.html#deleteKey","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":224,"kind":2048,"name":"$get","url":"classes/maps_Members.default.html#_get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":225,"kind":2048,"name":"createObj","url":"classes/maps_Members.default.html#createObj","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":226,"kind":1024,"name":"client","url":"classes/maps_Members.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"maps/Members.default"},{"id":227,"kind":65536,"name":"__type","url":"classes/maps_Members.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Members.default"},{"id":228,"kind":1,"name":"maps/Messages","url":"modules/maps_Messages.html","classes":"tsd-kind-module"},{"id":229,"kind":128,"name":"Message","url":"classes/maps_Messages.Message.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Messages"},{"id":230,"kind":512,"name":"constructor","url":"classes/maps_Messages.Message.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":231,"kind":1024,"name":"client","url":"classes/maps_Messages.Message.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":232,"kind":1024,"name":"_id","url":"classes/maps_Messages.Message.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":233,"kind":1024,"name":"nonce","url":"classes/maps_Messages.Message.html#nonce","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":234,"kind":1024,"name":"channel_id","url":"classes/maps_Messages.Message.html#channel_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":235,"kind":1024,"name":"author_id","url":"classes/maps_Messages.Message.html#author_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":236,"kind":1024,"name":"content","url":"classes/maps_Messages.Message.html#content","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":237,"kind":1024,"name":"system","url":"classes/maps_Messages.Message.html#system","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":238,"kind":1024,"name":"attachments","url":"classes/maps_Messages.Message.html#attachments","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":239,"kind":1024,"name":"edited","url":"classes/maps_Messages.Message.html#edited","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":240,"kind":1024,"name":"embeds","url":"classes/maps_Messages.Message.html#embeds","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":241,"kind":1024,"name":"mention_ids","url":"classes/maps_Messages.Message.html#mention_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":242,"kind":1024,"name":"reply_ids","url":"classes/maps_Messages.Message.html#reply_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":243,"kind":1024,"name":"masquerade","url":"classes/maps_Messages.Message.html#masquerade","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":244,"kind":1024,"name":"reactions","url":"classes/maps_Messages.Message.html#reactions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":245,"kind":1024,"name":"interactions","url":"classes/maps_Messages.Message.html#interactions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":246,"kind":262144,"name":"channel","url":"classes/maps_Messages.Message.html#channel","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":247,"kind":262144,"name":"author","url":"classes/maps_Messages.Message.html#author","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":248,"kind":262144,"name":"member","url":"classes/maps_Messages.Message.html#member","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":249,"kind":262144,"name":"mentions","url":"classes/maps_Messages.Message.html#mentions","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":250,"kind":262144,"name":"createdAt","url":"classes/maps_Messages.Message.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":251,"kind":262144,"name":"path","url":"classes/maps_Messages.Message.html#path","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":252,"kind":262144,"name":"url","url":"classes/maps_Messages.Message.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":253,"kind":262144,"name":"username","url":"classes/maps_Messages.Message.html#username","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":254,"kind":262144,"name":"roleColour","url":"classes/maps_Messages.Message.html#roleColour","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":255,"kind":262144,"name":"avatarURL","url":"classes/maps_Messages.Message.html#avatarURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":256,"kind":262144,"name":"animatedAvatarURL","url":"classes/maps_Messages.Message.html#animatedAvatarURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":257,"kind":2048,"name":"generateMasqAvatarURL","url":"classes/maps_Messages.Message.html#generateMasqAvatarURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":258,"kind":262144,"name":"asSystemMessage","url":"classes/maps_Messages.Message.html#asSystemMessage","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":259,"kind":2048,"name":"update","url":"classes/maps_Messages.Message.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":260,"kind":2048,"name":"append","url":"classes/maps_Messages.Message.html#append","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":261,"kind":2048,"name":"edit","url":"classes/maps_Messages.Message.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":262,"kind":2048,"name":"delete","url":"classes/maps_Messages.Message.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":263,"kind":2048,"name":"ack","url":"classes/maps_Messages.Message.html#ack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":264,"kind":2048,"name":"reply","url":"classes/maps_Messages.Message.html#reply","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":265,"kind":2048,"name":"clearReactions","url":"classes/maps_Messages.Message.html#clearReactions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":266,"kind":2048,"name":"react","url":"classes/maps_Messages.Message.html#react","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":267,"kind":2048,"name":"unreact","url":"classes/maps_Messages.Message.html#unreact","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":268,"kind":128,"name":"default","url":"classes/maps_Messages.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Messages"},{"id":269,"kind":512,"name":"constructor","url":"classes/maps_Messages.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"maps/Messages.default"},{"id":270,"kind":2048,"name":"$get","url":"classes/maps_Messages.default.html#_get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.default"},{"id":271,"kind":2048,"name":"createObj","url":"classes/maps_Messages.default.html#createObj","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.default"},{"id":272,"kind":1024,"name":"client","url":"classes/maps_Messages.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"maps/Messages.default"},{"id":273,"kind":65536,"name":"__type","url":"classes/maps_Messages.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Messages.default"},{"id":274,"kind":1,"name":"maps/Servers","url":"modules/maps_Servers.html","classes":"tsd-kind-module"},{"id":275,"kind":128,"name":"Server","url":"classes/maps_Servers.Server.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Servers"},{"id":276,"kind":512,"name":"constructor","url":"classes/maps_Servers.Server.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":277,"kind":1024,"name":"client","url":"classes/maps_Servers.Server.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":278,"kind":1024,"name":"_id","url":"classes/maps_Servers.Server.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":279,"kind":1024,"name":"owner","url":"classes/maps_Servers.Server.html#owner","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":280,"kind":1024,"name":"name","url":"classes/maps_Servers.Server.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":281,"kind":1024,"name":"description","url":"classes/maps_Servers.Server.html#description","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":282,"kind":1024,"name":"channel_ids","url":"classes/maps_Servers.Server.html#channel_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":283,"kind":1024,"name":"categories","url":"classes/maps_Servers.Server.html#categories","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":284,"kind":1024,"name":"system_messages","url":"classes/maps_Servers.Server.html#system_messages","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":285,"kind":1024,"name":"roles","url":"classes/maps_Servers.Server.html#roles","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":286,"kind":1024,"name":"default_permissions","url":"classes/maps_Servers.Server.html#default_permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":287,"kind":1024,"name":"icon","url":"classes/maps_Servers.Server.html#icon","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":288,"kind":1024,"name":"banner","url":"classes/maps_Servers.Server.html#banner","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":289,"kind":1024,"name":"nsfw","url":"classes/maps_Servers.Server.html#nsfw","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":290,"kind":1024,"name":"flags","url":"classes/maps_Servers.Server.html#flags","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":291,"kind":262144,"name":"channels","url":"classes/maps_Servers.Server.html#channels","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":292,"kind":262144,"name":"createdAt","url":"classes/maps_Servers.Server.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":293,"kind":262144,"name":"path","url":"classes/maps_Servers.Server.html#path","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":294,"kind":262144,"name":"url","url":"classes/maps_Servers.Server.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":295,"kind":262144,"name":"orderedChannels","url":"classes/maps_Servers.Server.html#orderedChannels","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":296,"kind":262144,"name":"defaultChannel","url":"classes/maps_Servers.Server.html#defaultChannel","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":297,"kind":262144,"name":"orderedRoles","url":"classes/maps_Servers.Server.html#orderedRoles","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":298,"kind":2048,"name":"isUnread","url":"classes/maps_Servers.Server.html#isUnread","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":299,"kind":2048,"name":"getMentions","url":"classes/maps_Servers.Server.html#getMentions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":300,"kind":2048,"name":"update","url":"classes/maps_Servers.Server.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":301,"kind":2048,"name":"createChannel","url":"classes/maps_Servers.Server.html#createChannel","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":302,"kind":2048,"name":"edit","url":"classes/maps_Servers.Server.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":303,"kind":2048,"name":"delete","url":"classes/maps_Servers.Server.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":304,"kind":2048,"name":"ack","url":"classes/maps_Servers.Server.html#ack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":305,"kind":2048,"name":"banUser","url":"classes/maps_Servers.Server.html#banUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":306,"kind":2048,"name":"unbanUser","url":"classes/maps_Servers.Server.html#unbanUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":307,"kind":2048,"name":"fetchInvites","url":"classes/maps_Servers.Server.html#fetchInvites","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":308,"kind":2048,"name":"fetchBans","url":"classes/maps_Servers.Server.html#fetchBans","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":309,"kind":2048,"name":"setPermissions","url":"classes/maps_Servers.Server.html#setPermissions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":310,"kind":2048,"name":"createRole","url":"classes/maps_Servers.Server.html#createRole","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":311,"kind":2048,"name":"editRole","url":"classes/maps_Servers.Server.html#editRole","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":312,"kind":2048,"name":"deleteRole","url":"classes/maps_Servers.Server.html#deleteRole","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":313,"kind":2048,"name":"fetchMember","url":"classes/maps_Servers.Server.html#fetchMember","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":314,"kind":2048,"name":"syncMembers","url":"classes/maps_Servers.Server.html#syncMembers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":315,"kind":2048,"name":"fetchMembers","url":"classes/maps_Servers.Server.html#fetchMembers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":316,"kind":2048,"name":"generateIconURL","url":"classes/maps_Servers.Server.html#generateIconURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":317,"kind":2048,"name":"generateBannerURL","url":"classes/maps_Servers.Server.html#generateBannerURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":318,"kind":262144,"name":"member","url":"classes/maps_Servers.Server.html#member","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":319,"kind":262144,"name":"permission","url":"classes/maps_Servers.Server.html#permission","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":320,"kind":2048,"name":"havePermission","url":"classes/maps_Servers.Server.html#havePermission","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":321,"kind":128,"name":"default","url":"classes/maps_Servers.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Servers"},{"id":322,"kind":512,"name":"constructor","url":"classes/maps_Servers.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"maps/Servers.default"},{"id":323,"kind":2048,"name":"$get","url":"classes/maps_Servers.default.html#_get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.default"},{"id":324,"kind":2048,"name":"fetch","url":"classes/maps_Servers.default.html#fetch","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.default"},{"id":325,"kind":2048,"name":"createObj","url":"classes/maps_Servers.default.html#createObj","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.default"},{"id":326,"kind":2048,"name":"createServer","url":"classes/maps_Servers.default.html#createServer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.default"},{"id":327,"kind":1024,"name":"client","url":"classes/maps_Servers.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"maps/Servers.default"},{"id":328,"kind":65536,"name":"__type","url":"classes/maps_Servers.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Servers.default"},{"id":329,"kind":1,"name":"maps/Users","url":"modules/maps_Users.html","classes":"tsd-kind-module"},{"id":330,"kind":128,"name":"User","url":"classes/maps_Users.User.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Users"},{"id":331,"kind":512,"name":"constructor","url":"classes/maps_Users.User.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Users.User"},{"id":332,"kind":1024,"name":"client","url":"classes/maps_Users.User.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":333,"kind":1024,"name":"_id","url":"classes/maps_Users.User.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":334,"kind":1024,"name":"username","url":"classes/maps_Users.User.html#username","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":335,"kind":1024,"name":"avatar","url":"classes/maps_Users.User.html#avatar","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":336,"kind":1024,"name":"badges","url":"classes/maps_Users.User.html#badges","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":337,"kind":1024,"name":"status","url":"classes/maps_Users.User.html#status","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":338,"kind":1024,"name":"relationship","url":"classes/maps_Users.User.html#relationship","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":339,"kind":1024,"name":"online","url":"classes/maps_Users.User.html#online","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":340,"kind":1024,"name":"privileged","url":"classes/maps_Users.User.html#privileged","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":341,"kind":1024,"name":"flags","url":"classes/maps_Users.User.html#flags","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":342,"kind":1024,"name":"bot","url":"classes/maps_Users.User.html#bot","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":343,"kind":262144,"name":"createdAt","url":"classes/maps_Users.User.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Users.User"},{"id":344,"kind":2048,"name":"update","url":"classes/maps_Users.User.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":345,"kind":2048,"name":"openDM","url":"classes/maps_Users.User.html#openDM","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":346,"kind":2048,"name":"addFriend","url":"classes/maps_Users.User.html#addFriend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":347,"kind":2048,"name":"removeFriend","url":"classes/maps_Users.User.html#removeFriend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":348,"kind":2048,"name":"blockUser","url":"classes/maps_Users.User.html#blockUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":349,"kind":2048,"name":"unblockUser","url":"classes/maps_Users.User.html#unblockUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":350,"kind":2048,"name":"fetchProfile","url":"classes/maps_Users.User.html#fetchProfile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":351,"kind":2048,"name":"fetchMutual","url":"classes/maps_Users.User.html#fetchMutual","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":352,"kind":262144,"name":"defaultAvatarURL","url":"classes/maps_Users.User.html#defaultAvatarURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Users.User"},{"id":353,"kind":262144,"name":"avatarURL","url":"classes/maps_Users.User.html#avatarURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Users.User"},{"id":354,"kind":262144,"name":"animatedAvatarURL","url":"classes/maps_Users.User.html#animatedAvatarURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Users.User"},{"id":355,"kind":2048,"name":"generateAvatarURL","url":"classes/maps_Users.User.html#generateAvatarURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":356,"kind":262144,"name":"permission","url":"classes/maps_Users.User.html#permission","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Users.User"},{"id":357,"kind":128,"name":"default","url":"classes/maps_Users.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Users"},{"id":358,"kind":512,"name":"constructor","url":"classes/maps_Users.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"maps/Users.default"},{"id":359,"kind":2048,"name":"$get","url":"classes/maps_Users.default.html#_get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.default"},{"id":360,"kind":2048,"name":"fetch","url":"classes/maps_Users.default.html#fetch","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.default"},{"id":361,"kind":2048,"name":"createObj","url":"classes/maps_Users.default.html#createObj","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.default"},{"id":362,"kind":2048,"name":"edit","url":"classes/maps_Users.default.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.default"},{"id":363,"kind":2048,"name":"changeUsername","url":"classes/maps_Users.default.html#changeUsername","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.default"},{"id":364,"kind":1024,"name":"client","url":"classes/maps_Users.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"maps/Users.default"},{"id":365,"kind":65536,"name":"__type","url":"classes/maps_Users.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Users.default"},{"id":366,"kind":1,"name":"permissions/calculator","url":"modules/permissions_calculator.html","classes":"tsd-kind-module"},{"id":367,"kind":64,"name":"bitwiseAndEq","url":"modules/permissions_calculator.html#bitwiseAndEq","classes":"tsd-kind-function tsd-parent-kind-module","parent":"permissions/calculator"},{"id":368,"kind":64,"name":"calculatePermission","url":"modules/permissions_calculator.html#calculatePermission","classes":"tsd-kind-function tsd-parent-kind-module","parent":"permissions/calculator"},{"id":369,"kind":1,"name":"permissions/definitions","url":"modules/permissions_definitions.html","classes":"tsd-kind-module"},{"id":370,"kind":32,"name":"UserPermission","url":"modules/permissions_definitions.html#UserPermission","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":371,"kind":65536,"name":"__type","url":"modules/permissions_definitions.html#UserPermission.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"permissions/definitions.UserPermission"},{"id":372,"kind":1024,"name":"Access","url":"modules/permissions_definitions.html#UserPermission.__type-1.Access","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.UserPermission.__type"},{"id":373,"kind":1024,"name":"ViewProfile","url":"modules/permissions_definitions.html#UserPermission.__type-1.ViewProfile","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.UserPermission.__type"},{"id":374,"kind":1024,"name":"SendMessage","url":"modules/permissions_definitions.html#UserPermission.__type-1.SendMessage-1","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.UserPermission.__type"},{"id":375,"kind":1024,"name":"Invite","url":"modules/permissions_definitions.html#UserPermission.__type-1.Invite","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.UserPermission.__type"},{"id":376,"kind":32,"name":"Permission","url":"modules/permissions_definitions.html#Permission","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":377,"kind":65536,"name":"__type","url":"modules/permissions_definitions.html#Permission.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"permissions/definitions.Permission"},{"id":378,"kind":1024,"name":"ManageChannel","url":"modules/permissions_definitions.html#Permission.__type.ManageChannel","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":379,"kind":1024,"name":"ManageServer","url":"modules/permissions_definitions.html#Permission.__type.ManageServer","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":380,"kind":1024,"name":"ManagePermissions","url":"modules/permissions_definitions.html#Permission.__type.ManagePermissions","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":381,"kind":1024,"name":"ManageRole","url":"modules/permissions_definitions.html#Permission.__type.ManageRole","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":382,"kind":1024,"name":"ManageCustomisation","url":"modules/permissions_definitions.html#Permission.__type.ManageCustomisation","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":383,"kind":1024,"name":"KickMembers","url":"modules/permissions_definitions.html#Permission.__type.KickMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":384,"kind":1024,"name":"BanMembers","url":"modules/permissions_definitions.html#Permission.__type.BanMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":385,"kind":1024,"name":"TimeoutMembers","url":"modules/permissions_definitions.html#Permission.__type.TimeoutMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":386,"kind":1024,"name":"AssignRoles","url":"modules/permissions_definitions.html#Permission.__type.AssignRoles","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":387,"kind":1024,"name":"ChangeNickname","url":"modules/permissions_definitions.html#Permission.__type.ChangeNickname","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":388,"kind":1024,"name":"ManageNicknames","url":"modules/permissions_definitions.html#Permission.__type.ManageNicknames","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":389,"kind":1024,"name":"ChangeAvatar","url":"modules/permissions_definitions.html#Permission.__type.ChangeAvatar","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":390,"kind":1024,"name":"RemoveAvatars","url":"modules/permissions_definitions.html#Permission.__type.RemoveAvatars","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":391,"kind":1024,"name":"ViewChannel","url":"modules/permissions_definitions.html#Permission.__type.ViewChannel","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":392,"kind":1024,"name":"ReadMessageHistory","url":"modules/permissions_definitions.html#Permission.__type.ReadMessageHistory","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":393,"kind":1024,"name":"SendMessage","url":"modules/permissions_definitions.html#Permission.__type.SendMessage","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":394,"kind":1024,"name":"ManageMessages","url":"modules/permissions_definitions.html#Permission.__type.ManageMessages","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":395,"kind":1024,"name":"ManageWebhooks","url":"modules/permissions_definitions.html#Permission.__type.ManageWebhooks","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":396,"kind":1024,"name":"InviteOthers","url":"modules/permissions_definitions.html#Permission.__type.InviteOthers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":397,"kind":1024,"name":"SendEmbeds","url":"modules/permissions_definitions.html#Permission.__type.SendEmbeds","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":398,"kind":1024,"name":"UploadFiles","url":"modules/permissions_definitions.html#Permission.__type.UploadFiles","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":399,"kind":1024,"name":"Masquerade","url":"modules/permissions_definitions.html#Permission.__type.Masquerade","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":400,"kind":1024,"name":"React","url":"modules/permissions_definitions.html#Permission.__type.React","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":401,"kind":1024,"name":"Connect","url":"modules/permissions_definitions.html#Permission.__type.Connect","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":402,"kind":1024,"name":"Speak","url":"modules/permissions_definitions.html#Permission.__type.Speak","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":403,"kind":1024,"name":"Video","url":"modules/permissions_definitions.html#Permission.__type.Video","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":404,"kind":1024,"name":"MuteMembers","url":"modules/permissions_definitions.html#Permission.__type.MuteMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":405,"kind":1024,"name":"DeafenMembers","url":"modules/permissions_definitions.html#Permission.__type.DeafenMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":406,"kind":1024,"name":"MoveMembers","url":"modules/permissions_definitions.html#Permission.__type.MoveMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":407,"kind":1024,"name":"GrantAllSafe","url":"modules/permissions_definitions.html#Permission.__type.GrantAllSafe","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":408,"kind":32,"name":"U32_MAX","url":"modules/permissions_definitions.html#U32_MAX","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":409,"kind":32,"name":"ALLOW_IN_TIMEOUT","url":"modules/permissions_definitions.html#ALLOW_IN_TIMEOUT","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":410,"kind":32,"name":"DEFAULT_PERMISSION_VIEW_ONLY","url":"modules/permissions_definitions.html#DEFAULT_PERMISSION_VIEW_ONLY","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":411,"kind":32,"name":"DEFAULT_PERMISSION","url":"modules/permissions_definitions.html#DEFAULT_PERMISSION","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":412,"kind":32,"name":"DEFAULT_PERMISSION_SAVED_MESSAGES","url":"modules/permissions_definitions.html#DEFAULT_PERMISSION_SAVED_MESSAGES","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":413,"kind":32,"name":"DEFAULT_PERMISSION_DIRECT_MESSAGE","url":"modules/permissions_definitions.html#DEFAULT_PERMISSION_DIRECT_MESSAGE","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":414,"kind":32,"name":"DEFAULT_PERMISSION_SERVER","url":"modules/permissions_definitions.html#DEFAULT_PERMISSION_SERVER","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":415,"kind":1,"name":"util/Unreads","url":"modules/util_Unreads.html","classes":"tsd-kind-module"},{"id":416,"kind":256,"name":"INotificationChecker","url":"interfaces/util_Unreads.INotificationChecker.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"util/Unreads"},{"id":417,"kind":2048,"name":"isMuted","url":"interfaces/util_Unreads.INotificationChecker.html#isMuted","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"util/Unreads.INotificationChecker"},{"id":418,"kind":128,"name":"default","url":"classes/util_Unreads.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"util/Unreads"},{"id":419,"kind":512,"name":"constructor","url":"classes/util_Unreads.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":420,"kind":1024,"name":"client","url":"classes/util_Unreads.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"util/Unreads.default"},{"id":421,"kind":1024,"name":"loaded","url":"classes/util_Unreads.default.html#loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"util/Unreads.default"},{"id":422,"kind":1024,"name":"channels","url":"classes/util_Unreads.default.html#channels","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"util/Unreads.default"},{"id":423,"kind":2048,"name":"sync","url":"classes/util_Unreads.default.html#sync","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":424,"kind":2048,"name":"getUnread","url":"classes/util_Unreads.default.html#getUnread","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":425,"kind":2048,"name":"markUnread","url":"classes/util_Unreads.default.html#markUnread","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":426,"kind":2048,"name":"markMention","url":"classes/util_Unreads.default.html#markMention","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":427,"kind":2048,"name":"markRead","url":"classes/util_Unreads.default.html#markRead","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":428,"kind":2048,"name":"markMultipleRead","url":"classes/util_Unreads.default.html#markMultipleRead","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":429,"kind":1,"name":"util/null","url":"modules/util_null.html","classes":"tsd-kind-module"},{"id":430,"kind":64,"name":"toNullable","url":"modules/util_null.html#toNullable","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"util/null"},{"id":431,"kind":64,"name":"toNullableDate","url":"modules/util_null.html#toNullableDate","classes":"tsd-kind-function tsd-parent-kind-module","parent":"util/null"},{"id":432,"kind":4194304,"name":"Nullable","url":"modules/util_null.html#Nullable","classes":"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter","parent":"util/null"},{"id":433,"kind":1,"name":"websocket/client","url":"modules/websocket_client.html","classes":"tsd-kind-module"},{"id":434,"kind":128,"name":"WebSocketClient","url":"classes/websocket_client.WebSocketClient.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"websocket/client"},{"id":435,"kind":512,"name":"constructor","url":"classes/websocket_client.WebSocketClient.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":436,"kind":1024,"name":"client","url":"classes/websocket_client.WebSocketClient.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":437,"kind":1024,"name":"ws","url":"classes/websocket_client.WebSocketClient.html#ws","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":438,"kind":1024,"name":"heartbeat","url":"classes/websocket_client.WebSocketClient.html#heartbeat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":439,"kind":1024,"name":"connected","url":"classes/websocket_client.WebSocketClient.html#connected","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":440,"kind":1024,"name":"ready","url":"classes/websocket_client.WebSocketClient.html#ready","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":441,"kind":1024,"name":"ping","url":"classes/websocket_client.WebSocketClient.html#ping","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":442,"kind":2048,"name":"disconnect","url":"classes/websocket_client.WebSocketClient.html#disconnect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":443,"kind":2048,"name":"send","url":"classes/websocket_client.WebSocketClient.html#send","classes":"tsd-kind-method tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":444,"kind":2048,"name":"connect","url":"classes/websocket_client.WebSocketClient.html#connect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":445,"kind":1,"name":"websocket/notifications","url":"modules/websocket_notifications.html","classes":"tsd-kind-module"},{"id":446,"kind":4194304,"name":"ServerboundNotification","url":"modules/websocket_notifications.html#ServerboundNotification","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"websocket/notifications"},{"id":447,"kind":4194304,"name":"ReadyPacket","url":"modules/websocket_notifications.html#ReadyPacket","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"websocket/notifications"},{"id":448,"kind":65536,"name":"__type","url":"modules/websocket_notifications.html#ReadyPacket.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"websocket/notifications.ReadyPacket"},{"id":449,"kind":1024,"name":"type","url":"modules/websocket_notifications.html#ReadyPacket.__type.type","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"websocket/notifications.ReadyPacket.__type"},{"id":450,"kind":1024,"name":"users","url":"modules/websocket_notifications.html#ReadyPacket.__type.users","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"websocket/notifications.ReadyPacket.__type"},{"id":451,"kind":1024,"name":"servers","url":"modules/websocket_notifications.html#ReadyPacket.__type.servers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"websocket/notifications.ReadyPacket.__type"},{"id":452,"kind":1024,"name":"channels","url":"modules/websocket_notifications.html#ReadyPacket.__type.channels","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"websocket/notifications.ReadyPacket.__type"},{"id":453,"kind":1024,"name":"members","url":"modules/websocket_notifications.html#ReadyPacket.__type.members","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"websocket/notifications.ReadyPacket.__type"},{"id":454,"kind":1024,"name":"emojis","url":"modules/websocket_notifications.html#ReadyPacket.__type.emojis","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"websocket/notifications.ReadyPacket.__type"},{"id":455,"kind":4194304,"name":"ClientboundNotification","url":"modules/websocket_notifications.html#ClientboundNotification","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"websocket/notifications"},{"id":456,"kind":16777216,"name":"Channel","url":"modules/index.html#Channel","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":457,"kind":16777216,"name":"Member","url":"modules/index.html#Member","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":458,"kind":16777216,"name":"Message","url":"modules/index.html#Message","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":459,"kind":16777216,"name":"Server","url":"modules/index.html#Server","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":460,"kind":16777216,"name":"User","url":"modules/index.html#User","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":461,"kind":16777216,"name":"Emoji","url":"modules/index.html#Emoji","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":462,"kind":16777216,"name":"UserPermission","url":"modules/index.html#UserPermission","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":463,"kind":16777216,"name":"Permission","url":"modules/index.html#Permission","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":464,"kind":16777216,"name":"DEFAULT_PERMISSION","url":"modules/index.html#DEFAULT_PERMISSION","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":465,"kind":16777216,"name":"DEFAULT_PERMISSION_DIRECT_MESSAGE","url":"modules/index.html#DEFAULT_PERMISSION_DIRECT_MESSAGE","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":466,"kind":16777216,"name":"DEFAULT_PERMISSION_SAVED_MESSAGES","url":"modules/index.html#DEFAULT_PERMISSION_SAVED_MESSAGES","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":467,"kind":16777216,"name":"DEFAULT_PERMISSION_SERVER","url":"modules/index.html#DEFAULT_PERMISSION_SERVER","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":468,"kind":16777216,"name":"DEFAULT_PERMISSION_VIEW_ONLY","url":"modules/index.html#DEFAULT_PERMISSION_VIEW_ONLY","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":469,"kind":16777216,"name":"U32_MAX","url":"modules/index.html#U32_MAX","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":470,"kind":16777216,"name":"calculatePermission","url":"modules/index.html#calculatePermission","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":471,"kind":16777216,"name":"Nullable","url":"modules/index.html#Nullable","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":472,"kind":16777216,"name":"toNullable","url":"modules/index.html#toNullable","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":473,"kind":16777216,"name":"toNullableDate","url":"modules/index.html#toNullableDate","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":474,"kind":16777216,"name":"ReadyPacket","url":"modules/index.html#ReadyPacket","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":475,"kind":16777216,"name":"ClientboundNotification","url":"modules/index.html#ClientboundNotification","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":476,"kind":16777216,"name":"ServerboundNotification","url":"modules/index.html#ServerboundNotification","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":477,"kind":16777216,"name":"ClientOptions","url":"modules/index.html#ClientOptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":478,"kind":16777216,"name":"Client","url":"modules/index.html#Client","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":479,"kind":16777216,"name":"RE_MENTIONS","url":"modules/index.html#RE_MENTIONS","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":480,"kind":16777216,"name":"RE_SPOILER","url":"modules/index.html#RE_SPOILER","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":481,"kind":16777216,"name":"FileArgs","url":"modules/index.html#FileArgs","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":482,"kind":16777216,"name":"Session","url":"modules/index.html#Session","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":483,"kind":16777216,"name":"LIBRARY_VERSION","url":"modules/index.html#LIBRARY_VERSION","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":484,"kind":16777216,"name":"defaultConfig","url":"modules/index.html#defaultConfig","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,29.475]],["parent/0",[]],["name/1",[1,52.699]],["parent/1",[0,2.902]],["name/2",[2,49.334]],["parent/2",[3,3.874]],["name/3",[4,49.334]],["parent/3",[3,3.874]],["name/4",[5,52.699]],["parent/4",[3,3.874]],["name/5",[6,49.334]],["parent/5",[3,3.874]],["name/6",[7,46.821]],["parent/6",[3,3.874]],["name/7",[8,49.334]],["parent/7",[3,3.874]],["name/8",[9,57.807]],["parent/8",[3,3.874]],["name/9",[10,57.807]],["parent/9",[3,3.874]],["name/10",[11,52.699]],["parent/10",[3,3.874]],["name/11",[0,29.475]],["parent/11",[0,2.902]],["name/12",[12,33.24]],["parent/12",[13,2.422]],["name/13",[14,57.807]],["parent/13",[13,2.422]],["name/14",[7,46.821]],["parent/14",[13,2.422]],["name/15",[15,57.807]],["parent/15",[13,2.422]],["name/16",[16,49.334]],["parent/16",[13,2.422]],["name/17",[17,46.821]],["parent/17",[13,2.422]],["name/18",[18,57.807]],["parent/18",[13,2.422]],["name/19",[19,57.807]],["parent/19",[13,2.422]],["name/20",[20,57.807]],["parent/20",[13,2.422]],["name/21",[21,31.658]],["parent/21",[13,2.422]],["name/22",[21,31.658]],["parent/22",[22,5.188]],["name/23",[21,31.658]],["parent/23",[23,4.609]],["name/24",[21,31.658]],["parent/24",[23,4.609]],["name/25",[21,31.658]],["parent/25",[23,4.609]],["name/26",[21,31.658]],["parent/26",[23,4.609]],["name/27",[21,31.658]],["parent/27",[22,5.188]],["name/28",[24,52.699]],["parent/28",[13,2.422]],["name/29",[25,46.821]],["parent/29",[13,2.422]],["name/30",[26,52.699]],["parent/30",[13,2.422]],["name/31",[27,52.699]],["parent/31",[13,2.422]],["name/32",[28,57.807]],["parent/32",[13,2.422]],["name/33",[29,57.807]],["parent/33",[13,2.422]],["name/34",[30,52.699]],["parent/34",[13,2.422]],["name/35",[6,49.334]],["parent/35",[13,2.422]],["name/36",[2,49.334]],["parent/36",[13,2.422]],["name/37",[4,49.334]],["parent/37",[13,2.422]],["name/38",[8,49.334]],["parent/38",[13,2.422]],["name/39",[31,46.821]],["parent/39",[13,2.422]],["name/40",[32,57.807]],["parent/40",[13,2.422]],["name/41",[33,57.807]],["parent/41",[13,2.422]],["name/42",[34,57.807]],["parent/42",[13,2.422]],["name/43",[35,57.807]],["parent/43",[13,2.422]],["name/44",[36,57.807]],["parent/44",[13,2.422]],["name/45",[31,46.821]],["parent/45",[13,2.422]],["name/46",[37,57.807]],["parent/46",[13,2.422]],["name/47",[38,57.807]],["parent/47",[13,2.422]],["name/48",[39,57.807]],["parent/48",[13,2.422]],["name/49",[40,57.807]],["parent/49",[13,2.422]],["name/50",[41,57.807]],["parent/50",[13,2.422]],["name/51",[42,57.807]],["parent/51",[13,2.422]],["name/52",[43,57.807]],["parent/52",[13,2.422]],["name/53",[44,57.807]],["parent/53",[13,2.422]],["name/54",[45,57.807]],["parent/54",[13,2.422]],["name/55",[46,57.807]],["parent/55",[13,2.422]],["name/56",[47,57.807]],["parent/56",[13,2.422]],["name/57",[48,57.807]],["parent/57",[13,2.422]],["name/58",[49,57.807]],["parent/58",[13,2.422]],["name/59",[50,52.699]],["parent/59",[0,2.902]],["name/60",[51,52.699]],["parent/60",[0,2.902]],["name/61",[52,52.699]],["parent/61",[0,2.902]],["name/62",[16,49.334]],["parent/62",[0,2.902]],["name/63",[21,31.658]],["parent/63",[53,5.691]],["name/64",[54,57.807]],["parent/64",[55,5.691]],["name/65",[56,49.334]],["parent/65",[]],["name/66",[57,52.699]],["parent/66",[56,4.857]],["name/67",[58,52.699]],["parent/67",[56,4.857]],["name/68",[21,31.658]],["parent/68",[59,5.691]],["name/69",[2,49.334]],["parent/69",[60,4.107]],["name/70",[8,49.334]],["parent/70",[60,4.107]],["name/71",[7,46.821]],["parent/71",[60,4.107]],["name/72",[4,49.334]],["parent/72",[60,4.107]],["name/73",[5,52.699]],["parent/73",[60,4.107]],["name/74",[6,49.334]],["parent/74",[60,4.107]],["name/75",[11,52.699]],["parent/75",[60,4.107]],["name/76",[61,52.699]],["parent/76",[]],["name/77",[62,57.807]],["parent/77",[61,5.188]],["name/78",[63,27.685]],["parent/78",[]],["name/79",[64,52.699]],["parent/79",[]],["name/80",[65,39.349]],["parent/80",[64,5.188]],["name/81",[12,33.24]],["parent/81",[66,3.874]],["name/82",[0,29.475]],["parent/82",[66,3.874]],["name/83",[67,46.821]],["parent/83",[66,3.874]],["name/84",[68,44.815]],["parent/84",[66,3.874]],["name/85",[69,57.807]],["parent/85",[66,3.874]],["name/86",[70,52.699]],["parent/86",[66,3.874]],["name/87",[71,57.807]],["parent/87",[66,3.874]],["name/88",[72,43.144]],["parent/88",[66,3.874]],["name/89",[73,57.807]],["parent/89",[66,3.874]],["name/90",[74,49.334]],["parent/90",[]],["name/91",[75,49.334]],["parent/91",[74,4.857]],["name/92",[12,33.24]],["parent/92",[76,2.035]],["name/93",[0,29.475]],["parent/93",[76,2.035]],["name/94",[77,43.144]],["parent/94",[76,2.035]],["name/95",[78,57.807]],["parent/95",[76,2.035]],["name/96",[79,57.807]],["parent/96",[76,2.035]],["name/97",[80,57.807]],["parent/97",[76,2.035]],["name/98",[81,57.807]],["parent/98",[76,2.035]],["name/99",[82,57.807]],["parent/99",[76,2.035]],["name/100",[83,52.699]],["parent/100",[76,2.035]],["name/101",[84,57.807]],["parent/101",[76,2.035]],["name/102",[85,49.334]],["parent/102",[76,2.035]],["name/103",[86,52.699]],["parent/103",[76,2.035]],["name/104",[87,52.699]],["parent/104",[76,2.035]],["name/105",[88,57.807]],["parent/105",[76,2.035]],["name/106",[89,57.807]],["parent/106",[76,2.035]],["name/107",[90,57.807]],["parent/107",[76,2.035]],["name/108",[91,49.334]],["parent/108",[76,2.035]],["name/109",[92,52.699]],["parent/109",[76,2.035]],["name/110",[93,46.821]],["parent/110",[76,2.035]],["name/111",[94,57.807]],["parent/111",[76,2.035]],["name/112",[95,57.807]],["parent/112",[76,2.035]],["name/113",[96,57.807]],["parent/113",[76,2.035]],["name/114",[97,57.807]],["parent/114",[76,2.035]],["name/115",[98,57.807]],["parent/115",[76,2.035]],["name/116",[99,44.815]],["parent/116",[76,2.035]],["name/117",[100,57.807]],["parent/117",[76,2.035]],["name/118",[101,49.334]],["parent/118",[76,2.035]],["name/119",[102,49.334]],["parent/119",[76,2.035]],["name/120",[103,52.699]],["parent/120",[76,2.035]],["name/121",[104,52.699]],["parent/121",[76,2.035]],["name/122",[105,57.807]],["parent/122",[76,2.035]],["name/123",[106,52.699]],["parent/123",[76,2.035]],["name/124",[107,44.815]],["parent/124",[76,2.035]],["name/125",[108,57.807]],["parent/125",[76,2.035]],["name/126",[109,57.807]],["parent/126",[76,2.035]],["name/127",[110,57.807]],["parent/127",[76,2.035]],["name/128",[111,57.807]],["parent/128",[76,2.035]],["name/129",[112,52.699]],["parent/129",[76,2.035]],["name/130",[72,43.144]],["parent/130",[76,2.035]],["name/131",[68,44.815]],["parent/131",[76,2.035]],["name/132",[113,57.807]],["parent/132",[76,2.035]],["name/133",[114,57.807]],["parent/133",[76,2.035]],["name/134",[115,49.334]],["parent/134",[76,2.035]],["name/135",[116,57.807]],["parent/135",[76,2.035]],["name/136",[117,57.807]],["parent/136",[76,2.035]],["name/137",[118,57.807]],["parent/137",[76,2.035]],["name/138",[119,57.807]],["parent/138",[76,2.035]],["name/139",[120,57.807]],["parent/139",[76,2.035]],["name/140",[121,57.807]],["parent/140",[76,2.035]],["name/141",[122,57.807]],["parent/141",[76,2.035]],["name/142",[123,57.807]],["parent/142",[76,2.035]],["name/143",[124,57.807]],["parent/143",[76,2.035]],["name/144",[125,57.807]],["parent/144",[76,2.035]],["name/145",[126,57.807]],["parent/145",[76,2.035]],["name/146",[127,49.334]],["parent/146",[76,2.035]],["name/147",[128,52.699]],["parent/147",[76,2.035]],["name/148",[129,57.807]],["parent/148",[76,2.035]],["name/149",[130,57.807]],["parent/149",[76,2.035]],["name/150",[131,52.699]],["parent/150",[76,2.035]],["name/151",[132,44.815]],["parent/151",[76,2.035]],["name/152",[133,52.699]],["parent/152",[76,2.035]],["name/153",[65,39.349]],["parent/153",[74,4.857]],["name/154",[12,33.24]],["parent/154",[134,3.983]],["name/155",[135,44.815]],["parent/155",[134,3.983]],["name/156",[136,57.807]],["parent/156",[134,3.983]],["name/157",[67,46.821]],["parent/157",[134,3.983]],["name/158",[137,43.144]],["parent/158",[134,3.983]],["name/159",[138,57.807]],["parent/159",[134,3.983]],["name/160",[0,29.475]],["parent/160",[134,3.983]],["name/161",[21,31.658]],["parent/161",[134,3.983]],["name/162",[139,52.699]],["parent/162",[]],["name/163",[65,39.349]],["parent/163",[139,5.188]],["name/164",[12,33.24]],["parent/164",[140,4.857]],["name/165",[0,29.475]],["parent/165",[140,4.857]],["name/166",[21,31.658]],["parent/166",[140,4.857]],["name/167",[141,49.334]],["parent/167",[]],["name/168",[142,52.699]],["parent/168",[141,4.857]],["name/169",[12,33.24]],["parent/169",[143,3.604]],["name/170",[0,29.475]],["parent/170",[143,3.604]],["name/171",[77,43.144]],["parent/171",[143,3.604]],["name/172",[85,49.334]],["parent/172",[143,3.604]],["name/173",[144,57.807]],["parent/173",[143,3.604]],["name/174",[145,57.807]],["parent/174",[143,3.604]],["name/175",[146,57.807]],["parent/175",[143,3.604]],["name/176",[91,49.334]],["parent/176",[143,3.604]],["name/177",[99,44.815]],["parent/177",[143,3.604]],["name/178",[147,57.807]],["parent/178",[143,3.604]],["name/179",[68,44.815]],["parent/179",[143,3.604]],["name/180",[148,57.807]],["parent/180",[143,3.604]],["name/181",[65,39.349]],["parent/181",[141,4.857]],["name/182",[12,33.24]],["parent/182",[149,4.609]],["name/183",[137,43.144]],["parent/183",[149,4.609]],["name/184",[0,29.475]],["parent/184",[149,4.609]],["name/185",[21,31.658]],["parent/185",[149,4.609]],["name/186",[150,49.334]],["parent/186",[]],["name/187",[151,46.821]],["parent/187",[150,4.857]],["name/188",[12,33.24]],["parent/188",[152,2.758]],["name/189",[0,29.475]],["parent/189",[152,2.758]],["name/190",[77,43.144]],["parent/190",[152,2.758]],["name/191",[21,31.658]],["parent/191",[152,2.758]],["name/192",[153,57.807]],["parent/192",[152,2.758]],["name/193",[154,57.807]],["parent/193",[152,2.758]],["name/194",[155,52.699]],["parent/194",[152,2.758]],["name/195",[156,52.699]],["parent/195",[152,2.758]],["name/196",[157,57.807]],["parent/196",[152,2.758]],["name/197",[158,57.807]],["parent/197",[152,2.758]],["name/198",[17,46.821]],["parent/198",[152,2.758]],["name/199",[93,46.821]],["parent/199",[152,2.758]],["name/200",[159,57.807]],["parent/200",[152,2.758]],["name/201",[160,57.807]],["parent/201",[152,2.758]],["name/202",[161,57.807]],["parent/202",[152,2.758]],["name/203",[107,44.815]],["parent/203",[152,2.758]],["name/204",[162,57.807]],["parent/204",[152,2.758]],["name/205",[72,43.144]],["parent/205",[152,2.758]],["name/206",[163,57.807]],["parent/206",[152,2.758]],["name/207",[164,52.699]],["parent/207",[152,2.758]],["name/208",[165,57.807]],["parent/208",[152,2.758]],["name/209",[166,52.699]],["parent/209",[152,2.758]],["name/210",[167,57.807]],["parent/210",[152,2.758]],["name/211",[168,49.334]],["parent/211",[152,2.758]],["name/212",[169,49.334]],["parent/212",[152,2.758]],["name/213",[170,52.699]],["parent/213",[152,2.758]],["name/214",[171,57.807]],["parent/214",[152,2.758]],["name/215",[172,57.807]],["parent/215",[152,2.758]],["name/216",[173,57.807]],["parent/216",[152,2.758]],["name/217",[65,39.349]],["parent/217",[150,4.857]],["name/218",[174,57.807]],["parent/218",[175,3.775]],["name/219",[12,33.24]],["parent/219",[175,3.775]],["name/220",[176,57.807]],["parent/220",[175,3.775]],["name/221",[177,57.807]],["parent/221",[175,3.775]],["name/222",[178,57.807]],["parent/222",[175,3.775]],["name/223",[179,57.807]],["parent/223",[175,3.775]],["name/224",[135,44.815]],["parent/224",[175,3.775]],["name/225",[137,43.144]],["parent/225",[175,3.775]],["name/226",[0,29.475]],["parent/226",[175,3.775]],["name/227",[21,31.658]],["parent/227",[175,3.775]],["name/228",[180,49.334]],["parent/228",[]],["name/229",[181,52.699]],["parent/229",[180,4.857]],["name/230",[12,33.24]],["parent/230",[182,2.496]],["name/231",[0,29.475]],["parent/231",[182,2.496]],["name/232",[77,43.144]],["parent/232",[182,2.496]],["name/233",[183,57.807]],["parent/233",[182,2.496]],["name/234",[184,57.807]],["parent/234",[182,2.496]],["name/235",[185,57.807]],["parent/235",[182,2.496]],["name/236",[186,57.807]],["parent/236",[182,2.496]],["name/237",[187,57.807]],["parent/237",[182,2.496]],["name/238",[188,57.807]],["parent/238",[182,2.496]],["name/239",[189,57.807]],["parent/239",[182,2.496]],["name/240",[190,57.807]],["parent/240",[182,2.496]],["name/241",[191,57.807]],["parent/241",[182,2.496]],["name/242",[192,57.807]],["parent/242",[182,2.496]],["name/243",[193,52.699]],["parent/243",[182,2.496]],["name/244",[194,57.807]],["parent/244",[182,2.496]],["name/245",[195,57.807]],["parent/245",[182,2.496]],["name/246",[75,49.334]],["parent/246",[182,2.496]],["name/247",[196,57.807]],["parent/247",[182,2.496]],["name/248",[151,46.821]],["parent/248",[182,2.496]],["name/249",[106,52.699]],["parent/249",[182,2.496]],["name/250",[99,44.815]],["parent/250",[182,2.496]],["name/251",[101,49.334]],["parent/251",[182,2.496]],["name/252",[102,49.334]],["parent/252",[182,2.496]],["name/253",[197,52.699]],["parent/253",[182,2.496]],["name/254",[166,52.699]],["parent/254",[182,2.496]],["name/255",[168,49.334]],["parent/255",[182,2.496]],["name/256",[169,49.334]],["parent/256",[182,2.496]],["name/257",[198,57.807]],["parent/257",[182,2.496]],["name/258",[199,57.807]],["parent/258",[182,2.496]],["name/259",[107,44.815]],["parent/259",[182,2.496]],["name/260",[200,57.807]],["parent/260",[182,2.496]],["name/261",[72,43.144]],["parent/261",[182,2.496]],["name/262",[68,44.815]],["parent/262",[182,2.496]],["name/263",[127,49.334]],["parent/263",[182,2.496]],["name/264",[201,57.807]],["parent/264",[182,2.496]],["name/265",[202,57.807]],["parent/265",[182,2.496]],["name/266",[203,52.699]],["parent/266",[182,2.496]],["name/267",[204,57.807]],["parent/267",[182,2.496]],["name/268",[65,39.349]],["parent/268",[180,4.857]],["name/269",[12,33.24]],["parent/269",[205,4.412]],["name/270",[135,44.815]],["parent/270",[205,4.412]],["name/271",[137,43.144]],["parent/271",[205,4.412]],["name/272",[0,29.475]],["parent/272",[205,4.412]],["name/273",[21,31.658]],["parent/273",[205,4.412]],["name/274",[206,49.334]],["parent/274",[]],["name/275",[93,46.821]],["parent/275",[206,4.857]],["name/276",[12,33.24]],["parent/276",[207,2.332]],["name/277",[0,29.475]],["parent/277",[207,2.332]],["name/278",[77,43.144]],["parent/278",[207,2.332]],["name/279",[92,52.699]],["parent/279",[207,2.332]],["name/280",[85,49.334]],["parent/280",[207,2.332]],["name/281",[87,52.699]],["parent/281",[207,2.332]],["name/282",[208,57.807]],["parent/282",[207,2.332]],["name/283",[209,57.807]],["parent/283",[207,2.332]],["name/284",[210,57.807]],["parent/284",[207,2.332]],["name/285",[156,52.699]],["parent/285",[207,2.332]],["name/286",[83,52.699]],["parent/286",[207,2.332]],["name/287",[86,52.699]],["parent/287",[207,2.332]],["name/288",[211,57.807]],["parent/288",[207,2.332]],["name/289",[91,49.334]],["parent/289",[207,2.332]],["name/290",[212,52.699]],["parent/290",[207,2.332]],["name/291",[25,46.821]],["parent/291",[207,2.332]],["name/292",[99,44.815]],["parent/292",[207,2.332]],["name/293",[101,49.334]],["parent/293",[207,2.332]],["name/294",[102,49.334]],["parent/294",[207,2.332]],["name/295",[213,57.807]],["parent/295",[207,2.332]],["name/296",[214,57.807]],["parent/296",[207,2.332]],["name/297",[164,52.699]],["parent/297",[207,2.332]],["name/298",[103,52.699]],["parent/298",[207,2.332]],["name/299",[104,52.699]],["parent/299",[207,2.332]],["name/300",[107,44.815]],["parent/300",[207,2.332]],["name/301",[215,57.807]],["parent/301",[207,2.332]],["name/302",[72,43.144]],["parent/302",[207,2.332]],["name/303",[68,44.815]],["parent/303",[207,2.332]],["name/304",[127,49.334]],["parent/304",[207,2.332]],["name/305",[216,57.807]],["parent/305",[207,2.332]],["name/306",[217,57.807]],["parent/306",[207,2.332]],["name/307",[218,57.807]],["parent/307",[207,2.332]],["name/308",[219,57.807]],["parent/308",[207,2.332]],["name/309",[128,52.699]],["parent/309",[207,2.332]],["name/310",[220,57.807]],["parent/310",[207,2.332]],["name/311",[221,57.807]],["parent/311",[207,2.332]],["name/312",[222,57.807]],["parent/312",[207,2.332]],["name/313",[223,57.807]],["parent/313",[207,2.332]],["name/314",[224,57.807]],["parent/314",[207,2.332]],["name/315",[112,52.699]],["parent/315",[207,2.332]],["name/316",[131,52.699]],["parent/316",[207,2.332]],["name/317",[225,57.807]],["parent/317",[207,2.332]],["name/318",[151,46.821]],["parent/318",[207,2.332]],["name/319",[132,44.815]],["parent/319",[207,2.332]],["name/320",[133,52.699]],["parent/320",[207,2.332]],["name/321",[65,39.349]],["parent/321",[206,4.857]],["name/322",[12,33.24]],["parent/322",[226,4.107]],["name/323",[135,44.815]],["parent/323",[226,4.107]],["name/324",[67,46.821]],["parent/324",[226,4.107]],["name/325",[137,43.144]],["parent/325",[226,4.107]],["name/326",[227,57.807]],["parent/326",[226,4.107]],["name/327",[0,29.475]],["parent/327",[226,4.107]],["name/328",[21,31.658]],["parent/328",[226,4.107]],["name/329",[228,49.334]],["parent/329",[]],["name/330",[17,46.821]],["parent/330",[228,4.857]],["name/331",[12,33.24]],["parent/331",[229,2.864]],["name/332",[0,29.475]],["parent/332",[229,2.864]],["name/333",[77,43.144]],["parent/333",[229,2.864]],["name/334",[197,52.699]],["parent/334",[229,2.864]],["name/335",[155,52.699]],["parent/335",[229,2.864]],["name/336",[230,57.807]],["parent/336",[229,2.864]],["name/337",[231,57.807]],["parent/337",[229,2.864]],["name/338",[232,57.807]],["parent/338",[229,2.864]],["name/339",[233,57.807]],["parent/339",[229,2.864]],["name/340",[234,57.807]],["parent/340",[229,2.864]],["name/341",[212,52.699]],["parent/341",[229,2.864]],["name/342",[235,57.807]],["parent/342",[229,2.864]],["name/343",[99,44.815]],["parent/343",[229,2.864]],["name/344",[107,44.815]],["parent/344",[229,2.864]],["name/345",[236,57.807]],["parent/345",[229,2.864]],["name/346",[237,57.807]],["parent/346",[229,2.864]],["name/347",[238,57.807]],["parent/347",[229,2.864]],["name/348",[239,57.807]],["parent/348",[229,2.864]],["name/349",[240,57.807]],["parent/349",[229,2.864]],["name/350",[241,57.807]],["parent/350",[229,2.864]],["name/351",[242,57.807]],["parent/351",[229,2.864]],["name/352",[243,57.807]],["parent/352",[229,2.864]],["name/353",[168,49.334]],["parent/353",[229,2.864]],["name/354",[169,49.334]],["parent/354",[229,2.864]],["name/355",[170,52.699]],["parent/355",[229,2.864]],["name/356",[132,44.815]],["parent/356",[229,2.864]],["name/357",[65,39.349]],["parent/357",[228,4.857]],["name/358",[12,33.24]],["parent/358",[244,3.983]],["name/359",[135,44.815]],["parent/359",[244,3.983]],["name/360",[67,46.821]],["parent/360",[244,3.983]],["name/361",[137,43.144]],["parent/361",[244,3.983]],["name/362",[72,43.144]],["parent/362",[244,3.983]],["name/363",[245,57.807]],["parent/363",[244,3.983]],["name/364",[0,29.475]],["parent/364",[244,3.983]],["name/365",[21,31.658]],["parent/365",[244,3.983]],["name/366",[246,49.334]],["parent/366",[]],["name/367",[247,57.807]],["parent/367",[246,4.857]],["name/368",[248,52.699]],["parent/368",[246,4.857]],["name/369",[249,38.348]],["parent/369",[]],["name/370",[250,52.699]],["parent/370",[249,3.775]],["name/371",[21,31.658]],["parent/371",[251,5.691]],["name/372",[252,57.807]],["parent/372",[253,4.609]],["name/373",[254,57.807]],["parent/373",[253,4.609]],["name/374",[115,49.334]],["parent/374",[253,4.609]],["name/375",[70,52.699]],["parent/375",[253,4.609]],["name/376",[132,44.815]],["parent/376",[249,3.775]],["name/377",[21,31.658]],["parent/377",[255,5.691]],["name/378",[256,57.807]],["parent/378",[257,2.726]],["name/379",[258,57.807]],["parent/379",[257,2.726]],["name/380",[259,57.807]],["parent/380",[257,2.726]],["name/381",[260,57.807]],["parent/381",[257,2.726]],["name/382",[261,57.807]],["parent/382",[257,2.726]],["name/383",[262,57.807]],["parent/383",[257,2.726]],["name/384",[263,57.807]],["parent/384",[257,2.726]],["name/385",[264,57.807]],["parent/385",[257,2.726]],["name/386",[265,57.807]],["parent/386",[257,2.726]],["name/387",[266,57.807]],["parent/387",[257,2.726]],["name/388",[267,57.807]],["parent/388",[257,2.726]],["name/389",[268,57.807]],["parent/389",[257,2.726]],["name/390",[269,57.807]],["parent/390",[257,2.726]],["name/391",[270,57.807]],["parent/391",[257,2.726]],["name/392",[271,57.807]],["parent/392",[257,2.726]],["name/393",[115,49.334]],["parent/393",[257,2.726]],["name/394",[272,57.807]],["parent/394",[257,2.726]],["name/395",[273,57.807]],["parent/395",[257,2.726]],["name/396",[274,57.807]],["parent/396",[257,2.726]],["name/397",[275,57.807]],["parent/397",[257,2.726]],["name/398",[276,57.807]],["parent/398",[257,2.726]],["name/399",[193,52.699]],["parent/399",[257,2.726]],["name/400",[203,52.699]],["parent/400",[257,2.726]],["name/401",[31,46.821]],["parent/401",[257,2.726]],["name/402",[277,57.807]],["parent/402",[257,2.726]],["name/403",[278,57.807]],["parent/403",[257,2.726]],["name/404",[279,57.807]],["parent/404",[257,2.726]],["name/405",[280,57.807]],["parent/405",[257,2.726]],["name/406",[281,57.807]],["parent/406",[257,2.726]],["name/407",[282,57.807]],["parent/407",[257,2.726]],["name/408",[283,52.699]],["parent/408",[249,3.775]],["name/409",[284,57.807]],["parent/409",[249,3.775]],["name/410",[285,52.699]],["parent/410",[249,3.775]],["name/411",[286,52.699]],["parent/411",[249,3.775]],["name/412",[287,52.699]],["parent/412",[249,3.775]],["name/413",[288,52.699]],["parent/413",[249,3.775]],["name/414",[289,52.699]],["parent/414",[249,3.775]],["name/415",[290,49.334]],["parent/415",[]],["name/416",[291,57.807]],["parent/416",[290,4.857]],["name/417",[292,57.807]],["parent/417",[293,5.691]],["name/418",[65,39.349]],["parent/418",[290,4.857]],["name/419",[12,33.24]],["parent/419",[294,3.775]],["name/420",[0,29.475]],["parent/420",[294,3.775]],["name/421",[295,57.807]],["parent/421",[294,3.775]],["name/422",[25,46.821]],["parent/422",[294,3.775]],["name/423",[296,57.807]],["parent/423",[294,3.775]],["name/424",[297,57.807]],["parent/424",[294,3.775]],["name/425",[298,57.807]],["parent/425",[294,3.775]],["name/426",[299,57.807]],["parent/426",[294,3.775]],["name/427",[300,57.807]],["parent/427",[294,3.775]],["name/428",[301,57.807]],["parent/428",[294,3.775]],["name/429",[302,46.821]],["parent/429",[]],["name/430",[303,52.699]],["parent/430",[302,4.609]],["name/431",[304,52.699]],["parent/431",[302,4.609]],["name/432",[305,52.699]],["parent/432",[302,4.609]],["name/433",[306,52.699]],["parent/433",[]],["name/434",[307,57.807]],["parent/434",[306,5.188]],["name/435",[12,33.24]],["parent/435",[308,3.775]],["name/436",[0,29.475]],["parent/436",[308,3.775]],["name/437",[309,57.807]],["parent/437",[308,3.775]],["name/438",[7,46.821]],["parent/438",[308,3.775]],["name/439",[310,57.807]],["parent/439",[308,3.775]],["name/440",[311,57.807]],["parent/440",[308,3.775]],["name/441",[312,57.807]],["parent/441",[308,3.775]],["name/442",[313,57.807]],["parent/442",[308,3.775]],["name/443",[314,57.807]],["parent/443",[308,3.775]],["name/444",[31,46.821]],["parent/444",[308,3.775]],["name/445",[315,46.821]],["parent/445",[]],["name/446",[316,52.699]],["parent/446",[315,4.609]],["name/447",[317,52.699]],["parent/447",[315,4.609]],["name/448",[21,31.658]],["parent/448",[318,5.691]],["name/449",[319,57.807]],["parent/449",[320,4.247]],["name/450",[24,52.699]],["parent/450",[320,4.247]],["name/451",[26,52.699]],["parent/451",[320,4.247]],["name/452",[25,46.821]],["parent/452",[320,4.247]],["name/453",[27,52.699]],["parent/453",[320,4.247]],["name/454",[30,52.699]],["parent/454",[320,4.247]],["name/455",[321,52.699]],["parent/455",[315,4.609]],["name/456",[75,49.334]],["parent/456",[63,2.726]],["name/457",[151,46.821]],["parent/457",[63,2.726]],["name/458",[181,52.699]],["parent/458",[63,2.726]],["name/459",[93,46.821]],["parent/459",[63,2.726]],["name/460",[17,46.821]],["parent/460",[63,2.726]],["name/461",[142,52.699]],["parent/461",[63,2.726]],["name/462",[250,52.699]],["parent/462",[63,2.726]],["name/463",[132,44.815]],["parent/463",[63,2.726]],["name/464",[286,52.699]],["parent/464",[63,2.726]],["name/465",[288,52.699]],["parent/465",[63,2.726]],["name/466",[287,52.699]],["parent/466",[63,2.726]],["name/467",[289,52.699]],["parent/467",[63,2.726]],["name/468",[285,52.699]],["parent/468",[63,2.726]],["name/469",[283,52.699]],["parent/469",[63,2.726]],["name/470",[248,52.699]],["parent/470",[63,2.726]],["name/471",[305,52.699]],["parent/471",[63,2.726]],["name/472",[303,52.699]],["parent/472",[63,2.726]],["name/473",[304,52.699]],["parent/473",[63,2.726]],["name/474",[317,52.699]],["parent/474",[63,2.726]],["name/475",[321,52.699]],["parent/475",[63,2.726]],["name/476",[316,52.699]],["parent/476",[63,2.726]],["name/477",[1,52.699]],["parent/477",[63,2.726]],["name/478",[0,29.475]],["parent/478",[63,2.726]],["name/479",[50,52.699]],["parent/479",[63,2.726]],["name/480",[51,52.699]],["parent/480",[63,2.726]],["name/481",[52,52.699]],["parent/481",[63,2.726]],["name/482",[16,49.334]],["parent/482",[63,2.726]],["name/483",[57,52.699]],["parent/483",[63,2.726]],["name/484",[58,52.699]],["parent/484",[63,2.726]]],"invertedIndex":[["__type",{"_index":21,"name":{"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{},"63":{},"68":{},"161":{},"166":{},"185":{},"191":{},"227":{},"273":{},"328":{},"365":{},"371":{},"377":{},"448":{}},"parent":{}}],["_id",{"_index":77,"name":{"94":{},"171":{},"190":{},"232":{},"278":{},"333":{}},"parent":{}}],["_timeout",{"_index":158,"name":{"197":{}},"parent":{}}],["access",{"_index":252,"name":{"372":{}},"parent":{}}],["ack",{"_index":127,"name":{"146":{},"263":{},"304":{}},"parent":{}}],["acklimit",{"_index":126,"name":{"145":{}},"parent":{}}],["ackratelimiter",{"_index":11,"name":{"10":{},"75":{}},"parent":{}}],["acktimeout",{"_index":125,"name":{"144":{}},"parent":{}}],["active",{"_index":79,"name":{"96":{}},"parent":{}}],["addfriend",{"_index":237,"name":{"346":{}},"parent":{}}],["addmember",{"_index":113,"name":{"132":{}},"parent":{}}],["allow_in_timeout",{"_index":284,"name":{"409":{}},"parent":{}}],["animated",{"_index":146,"name":{"175":{}},"parent":{}}],["animatedavatarurl",{"_index":169,"name":{"212":{},"256":{},"354":{}},"parent":{}}],["api",{"_index":15,"name":{"15":{}},"parent":{}}],["apiurl",{"_index":2,"name":{"2":{},"36":{},"69":{}},"parent":{}}],["append",{"_index":200,"name":{"260":{}},"parent":{}}],["assignroles",{"_index":265,"name":{"386":{}},"parent":{}}],["assystemmessage",{"_index":199,"name":{"258":{}},"parent":{}}],["attachments",{"_index":188,"name":{"238":{}},"parent":{}}],["author",{"_index":196,"name":{"247":{}},"parent":{}}],["author_id",{"_index":185,"name":{"235":{}},"parent":{}}],["autoreconnect",{"_index":8,"name":{"7":{},"38":{},"70":{}},"parent":{}}],["avatar",{"_index":155,"name":{"194":{},"335":{}},"parent":{}}],["avatarurl",{"_index":168,"name":{"211":{},"255":{},"353":{}},"parent":{}}],["badges",{"_index":230,"name":{"336":{}},"parent":{}}],["banmembers",{"_index":263,"name":{"384":{}},"parent":{}}],["bannable",{"_index":161,"name":{"202":{}},"parent":{}}],["banner",{"_index":211,"name":{"288":{}},"parent":{}}],["banuser",{"_index":216,"name":{"305":{}},"parent":{}}],["bitwiseandeq",{"_index":247,"name":{"367":{}},"parent":{}}],["blockuser",{"_index":239,"name":{"348":{}},"parent":{}}],["bot",{"_index":235,"name":{"342":{}},"parent":{}}],["bots",{"_index":29,"name":{"33":{}},"parent":{}}],["cache",{"_index":5,"name":{"4":{},"73":{}},"parent":{}}],["calculatepermission",{"_index":248,"name":{"368":{},"470":{}},"parent":{}}],["categories",{"_index":209,"name":{"283":{}},"parent":{}}],["changeavatar",{"_index":268,"name":{"389":{}},"parent":{}}],["changenickname",{"_index":266,"name":{"387":{}},"parent":{}}],["changeusername",{"_index":245,"name":{"363":{}},"parent":{}}],["channel",{"_index":75,"name":{"91":{},"246":{},"456":{}},"parent":{}}],["channel_id",{"_index":184,"name":{"234":{}},"parent":{}}],["channel_ids",{"_index":208,"name":{"282":{}},"parent":{}}],["channel_type",{"_index":78,"name":{"95":{}},"parent":{}}],["channels",{"_index":25,"name":{"29":{},"291":{},"422":{},"452":{}},"parent":{}}],["clearreactions",{"_index":202,"name":{"265":{}},"parent":{}}],["client",{"_index":0,"name":{"0":{},"11":{},"82":{},"93":{},"160":{},"165":{},"170":{},"184":{},"189":{},"226":{},"231":{},"272":{},"277":{},"327":{},"332":{},"364":{},"420":{},"436":{},"478":{}},"parent":{"1":{},"11":{},"59":{},"60":{},"61":{},"62":{}}}],["client.client",{"_index":13,"name":{},"parent":{"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"28":{},"29":{},"30":{},"31":{},"32":{},"33":{},"34":{},"35":{},"36":{},"37":{},"38":{},"39":{},"40":{},"41":{},"42":{},"43":{},"44":{},"45":{},"46":{},"47":{},"48":{},"49":{},"50":{},"51":{},"52":{},"53":{},"54":{},"55":{},"56":{},"57":{},"58":{}}}],["client.client.__type",{"_index":22,"name":{},"parent":{"22":{},"27":{}}}],["client.client.__type.__type",{"_index":23,"name":{},"parent":{"23":{},"24":{},"25":{},"26":{}}}],["client.clientoptions",{"_index":3,"name":{},"parent":{"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{}}}],["client.session",{"_index":53,"name":{},"parent":{"63":{}}}],["client.session.__type",{"_index":55,"name":{},"parent":{"64":{}}}],["clientboundnotification",{"_index":321,"name":{"455":{},"475":{}},"parent":{}}],["clientoptions",{"_index":1,"name":{"1":{},"477":{}},"parent":{}}],["completeonboarding",{"_index":37,"name":{"46":{}},"parent":{}}],["config",{"_index":56,"name":{"65":{}},"parent":{"66":{},"67":{}}}],["config.defaultconfig",{"_index":59,"name":{},"parent":{"68":{}}}],["config.defaultconfig.__type",{"_index":60,"name":{},"parent":{"69":{},"70":{},"71":{},"72":{},"73":{},"74":{},"75":{}}}],["configuration",{"_index":20,"name":{"20":{}},"parent":{}}],["connect",{"_index":31,"name":{"39":{},"45":{},"401":{},"444":{}},"parent":{}}],["connected",{"_index":310,"name":{"439":{}},"parent":{}}],["constructor",{"_index":12,"name":{"12":{},"81":{},"92":{},"154":{},"164":{},"169":{},"182":{},"188":{},"219":{},"230":{},"269":{},"276":{},"322":{},"331":{},"358":{},"419":{},"435":{}},"parent":{}}],["content",{"_index":186,"name":{"236":{}},"parent":{}}],["create",{"_index":73,"name":{"89":{}},"parent":{}}],["createchannel",{"_index":215,"name":{"301":{}},"parent":{}}],["createdat",{"_index":99,"name":{"116":{},"177":{},"250":{},"292":{},"343":{}},"parent":{}}],["creategroup",{"_index":138,"name":{"159":{}},"parent":{}}],["createinvite",{"_index":123,"name":{"142":{}},"parent":{}}],["createobj",{"_index":137,"name":{"158":{},"183":{},"225":{},"271":{},"325":{},"361":{}},"parent":{}}],["createrole",{"_index":220,"name":{"310":{}},"parent":{}}],["createserver",{"_index":227,"name":{"326":{}},"parent":{}}],["creator",{"_index":147,"name":{"178":{}},"parent":{}}],["creator_id",{"_index":144,"name":{"173":{}},"parent":{}}],["deafenmembers",{"_index":280,"name":{"405":{}},"parent":{}}],["debug",{"_index":4,"name":{"3":{},"37":{},"72":{}},"parent":{}}],["default",{"_index":65,"name":{"80":{},"153":{},"163":{},"181":{},"217":{},"268":{},"321":{},"357":{},"418":{}},"parent":{}}],["default_permission",{"_index":286,"name":{"411":{},"464":{}},"parent":{}}],["default_permission_direct_message",{"_index":288,"name":{"413":{},"465":{}},"parent":{}}],["default_permission_saved_messages",{"_index":287,"name":{"412":{},"466":{}},"parent":{}}],["default_permission_server",{"_index":289,"name":{"414":{},"467":{}},"parent":{}}],["default_permission_view_only",{"_index":285,"name":{"410":{},"468":{}},"parent":{}}],["default_permissions",{"_index":83,"name":{"100":{},"286":{}},"parent":{}}],["defaultavatarurl",{"_index":243,"name":{"352":{}},"parent":{}}],["defaultchannel",{"_index":214,"name":{"296":{}},"parent":{}}],["defaultconfig",{"_index":58,"name":{"67":{},"484":{}},"parent":{}}],["delete",{"_index":68,"name":{"84":{},"131":{},"179":{},"262":{},"303":{}},"parent":{}}],["deleteinvite",{"_index":40,"name":{"49":{}},"parent":{}}],["deletekey",{"_index":179,"name":{"223":{}},"parent":{}}],["deletemessages",{"_index":122,"name":{"141":{}},"parent":{}}],["deleterole",{"_index":222,"name":{"312":{}},"parent":{}}],["description",{"_index":87,"name":{"104":{},"281":{}},"parent":{}}],["disconnect",{"_index":313,"name":{"442":{}},"parent":{}}],["edit",{"_index":72,"name":{"88":{},"130":{},"205":{},"261":{},"302":{},"362":{}},"parent":{}}],["edited",{"_index":189,"name":{"239":{}},"parent":{}}],["editrole",{"_index":221,"name":{"311":{}},"parent":{}}],["embeds",{"_index":190,"name":{"240":{}},"parent":{}}],["emoji",{"_index":142,"name":{"168":{},"461":{}},"parent":{}}],["emojis",{"_index":30,"name":{"34":{},"454":{}},"parent":{}}],["exists",{"_index":136,"name":{"156":{}},"parent":{}}],["fetch",{"_index":67,"name":{"83":{},"157":{},"324":{},"360":{}},"parent":{}}],["fetchbans",{"_index":219,"name":{"308":{}},"parent":{}}],["fetchconfiguration",{"_index":32,"name":{"40":{}},"parent":{}}],["fetchinvite",{"_index":38,"name":{"47":{}},"parent":{}}],["fetchinvites",{"_index":218,"name":{"307":{}},"parent":{}}],["fetchmember",{"_index":223,"name":{"313":{}},"parent":{}}],["fetchmembers",{"_index":112,"name":{"129":{},"315":{}},"parent":{}}],["fetchmessage",{"_index":116,"name":{"135":{}},"parent":{}}],["fetchmessages",{"_index":117,"name":{"136":{}},"parent":{}}],["fetchmessageswithusers",{"_index":118,"name":{"137":{}},"parent":{}}],["fetchmutual",{"_index":242,"name":{"351":{}},"parent":{}}],["fetchowned",{"_index":71,"name":{"87":{}},"parent":{}}],["fetchprofile",{"_index":241,"name":{"350":{}},"parent":{}}],["fetchpublic",{"_index":69,"name":{"85":{}},"parent":{}}],["fetchstale",{"_index":121,"name":{"140":{}},"parent":{}}],["fileargs",{"_index":52,"name":{"61":{},"481":{}},"parent":{}}],["flags",{"_index":212,"name":{"290":{},"341":{}},"parent":{}}],["generateavatarurl",{"_index":170,"name":{"213":{},"355":{}},"parent":{}}],["generatebannerurl",{"_index":225,"name":{"317":{}},"parent":{}}],["generatefileurl",{"_index":49,"name":{"58":{}},"parent":{}}],["generateiconurl",{"_index":131,"name":{"150":{},"316":{}},"parent":{}}],["generatemasqavatarurl",{"_index":198,"name":{"257":{}},"parent":{}}],["get",{"_index":135,"name":{"155":{},"224":{},"270":{},"323":{},"359":{}},"parent":{}}],["getkey",{"_index":177,"name":{"221":{}},"parent":{}}],["getmentions",{"_index":104,"name":{"121":{},"299":{}},"parent":{}}],["getpermissions",{"_index":171,"name":{"214":{}},"parent":{}}],["getunread",{"_index":297,"name":{"424":{}},"parent":{}}],["globals",{"_index":61,"name":{"76":{}},"parent":{"77":{}}}],["grantallsafe",{"_index":282,"name":{"407":{}},"parent":{}}],["haskey",{"_index":176,"name":{"220":{}},"parent":{}}],["haspermission",{"_index":172,"name":{"215":{}},"parent":{}}],["havepermission",{"_index":133,"name":{"152":{},"320":{}},"parent":{}}],["heartbeat",{"_index":7,"name":{"6":{},"14":{},"71":{},"438":{}},"parent":{}}],["hoistedrole",{"_index":165,"name":{"208":{}},"parent":{}}],["icon",{"_index":86,"name":{"103":{},"287":{}},"parent":{}}],["imageurl",{"_index":148,"name":{"180":{}},"parent":{}}],["index",{"_index":63,"name":{"78":{}},"parent":{"456":{},"457":{},"458":{},"459":{},"460":{},"461":{},"462":{},"463":{},"464":{},"465":{},"466":{},"467":{},"468":{},"469":{},"470":{},"471":{},"472":{},"473":{},"474":{},"475":{},"476":{},"477":{},"478":{},"479":{},"480":{},"481":{},"482":{},"483":{},"484":{}}}],["inferior",{"_index":159,"name":{"200":{}},"parent":{}}],["inferiorto",{"_index":173,"name":{"216":{}},"parent":{}}],["inotificationchecker",{"_index":291,"name":{"416":{}},"parent":{}}],["interactions",{"_index":195,"name":{"245":{}},"parent":{}}],["invite",{"_index":70,"name":{"86":{},"375":{}},"parent":{}}],["inviteothers",{"_index":274,"name":{"396":{}},"parent":{}}],["ismuted",{"_index":292,"name":{"417":{}},"parent":{}}],["isunread",{"_index":103,"name":{"120":{},"298":{}},"parent":{}}],["joincall",{"_index":124,"name":{"143":{}},"parent":{}}],["joined_at",{"_index":153,"name":{"192":{}},"parent":{}}],["joininvite",{"_index":39,"name":{"48":{}},"parent":{}}],["kick",{"_index":163,"name":{"206":{}},"parent":{}}],["kickable",{"_index":160,"name":{"201":{}},"parent":{}}],["kickmembers",{"_index":262,"name":{"383":{}},"parent":{}}],["last_message",{"_index":95,"name":{"112":{}},"parent":{}}],["last_message_id",{"_index":89,"name":{"106":{}},"parent":{}}],["last_message_id_or_past",{"_index":96,"name":{"113":{}},"parent":{}}],["library_version",{"_index":57,"name":{"66":{},"483":{}},"parent":{}}],["loaded",{"_index":295,"name":{"421":{}},"parent":{}}],["login",{"_index":34,"name":{"42":{}},"parent":{}}],["loginbot",{"_index":36,"name":{"44":{}},"parent":{}}],["logout",{"_index":44,"name":{"53":{}},"parent":{}}],["managechannel",{"_index":256,"name":{"378":{}},"parent":{}}],["managecustomisation",{"_index":261,"name":{"382":{}},"parent":{}}],["managemessages",{"_index":272,"name":{"394":{}},"parent":{}}],["managenicknames",{"_index":267,"name":{"388":{}},"parent":{}}],["managepermissions",{"_index":259,"name":{"380":{}},"parent":{}}],["managerole",{"_index":260,"name":{"381":{}},"parent":{}}],["manageserver",{"_index":258,"name":{"379":{}},"parent":{}}],["managewebhooks",{"_index":273,"name":{"395":{}},"parent":{}}],["maps/bots",{"_index":64,"name":{"79":{}},"parent":{"80":{}}}],["maps/bots.default",{"_index":66,"name":{},"parent":{"81":{},"82":{},"83":{},"84":{},"85":{},"86":{},"87":{},"88":{},"89":{}}}],["maps/channels",{"_index":74,"name":{"90":{}},"parent":{"91":{},"153":{}}}],["maps/channels.channel",{"_index":76,"name":{},"parent":{"92":{},"93":{},"94":{},"95":{},"96":{},"97":{},"98":{},"99":{},"100":{},"101":{},"102":{},"103":{},"104":{},"105":{},"106":{},"107":{},"108":{},"109":{},"110":{},"111":{},"112":{},"113":{},"114":{},"115":{},"116":{},"117":{},"118":{},"119":{},"120":{},"121":{},"122":{},"123":{},"124":{},"125":{},"126":{},"127":{},"128":{},"129":{},"130":{},"131":{},"132":{},"133":{},"134":{},"135":{},"136":{},"137":{},"138":{},"139":{},"140":{},"141":{},"142":{},"143":{},"144":{},"145":{},"146":{},"147":{},"148":{},"149":{},"150":{},"151":{},"152":{}}}],["maps/channels.default",{"_index":134,"name":{},"parent":{"154":{},"155":{},"156":{},"157":{},"158":{},"159":{},"160":{},"161":{}}}],["maps/collection",{"_index":139,"name":{"162":{}},"parent":{"163":{}}}],["maps/collection.default",{"_index":140,"name":{},"parent":{"164":{},"165":{},"166":{}}}],["maps/emojis",{"_index":141,"name":{"167":{}},"parent":{"168":{},"181":{}}}],["maps/emojis.default",{"_index":149,"name":{},"parent":{"182":{},"183":{},"184":{},"185":{}}}],["maps/emojis.emoji",{"_index":143,"name":{},"parent":{"169":{},"170":{},"171":{},"172":{},"173":{},"174":{},"175":{},"176":{},"177":{},"178":{},"179":{},"180":{}}}],["maps/members",{"_index":150,"name":{"186":{}},"parent":{"187":{},"217":{}}}],["maps/members.default",{"_index":175,"name":{},"parent":{"218":{},"219":{},"220":{},"221":{},"222":{},"223":{},"224":{},"225":{},"226":{},"227":{}}}],["maps/members.member",{"_index":152,"name":{},"parent":{"188":{},"189":{},"190":{},"191":{},"192":{},"193":{},"194":{},"195":{},"196":{},"197":{},"198":{},"199":{},"200":{},"201":{},"202":{},"203":{},"204":{},"205":{},"206":{},"207":{},"208":{},"209":{},"210":{},"211":{},"212":{},"213":{},"214":{},"215":{},"216":{}}}],["maps/messages",{"_index":180,"name":{"228":{}},"parent":{"229":{},"268":{}}}],["maps/messages.default",{"_index":205,"name":{},"parent":{"269":{},"270":{},"271":{},"272":{},"273":{}}}],["maps/messages.message",{"_index":182,"name":{},"parent":{"230":{},"231":{},"232":{},"233":{},"234":{},"235":{},"236":{},"237":{},"238":{},"239":{},"240":{},"241":{},"242":{},"243":{},"244":{},"245":{},"246":{},"247":{},"248":{},"249":{},"250":{},"251":{},"252":{},"253":{},"254":{},"255":{},"256":{},"257":{},"258":{},"259":{},"260":{},"261":{},"262":{},"263":{},"264":{},"265":{},"266":{},"267":{}}}],["maps/servers",{"_index":206,"name":{"274":{}},"parent":{"275":{},"321":{}}}],["maps/servers.default",{"_index":226,"name":{},"parent":{"322":{},"323":{},"324":{},"325":{},"326":{},"327":{},"328":{}}}],["maps/servers.server",{"_index":207,"name":{},"parent":{"276":{},"277":{},"278":{},"279":{},"280":{},"281":{},"282":{},"283":{},"284":{},"285":{},"286":{},"287":{},"288":{},"289":{},"290":{},"291":{},"292":{},"293":{},"294":{},"295":{},"296":{},"297":{},"298":{},"299":{},"300":{},"301":{},"302":{},"303":{},"304":{},"305":{},"306":{},"307":{},"308":{},"309":{},"310":{},"311":{},"312":{},"313":{},"314":{},"315":{},"316":{},"317":{},"318":{},"319":{},"320":{}}}],["maps/users",{"_index":228,"name":{"329":{}},"parent":{"330":{},"357":{}}}],["maps/users.default",{"_index":244,"name":{},"parent":{"358":{},"359":{},"360":{},"361":{},"362":{},"363":{},"364":{},"365":{}}}],["maps/users.user",{"_index":229,"name":{},"parent":{"331":{},"332":{},"333":{},"334":{},"335":{},"336":{},"337":{},"338":{},"339":{},"340":{},"341":{},"342":{},"343":{},"344":{},"345":{},"346":{},"347":{},"348":{},"349":{},"350":{},"351":{},"352":{},"353":{},"354":{},"355":{},"356":{}}}],["markdowntotext",{"_index":47,"name":{"56":{}},"parent":{}}],["markmention",{"_index":299,"name":{"426":{}},"parent":{}}],["markmultipleread",{"_index":301,"name":{"428":{}},"parent":{}}],["markread",{"_index":300,"name":{"427":{}},"parent":{}}],["markunread",{"_index":298,"name":{"425":{}},"parent":{}}],["masquerade",{"_index":193,"name":{"243":{},"399":{}},"parent":{}}],["member",{"_index":151,"name":{"187":{},"248":{},"318":{},"457":{}},"parent":{}}],["members",{"_index":27,"name":{"31":{},"453":{}},"parent":{}}],["mention_ids",{"_index":191,"name":{"241":{}},"parent":{}}],["mentions",{"_index":106,"name":{"123":{},"249":{}},"parent":{}}],["message",{"_index":181,"name":{"229":{},"458":{}},"parent":{}}],["messages",{"_index":28,"name":{"32":{}},"parent":{}}],["movemembers",{"_index":281,"name":{"406":{}},"parent":{}}],["mutemembers",{"_index":279,"name":{"404":{}},"parent":{}}],["name",{"_index":85,"name":{"102":{},"172":{},"280":{}},"parent":{}}],["nickname",{"_index":154,"name":{"193":{}},"parent":{}}],["nonce",{"_index":183,"name":{"233":{}},"parent":{}}],["nsfw",{"_index":91,"name":{"108":{},"176":{},"289":{}},"parent":{}}],["nullable",{"_index":305,"name":{"432":{},"471":{}},"parent":{}}],["on",{"_index":14,"name":{"13":{}},"parent":{}}],["online",{"_index":233,"name":{"339":{}},"parent":{}}],["onpongtimeout",{"_index":10,"name":{"9":{}},"parent":{}}],["opendm",{"_index":236,"name":{"345":{}},"parent":{}}],["options",{"_index":18,"name":{"18":{}},"parent":{}}],["orderedchannels",{"_index":213,"name":{"295":{}},"parent":{}}],["orderedroles",{"_index":164,"name":{"207":{},"297":{}},"parent":{}}],["owner",{"_index":92,"name":{"109":{},"279":{}},"parent":{}}],["owner_id",{"_index":80,"name":{"97":{}},"parent":{}}],["parent",{"_index":145,"name":{"174":{}},"parent":{}}],["path",{"_index":101,"name":{"118":{},"251":{},"293":{}},"parent":{}}],["permission",{"_index":132,"name":{"151":{},"319":{},"356":{},"376":{},"463":{}},"parent":{}}],["permissions",{"_index":82,"name":{"99":{}},"parent":{}}],["permissions/calculator",{"_index":246,"name":{"366":{}},"parent":{"367":{},"368":{}}}],["permissions/definitions",{"_index":249,"name":{"369":{}},"parent":{"370":{},"376":{},"408":{},"409":{},"410":{},"411":{},"412":{},"413":{},"414":{}}}],["permissions/definitions.permission",{"_index":255,"name":{},"parent":{"377":{}}}],["permissions/definitions.permission.__type",{"_index":257,"name":{},"parent":{"378":{},"379":{},"380":{},"381":{},"382":{},"383":{},"384":{},"385":{},"386":{},"387":{},"388":{},"389":{},"390":{},"391":{},"392":{},"393":{},"394":{},"395":{},"396":{},"397":{},"398":{},"399":{},"400":{},"401":{},"402":{},"403":{},"404":{},"405":{},"406":{},"407":{}}}],["permissions/definitions.userpermission",{"_index":251,"name":{},"parent":{"371":{}}}],["permissions/definitions.userpermission.__type",{"_index":253,"name":{},"parent":{"372":{},"373":{},"374":{},"375":{}}}],["ping",{"_index":312,"name":{"441":{}},"parent":{}}],["pongtimeout",{"_index":9,"name":{"8":{}},"parent":{}}],["privileged",{"_index":234,"name":{"340":{}},"parent":{}}],["proxyfile",{"_index":48,"name":{"57":{}},"parent":{}}],["ranking",{"_index":167,"name":{"210":{}},"parent":{}}],["re_mentions",{"_index":50,"name":{"59":{},"479":{}},"parent":{}}],["re_spoiler",{"_index":51,"name":{"60":{},"480":{}},"parent":{}}],["react",{"_index":203,"name":{"266":{},"400":{}},"parent":{}}],["reactions",{"_index":194,"name":{"244":{}},"parent":{}}],["readmessagehistory",{"_index":271,"name":{"392":{}},"parent":{}}],["ready",{"_index":311,"name":{"440":{}},"parent":{}}],["readypacket",{"_index":317,"name":{"447":{},"474":{}},"parent":{}}],["recipient",{"_index":94,"name":{"111":{}},"parent":{}}],["recipient_ids",{"_index":88,"name":{"105":{}},"parent":{}}],["recipients",{"_index":97,"name":{"114":{}},"parent":{}}],["register",{"_index":46,"name":{"55":{}},"parent":{}}],["relationship",{"_index":232,"name":{"338":{}},"parent":{}}],["removeavatars",{"_index":269,"name":{"390":{}},"parent":{}}],["removefriend",{"_index":238,"name":{"347":{}},"parent":{}}],["removemember",{"_index":114,"name":{"133":{}},"parent":{}}],["reply",{"_index":201,"name":{"264":{}},"parent":{}}],["reply_ids",{"_index":192,"name":{"242":{}},"parent":{}}],["reset",{"_index":45,"name":{"54":{}},"parent":{}}],["role_permissions",{"_index":84,"name":{"101":{}},"parent":{}}],["rolecolour",{"_index":166,"name":{"209":{},"254":{}},"parent":{}}],["roles",{"_index":156,"name":{"195":{},"285":{}},"parent":{}}],["scheduletimeout",{"_index":162,"name":{"204":{}},"parent":{}}],["search",{"_index":119,"name":{"138":{}},"parent":{}}],["searchwithusers",{"_index":120,"name":{"139":{}},"parent":{}}],["send",{"_index":314,"name":{"443":{}},"parent":{}}],["sendembeds",{"_index":275,"name":{"397":{}},"parent":{}}],["sendmessage",{"_index":115,"name":{"134":{},"374":{},"393":{}},"parent":{}}],["server",{"_index":93,"name":{"110":{},"199":{},"275":{},"459":{}},"parent":{}}],["server_id",{"_index":81,"name":{"98":{}},"parent":{}}],["serverboundnotification",{"_index":316,"name":{"446":{},"476":{}},"parent":{}}],["servers",{"_index":26,"name":{"30":{},"451":{}},"parent":{}}],["session",{"_index":16,"name":{"16":{},"62":{},"482":{}},"parent":{}}],["setkey",{"_index":178,"name":{"222":{}},"parent":{}}],["setpermissions",{"_index":128,"name":{"147":{},"309":{}},"parent":{}}],["speak",{"_index":277,"name":{"402":{}},"parent":{}}],["starttyping",{"_index":129,"name":{"148":{}},"parent":{}}],["status",{"_index":231,"name":{"337":{}},"parent":{}}],["stoptyping",{"_index":130,"name":{"149":{}},"parent":{}}],["sync",{"_index":296,"name":{"423":{}},"parent":{}}],["syncfetchsettings",{"_index":41,"name":{"50":{}},"parent":{}}],["syncfetchunreads",{"_index":43,"name":{"52":{}},"parent":{}}],["syncmembers",{"_index":224,"name":{"314":{}},"parent":{}}],["syncsetsettings",{"_index":42,"name":{"51":{}},"parent":{}}],["system",{"_index":187,"name":{"237":{}},"parent":{}}],["system_messages",{"_index":210,"name":{"284":{}},"parent":{}}],["tail",{"_index":62,"name":{"77":{}},"parent":{}}],["timeout",{"_index":157,"name":{"196":{}},"parent":{}}],["timeoutmembers",{"_index":264,"name":{"385":{}},"parent":{}}],["token",{"_index":54,"name":{"64":{}},"parent":{}}],["tokey",{"_index":174,"name":{"218":{}},"parent":{}}],["tonullable",{"_index":303,"name":{"430":{},"472":{}},"parent":{}}],["tonullabledate",{"_index":304,"name":{"431":{},"473":{}},"parent":{}}],["type",{"_index":319,"name":{"449":{}},"parent":{}}],["typing",{"_index":98,"name":{"115":{}},"parent":{}}],["typing_ids",{"_index":90,"name":{"107":{}},"parent":{}}],["u32_max",{"_index":283,"name":{"408":{},"469":{}},"parent":{}}],["unbanuser",{"_index":217,"name":{"306":{}},"parent":{}}],["unblockuser",{"_index":240,"name":{"349":{}},"parent":{}}],["unreact",{"_index":204,"name":{"267":{}},"parent":{}}],["unread",{"_index":105,"name":{"122":{}},"parent":{}}],["unreads",{"_index":6,"name":{"5":{},"35":{},"74":{}},"parent":{}}],["update",{"_index":107,"name":{"124":{},"203":{},"259":{},"300":{},"344":{}},"parent":{}}],["updatedat",{"_index":100,"name":{"117":{}},"parent":{}}],["updategroupjoin",{"_index":108,"name":{"125":{}},"parent":{}}],["updategroupleave",{"_index":109,"name":{"126":{}},"parent":{}}],["updateheaders",{"_index":33,"name":{"41":{}},"parent":{}}],["updatestarttyping",{"_index":110,"name":{"127":{}},"parent":{}}],["updatestoptyping",{"_index":111,"name":{"128":{}},"parent":{}}],["uploadfiles",{"_index":276,"name":{"398":{}},"parent":{}}],["url",{"_index":102,"name":{"119":{},"252":{},"294":{}},"parent":{}}],["useexistingsession",{"_index":35,"name":{"43":{}},"parent":{}}],["user",{"_index":17,"name":{"17":{},"198":{},"330":{},"460":{}},"parent":{}}],["username",{"_index":197,"name":{"253":{},"334":{}},"parent":{}}],["userpermission",{"_index":250,"name":{"370":{},"462":{}},"parent":{}}],["users",{"_index":24,"name":{"28":{},"450":{}},"parent":{}}],["util/null",{"_index":302,"name":{"429":{}},"parent":{"430":{},"431":{},"432":{}}}],["util/unreads",{"_index":290,"name":{"415":{}},"parent":{"416":{},"418":{}}}],["util/unreads.default",{"_index":294,"name":{},"parent":{"419":{},"420":{},"421":{},"422":{},"423":{},"424":{},"425":{},"426":{},"427":{},"428":{}}}],["util/unreads.inotificationchecker",{"_index":293,"name":{},"parent":{"417":{}}}],["video",{"_index":278,"name":{"403":{}},"parent":{}}],["viewchannel",{"_index":270,"name":{"391":{}},"parent":{}}],["viewprofile",{"_index":254,"name":{"373":{}},"parent":{}}],["websocket",{"_index":19,"name":{"19":{}},"parent":{}}],["websocket/client",{"_index":306,"name":{"433":{}},"parent":{"434":{}}}],["websocket/client.websocketclient",{"_index":308,"name":{},"parent":{"435":{},"436":{},"437":{},"438":{},"439":{},"440":{},"441":{},"442":{},"443":{},"444":{}}}],["websocket/notifications",{"_index":315,"name":{"445":{}},"parent":{"446":{},"447":{},"455":{}}}],["websocket/notifications.readypacket",{"_index":318,"name":{},"parent":{"448":{}}}],["websocket/notifications.readypacket.__type",{"_index":320,"name":{},"parent":{"449":{},"450":{},"451":{},"452":{},"453":{},"454":{}}}],["websocketclient",{"_index":307,"name":{"434":{}},"parent":{}}],["ws",{"_index":309,"name":{"437":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file diff --git a/assets/main.js b/assets/main.js new file mode 100644 index 00000000..d9b2d0a6 --- /dev/null +++ b/assets/main.js @@ -0,0 +1,58 @@ +"use strict"; +"use strict";(()=>{var Se=Object.create;var re=Object.defineProperty;var we=Object.getOwnPropertyDescriptor;var Te=Object.getOwnPropertyNames;var ke=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var Pe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Te(e))!Qe.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=we(e,i))||n.enumerable});return t};var Ce=(t,e,r)=>(r=t!=null?Se(ke(t)):{},Ie(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t));var ae=Pe((se,oe)=>{(function(){var t=function(e){var r=new t.Builder;return r.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),r.searchPipeline.add(t.stemmer),e.call(r,r),r.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(r){e.console&&console.warn&&console.warn(r)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var r=Object.create(null),n=Object.keys(e),i=0;i0){var d=t.utils.clone(r)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(n.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,r){r in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+r),e.label=r,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var r=e.label&&e.label in this.registeredFunctions;r||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var r=new t.Pipeline;return e.forEach(function(n){var i=t.Pipeline.registeredFunctions[n];if(i)r.add(i);else throw new Error("Cannot load unregistered function: "+n)}),r},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(r){t.Pipeline.warnIfFunctionNotRegistered(r),this._stack.push(r)},this)},t.Pipeline.prototype.after=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");n=n+1,this._stack.splice(n,0,r)},t.Pipeline.prototype.before=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");this._stack.splice(n,0,r)},t.Pipeline.prototype.remove=function(e){var r=this._stack.indexOf(e);r!=-1&&this._stack.splice(r,1)},t.Pipeline.prototype.run=function(e){for(var r=this._stack.length,n=0;n1&&(oe&&(n=s),o!=e);)i=n-r,s=r+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(r+=n[u+1]*i[d+1],u+=2,d+=2);return r},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),r=1,n=0;r0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),m=s.str.charAt(1),y;m in s.node.edges?y=s.node.edges[m]:(y=new t.TokenSet,s.node.edges[m]=y),s.str.length==1&&(y.final=!0),i.push({node:y,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return n},t.TokenSet.fromString=function(e){for(var r=new t.TokenSet,n=r,i=0,s=e.length;i=e;r--){var n=this.uncheckedNodes[r],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(r){var n=new t.QueryParser(e,r);n.parse()})},t.Index.prototype.query=function(e){for(var r=new t.Query(this.fields),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,r){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,r;do e=this.next(),r=e.charCodeAt(0);while(r>47&&r<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var r=e.next();if(r==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(r.charCodeAt(0)==92){e.escapeCharacter();continue}if(r==":")return t.QueryLexer.lexField;if(r=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(r=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(r=="+"&&e.width()===1||r=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(r.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,r){this.lexer=new t.QueryLexer(e),this.query=r,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var r=e.peekLexeme();if(r!=null)switch(r.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(n+=" with value '"+r.str+"'"),new t.QueryParseError(n,r.start,r.end)}},t.QueryParser.parsePresence=function(e){var r=e.consumeLexeme();if(r!=null){switch(r.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+r.str+"'";throw new t.QueryParseError(n,r.start,r.end)}var i=e.peekLexeme();if(i==null){var n="expecting term or field, found nothing";throw new t.QueryParseError(n,r.start,r.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(n,i.start,i.end)}}},t.QueryParser.parseField=function(e){var r=e.consumeLexeme();if(r!=null){if(e.query.allFields.indexOf(r.str)==-1){var n=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+r.str+"', possible fields: "+n;throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.fields=[r.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,r.start,r.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var r=e.consumeLexeme();if(r!=null){e.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(n==null){e.nextClause();return}switch(n.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new t.QueryParseError(i,n.start,n.end)}}},t.QueryParser.parseEditDistance=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.editDistance=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="boost must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.boost=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,r){typeof define=="function"&&define.amd?define(r):typeof se=="object"?oe.exports=r():e.lunr=r()}(this,function(){return t})})()});var ne=[];function G(t,e){ne.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){ne.forEach(r=>{e.querySelectorAll(r.selector).forEach(n=>{n.dataset.hasInstance||(new r.constructor({el:n,app:this}),n.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),r=e?.parentElement;for(;r&&!r.classList.contains(".tsd-navigation");)r instanceof HTMLDetailsElement&&e?.parentElement?.parentElement!==r&&(r.open=!0),r=r.parentElement;if(e){let n=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=n}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let r=e.parentElement;for(;r&&r.tagName!=="SECTION";)r=r.parentElement;if(r&&r.offsetParent==null){this.alwaysVisibleMember=r,r.classList.add("always-visible");let n=document.createElement("p");n.classList.add("warning"),n.textContent="This member is normally hidden due to your filter settings.",r.prepend(n)}}};var ie=(t,e=100)=>{let r;return()=>{clearTimeout(r),r=setTimeout(()=>t(),e)}};var ce=Ce(ae());function de(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let r=document.querySelector("#tsd-search input"),n=document.querySelector("#tsd-search .results");if(!r||!n)throw new Error("The input field or the result list wrapper was not found");let i=!1;n.addEventListener("mousedown",()=>i=!0),n.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Oe(t,n,r,s)}function Oe(t,e,r,n){r.addEventListener("input",ie(()=>{Re(t,e,r,n)},200));let i=!1;r.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Fe(e,r):s.key=="Escape"?r.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),r.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!r.matches(":focus")&&s.key==="/"&&(r.focus(),s.preventDefault())})}function _e(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=ce.Index.load(window.searchData.index))}function Re(t,e,r,n){if(_e(n,t),!n.index||!n.data)return;e.textContent="";let i=r.value.trim(),s=i?n.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${le(l.parent,i)}.${u}`);let d=document.createElement("li");d.classList.value=l.classes??"";let m=document.createElement("a");m.href=n.base+l.url,m.innerHTML=u,d.append(m),e.appendChild(d)}}function ue(t,e){let r=t.querySelector(".current");if(!r)r=t.querySelector(e==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let n=r;if(e===1)do n=n.nextElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);else do n=n.previousElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);n&&(r.classList.remove("current"),n.classList.add("current"))}}function Fe(t,e){let r=t.querySelector(".current");if(r||(r=t.querySelector("li:first-child")),r){let n=r.querySelector("a");n&&(window.location.href=n.href),e.blur()}}function le(t,e){if(e==="")return t;let r=t.toLocaleLowerCase(),n=e.toLocaleLowerCase(),i=[],s=0,o=r.indexOf(n);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+n.length))}`),s=o+n.length,o=r.indexOf(n,s);return i.push(K(t.substring(s))),i.join("")}var Me={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Me[e])}var P=class{constructor(e){this.el=e.el,this.app=e.app}};var M="mousedown",fe="mousemove",N="mouseup",J={x:0,y:0},he=!1,ee=!1,De=!1,D=!1,pe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(pe?"is-mobile":"not-mobile");pe&&"ontouchstart"in document.documentElement&&(De=!0,M="touchstart",fe="touchmove",N="touchend");document.addEventListener(M,t=>{ee=!0,D=!1;let e=M=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=M=="touchstart"?t.targetTouches[0]:t,r=J.x-(e.pageX||0),n=J.y-(e.pageY||0);D=Math.sqrt(r*r+n*n)>10}});document.addEventListener(N,()=>{ee=!1});document.addEventListener("click",t=>{he&&(t.preventDefault(),t.stopImmediatePropagation(),he=!1)});var X=class extends P{constructor(r){super(r);this.className=this.el.dataset.toggle||"",this.el.addEventListener(N,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(M,n=>this.onDocumentPointerDown(n)),document.addEventListener(N,n=>this.onDocumentPointerUp(n))}setActive(r){if(this.active==r)return;this.active=r,document.documentElement.classList.toggle("has-"+this.className,r),this.el.classList.toggle("active",r);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(r){D||(this.setActive(!0),r.preventDefault())}onDocumentPointerDown(r){if(this.active){if(r.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(r){if(!D&&this.active&&r.target.closest(".col-sidebar")){let n=r.target.closest("a");if(n){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),n.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var me=document.head.appendChild(document.createElement("style"));me.dataset.for="filters";var Y=class extends P{constructor(r){super(r);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),me.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let r=Q.getItem(this.key);return r?r==="true":this.el.checked}setLocalStorage(r){Q.setItem(this.key,r.toString()),this.value=r,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let n=Array.from(r.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);r.style.display=n?"none":"block"})}};var Z=class extends P{constructor(r){super(r);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update()),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ve(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}de();G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var ge=document.getElementById("theme");ge&&ve(ge);var Ae=new U;Object.defineProperty(window,"app",{value:Ae});})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/assets/my-theme.css b/assets/my-theme.css new file mode 100644 index 00000000..b4ee67a0 --- /dev/null +++ b/assets/my-theme.css @@ -0,0 +1,149 @@ +@media (prefers-color-scheme: light) { + :root { + --menu-item-active-bg: #dfe0e2; + } +} +@media (prefers-color-scheme: dark) { + :root { + --menu-item-active-bg: #1e2024; + } +} +:root[data-theme='light'] { + --menu-item-active-bg: #dfe0e2; +} +:root[data-theme='dark'] { + --menu-item-active-bg: #1e2024; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background-color: var(--menu-item-active-bg); +} +.container { + padding: 0; +} +.tsd-page-toolbar, +.tsd-generator { + border: 0; +} +.tsd-generator { + padding: 0; + line-height: 40px; + height: 40px; + background: var(--color-background-secondary); +} +.tsd-generator > p { + max-width: 1700px; + margin: auto; +} +.container-main { + margin: 0 auto; + min-height: calc(100vh - 80px); +} +.menu-sticky-wrap { +} +.tsd-navigation.settings .tsd-accordion-details { + padding: 1rem; + background: var(--color-background-secondary); +} +.tsd-navigation.settings { + display: inline-block; + vertical-align: top; + margin: 0; +} +.tsd-navigation.settings .tsd-index-accordion { + position: relative; +} +.tsd-navigation.settings .tsd-accordion-summary { + display: inline-flex; + vertical-align: top; + align-items: center; + margin-left: 1rem; +} +.tsd-navigation a { + display: flex; +} +.col-menu, +.col-content { + position: static; + margin: 0; + height: 100%; + box-sizing: border-box; +} +.col-menu { + flex: 0 0 20rem; + border-left: 0; + padding-left: 1rem; + padding-right: 0.1rem; +} +.col-content { + padding-top: 1rem; + padding-left: 1rem; + padding-right: 1rem; + flex: 1; +} +.menu-item-desc { + color: #5d5d5d; + font-size: 12px; + line-height: 1.26; + font-weight: normal; +} + +:root[data-theme='dark'] .menu-item-desc { + color: #989898; +} +@media (prefers-color-scheme: dark) { + .menu-item-desc { + color: #989898; + } +} + +a.tsd-index-link { + align-items: flex-start; +} +pre { + border: 0; +} +.tsd-signature { + background: var(--code-background); + border: 0; +} +code.tsd-tag { + border: 0; +} + +#tsd-search.has-focus .tsd-navigation.settings { + visibility: hidden; +} + +.tsd-page-toolbar .tsd-toolbar-icon { + text-align: center; +} +@media (max-width: 1024px) { + #tsd-search .title { + max-width: calc(100vw - 22rem); + overflow: hidden; + display: inline-block; + text-overflow: ellipsis; + } +} +@media (min-width: 1200px) { + .page-menu, + .site-menu { + max-height: calc(100vh - 60px); + padding: 10px 0 10px 10px; + top: 40px; + } + .container-main.empty-page-menu { + grid-template-columns: minmax(0, 1fr) minmax(0, 3.5fr) minmax(0, 0); + grid-template-areas: 'sidebar content'; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 60px); + top: 40px; + } +} +#tsd-search .title { + padding-left: 10px; +} diff --git a/assets/search.js b/assets/search.js new file mode 100644 index 00000000..8673669e --- /dev/null +++ b/assets/search.js @@ -0,0 +1 @@ +window.searchData = JSON.parse("{\"rows\":[{\"kind\":4194304,\"name\":\"Session\",\"url\":\"types/Session.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":128,\"name\":\"Client\",\"url\":\"classes/Client.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Client.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"bots\",\"url\":\"classes/Client.html#bots\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"channels\",\"url\":\"classes/Client.html#channels\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"channelUnreads\",\"url\":\"classes/Client.html#channelUnreads\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"emojis\",\"url\":\"classes/Client.html#emojis\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"messages\",\"url\":\"classes/Client.html#messages\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"servers\",\"url\":\"classes/Client.html#servers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"serverMembers\",\"url\":\"classes/Client.html#serverMembers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"users\",\"url\":\"classes/Client.html#users\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"api\",\"url\":\"classes/Client.html#api\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"classes/Client.html#options\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"events\",\"url\":\"classes/Client.html#events\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"configuration\",\"url\":\"classes/Client.html#configuration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"#session\",\"url\":\"classes/Client.html#_session\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"user\",\"url\":\"classes/Client.html#user\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"ready\",\"url\":\"classes/Client.html#ready\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"#setReady\",\"url\":\"classes/Client.html#_setReady\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"connectionFailureCount\",\"url\":\"classes/Client.html#connectionFailureCount\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"#setConnectionFailureCount\",\"url\":\"classes/Client.html#_setConnectionFailureCount\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"Client\"},{\"kind\":1024,\"name\":\"#reconnectTimeout\",\"url\":\"classes/Client.html#_reconnectTimeout\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"Client\"},{\"kind\":2048,\"name\":\"connect\",\"url\":\"classes/Client.html#connect\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":2048,\"name\":\"#fetchConfiguration\",\"url\":\"classes/Client.html#_fetchConfiguration\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"Client\"},{\"kind\":2048,\"name\":\"#updateHeaders\",\"url\":\"classes/Client.html#_updateHeaders\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"Client\"},{\"kind\":2048,\"name\":\"login\",\"url\":\"classes/Client.html#login\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":2048,\"name\":\"useExistingSession\",\"url\":\"classes/Client.html#useExistingSession\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":2048,\"name\":\"loginBot\",\"url\":\"classes/Client.html#loginBot\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":2048,\"name\":\"register\",\"url\":\"classes/Client.html#register\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":2048,\"name\":\"markdownToText\",\"url\":\"classes/Client.html#markdownToText\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":2048,\"name\":\"proxyFile\",\"url\":\"classes/Client.html#proxyFile\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Client\"},{\"kind\":4194304,\"name\":\"ClientOptions\",\"url\":\"types/ClientOptions.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":128,\"name\":\"EventClient\",\"url\":\"classes/EventClient.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/EventClient.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"EventClient\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"classes/EventClient.html#options\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"EventClient\"},{\"kind\":1024,\"name\":\"#protocolVersion\",\"url\":\"classes/EventClient.html#_protocolVersion\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"EventClient\"},{\"kind\":1024,\"name\":\"#transportFormat\",\"url\":\"classes/EventClient.html#_transportFormat\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"EventClient\"},{\"kind\":1024,\"name\":\"ping\",\"url\":\"classes/EventClient.html#ping\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"EventClient\"},{\"kind\":1024,\"name\":\"#setPing\",\"url\":\"classes/EventClient.html#_setPing\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"EventClient\"},{\"kind\":1024,\"name\":\"state\",\"url\":\"classes/EventClient.html#state\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"EventClient\"},{\"kind\":1024,\"name\":\"#setStateSetter\",\"url\":\"classes/EventClient.html#_setStateSetter\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"EventClient\"},{\"kind\":1024,\"name\":\"#socket\",\"url\":\"classes/EventClient.html#_socket\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"EventClient\"},{\"kind\":1024,\"name\":\"#heartbeatIntervalReference\",\"url\":\"classes/EventClient.html#_heartbeatIntervalReference\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"EventClient\"},{\"kind\":1024,\"name\":\"#pongTimeoutReference\",\"url\":\"classes/EventClient.html#_pongTimeoutReference\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"EventClient\"},{\"kind\":2048,\"name\":\"setState\",\"url\":\"classes/EventClient.html#setState\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"EventClient\"},{\"kind\":2048,\"name\":\"connect\",\"url\":\"classes/EventClient.html#connect\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"EventClient\"},{\"kind\":2048,\"name\":\"disconnect\",\"url\":\"classes/EventClient.html#disconnect\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"EventClient\"},{\"kind\":2048,\"name\":\"send\",\"url\":\"classes/EventClient.html#send\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"EventClient\"},{\"kind\":2048,\"name\":\"handle\",\"url\":\"classes/EventClient.html#handle\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"EventClient\"},{\"kind\":8,\"name\":\"ConnectionState\",\"url\":\"enums/ConnectionState.html\",\"classes\":\"tsd-kind-enum\"},{\"kind\":16,\"name\":\"Idle\",\"url\":\"enums/ConnectionState.html#Idle\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ConnectionState\"},{\"kind\":16,\"name\":\"Connecting\",\"url\":\"enums/ConnectionState.html#Connecting\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ConnectionState\"},{\"kind\":16,\"name\":\"Connected\",\"url\":\"enums/ConnectionState.html#Connected\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ConnectionState\"},{\"kind\":16,\"name\":\"Disconnected\",\"url\":\"enums/ConnectionState.html#Disconnected\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ConnectionState\"},{\"kind\":8,\"name\":\"ServerFlags\",\"url\":\"enums/ServerFlags.html\",\"classes\":\"tsd-kind-enum\"},{\"kind\":16,\"name\":\"Official\",\"url\":\"enums/ServerFlags.html#Official\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ServerFlags\"},{\"kind\":16,\"name\":\"Verified\",\"url\":\"enums/ServerFlags.html#Verified\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ServerFlags\"},{\"kind\":8,\"name\":\"UserBadges\",\"url\":\"enums/UserBadges.html\",\"classes\":\"tsd-kind-enum\"},{\"kind\":16,\"name\":\"Developer\",\"url\":\"enums/UserBadges.html#Developer\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserBadges\"},{\"kind\":16,\"name\":\"Translator\",\"url\":\"enums/UserBadges.html#Translator\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserBadges\"},{\"kind\":16,\"name\":\"Supporter\",\"url\":\"enums/UserBadges.html#Supporter\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserBadges\"},{\"kind\":16,\"name\":\"ResponsibleDisclosure\",\"url\":\"enums/UserBadges.html#ResponsibleDisclosure\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserBadges\"},{\"kind\":16,\"name\":\"Founder\",\"url\":\"enums/UserBadges.html#Founder\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserBadges\"},{\"kind\":16,\"name\":\"PlatformModeration\",\"url\":\"enums/UserBadges.html#PlatformModeration\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserBadges\"},{\"kind\":16,\"name\":\"ActiveSupporter\",\"url\":\"enums/UserBadges.html#ActiveSupporter\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserBadges\"},{\"kind\":16,\"name\":\"Paw\",\"url\":\"enums/UserBadges.html#Paw\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserBadges\"},{\"kind\":16,\"name\":\"EarlyAdopter\",\"url\":\"enums/UserBadges.html#EarlyAdopter\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserBadges\"},{\"kind\":16,\"name\":\"ReservedRelevantJokeBadge1\",\"url\":\"enums/UserBadges.html#ReservedRelevantJokeBadge1\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserBadges\"},{\"kind\":16,\"name\":\"ReservedRelevantJokeBadge2\",\"url\":\"enums/UserBadges.html#ReservedRelevantJokeBadge2\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserBadges\"},{\"kind\":8,\"name\":\"UserFlags\",\"url\":\"enums/UserFlags.html\",\"classes\":\"tsd-kind-enum\"},{\"kind\":16,\"name\":\"Suspended\",\"url\":\"enums/UserFlags.html#Suspended\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserFlags\"},{\"kind\":16,\"name\":\"Deleted\",\"url\":\"enums/UserFlags.html#Deleted\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserFlags\"},{\"kind\":16,\"name\":\"Banned\",\"url\":\"enums/UserFlags.html#Banned\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"UserFlags\"},{\"kind\":8,\"name\":\"BotFlags\",\"url\":\"enums/BotFlags.html\",\"classes\":\"tsd-kind-enum\"},{\"kind\":128,\"name\":\"Bot\",\"url\":\"classes/Bot.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Bot.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":1024,\"name\":\"#collection\",\"url\":\"classes/Bot.html#_collection\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"Bot\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/Bot.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":2048,\"name\":\"toString\",\"url\":\"classes/Bot.html#toString\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"createdAt\",\"url\":\"classes/Bot.html#createdAt\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"user\",\"url\":\"classes/Bot.html#user\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"ownerId\",\"url\":\"classes/Bot.html#ownerId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"owner\",\"url\":\"classes/Bot.html#owner\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"token\",\"url\":\"classes/Bot.html#token\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"public\",\"url\":\"classes/Bot.html#public\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"analytics\",\"url\":\"classes/Bot.html#analytics\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"discoverable\",\"url\":\"classes/Bot.html#discoverable\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"interactionsUrl\",\"url\":\"classes/Bot.html#interactionsUrl\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"termsOfServiceUrl\",\"url\":\"classes/Bot.html#termsOfServiceUrl\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"privacyPolicyUrl\",\"url\":\"classes/Bot.html#privacyPolicyUrl\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":262144,\"name\":\"flags\",\"url\":\"classes/Bot.html#flags\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":2048,\"name\":\"edit\",\"url\":\"classes/Bot.html#edit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/Bot.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Bot\"},{\"kind\":128,\"name\":\"Channel\",\"url\":\"classes/Channel.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Channel.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":1024,\"name\":\"#collection\",\"url\":\"classes/Channel.html#_collection\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"Channel\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/Channel.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"toString\",\"url\":\"classes/Channel.html#toString\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"createdAt\",\"url\":\"classes/Channel.html#createdAt\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/Channel.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"path\",\"url\":\"classes/Channel.html#path\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"url\",\"url\":\"classes/Channel.html#url\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"name\",\"url\":\"classes/Channel.html#name\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"displayName\",\"url\":\"classes/Channel.html#displayName\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"description\",\"url\":\"classes/Channel.html#description\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"icon\",\"url\":\"classes/Channel.html#icon\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"active\",\"url\":\"classes/Channel.html#active\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"typingIds\",\"url\":\"classes/Channel.html#typingIds\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"typing\",\"url\":\"classes/Channel.html#typing\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"recipientIds\",\"url\":\"classes/Channel.html#recipientIds\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"recipients\",\"url\":\"classes/Channel.html#recipients\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"recipient\",\"url\":\"classes/Channel.html#recipient\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"userId\",\"url\":\"classes/Channel.html#userId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"user\",\"url\":\"classes/Channel.html#user\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"ownerId\",\"url\":\"classes/Channel.html#ownerId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"owner\",\"url\":\"classes/Channel.html#owner\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"serverId\",\"url\":\"classes/Channel.html#serverId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"server\",\"url\":\"classes/Channel.html#server\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"permissions\",\"url\":\"classes/Channel.html#permissions\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"defaultPermissions\",\"url\":\"classes/Channel.html#defaultPermissions\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"rolePermissions\",\"url\":\"classes/Channel.html#rolePermissions\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"mature\",\"url\":\"classes/Channel.html#mature\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"lastMessageId\",\"url\":\"classes/Channel.html#lastMessageId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"lastMessage\",\"url\":\"classes/Channel.html#lastMessage\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"lastMessageAt\",\"url\":\"classes/Channel.html#lastMessageAt\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"updatedAt\",\"url\":\"classes/Channel.html#updatedAt\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"unread\",\"url\":\"classes/Channel.html#unread\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"mentions\",\"url\":\"classes/Channel.html#mentions\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"iconURL\",\"url\":\"classes/Channel.html#iconURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"smallIconURL\",\"url\":\"classes/Channel.html#smallIconURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"animatedIconURL\",\"url\":\"classes/Channel.html#animatedIconURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":262144,\"name\":\"permission\",\"url\":\"classes/Channel.html#permission\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"havePermission\",\"url\":\"classes/Channel.html#havePermission\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"fetchMembers\",\"url\":\"classes/Channel.html#fetchMembers\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"edit\",\"url\":\"classes/Channel.html#edit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/Channel.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"addMember\",\"url\":\"classes/Channel.html#addMember\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"removeMember\",\"url\":\"classes/Channel.html#removeMember\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"sendMessage\",\"url\":\"classes/Channel.html#sendMessage\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"fetchMessage\",\"url\":\"classes/Channel.html#fetchMessage\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"fetchMessages\",\"url\":\"classes/Channel.html#fetchMessages\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"fetchMessagesWithUsers\",\"url\":\"classes/Channel.html#fetchMessagesWithUsers\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"search\",\"url\":\"classes/Channel.html#search\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"searchWithUsers\",\"url\":\"classes/Channel.html#searchWithUsers\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"deleteMessages\",\"url\":\"classes/Channel.html#deleteMessages\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"createInvite\",\"url\":\"classes/Channel.html#createInvite\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":1024,\"name\":\"#ackTimeout\",\"url\":\"classes/Channel.html#_ackTimeout\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"Channel\"},{\"kind\":1024,\"name\":\"#ackLimit\",\"url\":\"classes/Channel.html#_ackLimit\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"ack\",\"url\":\"classes/Channel.html#ack\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"setPermissions\",\"url\":\"classes/Channel.html#setPermissions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"startTyping\",\"url\":\"classes/Channel.html#startTyping\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":2048,\"name\":\"stopTyping\",\"url\":\"classes/Channel.html#stopTyping\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Channel\"},{\"kind\":128,\"name\":\"ChannelUnread\",\"url\":\"classes/ChannelUnread.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ChannelUnread.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ChannelUnread\"},{\"kind\":1024,\"name\":\"#collection\",\"url\":\"classes/ChannelUnread.html#_collection\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"ChannelUnread\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/ChannelUnread.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ChannelUnread\"},{\"kind\":262144,\"name\":\"lastMessageId\",\"url\":\"classes/ChannelUnread.html#lastMessageId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ChannelUnread\"},{\"kind\":262144,\"name\":\"messageMentionIds\",\"url\":\"classes/ChannelUnread.html#messageMentionIds\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ChannelUnread\"},{\"kind\":128,\"name\":\"Emoji\",\"url\":\"classes/Emoji.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Emoji.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Emoji\"},{\"kind\":1024,\"name\":\"#collection\",\"url\":\"classes/Emoji.html#_collection\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"Emoji\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/Emoji.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Emoji\"},{\"kind\":2048,\"name\":\"toString\",\"url\":\"classes/Emoji.html#toString\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Emoji\"},{\"kind\":262144,\"name\":\"createdAt\",\"url\":\"classes/Emoji.html#createdAt\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Emoji\"},{\"kind\":262144,\"name\":\"parent\",\"url\":\"classes/Emoji.html#parent\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Emoji\"},{\"kind\":262144,\"name\":\"creator\",\"url\":\"classes/Emoji.html#creator\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Emoji\"},{\"kind\":262144,\"name\":\"name\",\"url\":\"classes/Emoji.html#name\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Emoji\"},{\"kind\":262144,\"name\":\"animated\",\"url\":\"classes/Emoji.html#animated\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Emoji\"},{\"kind\":262144,\"name\":\"mature\",\"url\":\"classes/Emoji.html#mature\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Emoji\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/Emoji.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Emoji\"},{\"kind\":128,\"name\":\"File\",\"url\":\"classes/File.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/File.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":1024,\"name\":\"#client\",\"url\":\"classes/File.html#_client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"File\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/File.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":1024,\"name\":\"tag\",\"url\":\"classes/File.html#tag\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":1024,\"name\":\"filename\",\"url\":\"classes/File.html#filename\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":1024,\"name\":\"metadata\",\"url\":\"classes/File.html#metadata\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":1024,\"name\":\"contentType\",\"url\":\"classes/File.html#contentType\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":1024,\"name\":\"size\",\"url\":\"classes/File.html#size\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":262144,\"name\":\"url\",\"url\":\"classes/File.html#url\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":262144,\"name\":\"downloadURL\",\"url\":\"classes/File.html#downloadURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":262144,\"name\":\"humanReadableSize\",\"url\":\"classes/File.html#humanReadableSize\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":262144,\"name\":\"isSpoiler\",\"url\":\"classes/File.html#isSpoiler\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":2048,\"name\":\"createFileURL\",\"url\":\"classes/File.html#createFileURL\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"File\"},{\"kind\":128,\"name\":\"ChannelInvite\",\"url\":\"classes/ChannelInvite.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/ChannelInvite.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ChannelInvite\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ChannelInvite.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ChannelInvite\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ChannelInvite.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ChannelInvite\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/ChannelInvite.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ChannelInvite\"},{\"kind\":128,\"name\":\"UnknownInvite\",\"url\":\"classes/UnknownInvite.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/UnknownInvite.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UnknownInvite\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/UnknownInvite.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UnknownInvite\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/UnknownInvite.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"UnknownInvite\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/UnknownInvite.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UnknownInvite\"},{\"kind\":128,\"name\":\"ServerInvite\",\"url\":\"classes/ServerInvite.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/ServerInvite.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerInvite\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ServerInvite.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ServerInvite\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/ServerInvite.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerInvite\"},{\"kind\":1024,\"name\":\"creatorId\",\"url\":\"classes/ServerInvite.html#creatorId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerInvite\"},{\"kind\":1024,\"name\":\"serverId\",\"url\":\"classes/ServerInvite.html#serverId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerInvite\"},{\"kind\":1024,\"name\":\"channelId\",\"url\":\"classes/ServerInvite.html#channelId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerInvite\"},{\"kind\":262144,\"name\":\"creator\",\"url\":\"classes/ServerInvite.html#creator\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerInvite\"},{\"kind\":262144,\"name\":\"server\",\"url\":\"classes/ServerInvite.html#server\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerInvite\"},{\"kind\":262144,\"name\":\"channel\",\"url\":\"classes/ServerInvite.html#channel\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerInvite\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/ServerInvite.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerInvite\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ServerInvite.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ServerInvite\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/ServerInvite.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerInvite\"},{\"kind\":128,\"name\":\"Message\",\"url\":\"classes/Message.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Message.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":1024,\"name\":\"#collection\",\"url\":\"classes/Message.html#_collection\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"Message\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/Message.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"createdAt\",\"url\":\"classes/Message.html#createdAt\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"path\",\"url\":\"classes/Message.html#path\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"url\",\"url\":\"classes/Message.html#url\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"nonce\",\"url\":\"classes/Message.html#nonce\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"channelId\",\"url\":\"classes/Message.html#channelId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"channel\",\"url\":\"classes/Message.html#channel\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"server\",\"url\":\"classes/Message.html#server\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"member\",\"url\":\"classes/Message.html#member\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"authorId\",\"url\":\"classes/Message.html#authorId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"author\",\"url\":\"classes/Message.html#author\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"content\",\"url\":\"classes/Message.html#content\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"systemMessage\",\"url\":\"classes/Message.html#systemMessage\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"attachments\",\"url\":\"classes/Message.html#attachments\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"editedAt\",\"url\":\"classes/Message.html#editedAt\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"embeds\",\"url\":\"classes/Message.html#embeds\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"mentionIds\",\"url\":\"classes/Message.html#mentionIds\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"replyIds\",\"url\":\"classes/Message.html#replyIds\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"reactions\",\"url\":\"classes/Message.html#reactions\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"interactions\",\"url\":\"classes/Message.html#interactions\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"masquerade\",\"url\":\"classes/Message.html#masquerade\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"username\",\"url\":\"classes/Message.html#username\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"roleColour\",\"url\":\"classes/Message.html#roleColour\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"avatarURL\",\"url\":\"classes/Message.html#avatarURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"animatedAvatarURL\",\"url\":\"classes/Message.html#animatedAvatarURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":262144,\"name\":\"masqueradeAvatarURL\",\"url\":\"classes/Message.html#masqueradeAvatarURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":2048,\"name\":\"edit\",\"url\":\"classes/Message.html#edit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/Message.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":2048,\"name\":\"ack\",\"url\":\"classes/Message.html#ack\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":2048,\"name\":\"reply\",\"url\":\"classes/Message.html#reply\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":2048,\"name\":\"clearReactions\",\"url\":\"classes/Message.html#clearReactions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":2048,\"name\":\"react\",\"url\":\"classes/Message.html#react\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":2048,\"name\":\"unreact\",\"url\":\"classes/Message.html#unreact\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Message\"},{\"kind\":128,\"name\":\"MessageEmbed\",\"url\":\"classes/MessageEmbed.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/MessageEmbed.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MessageEmbed\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/MessageEmbed.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"MessageEmbed\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/MessageEmbed.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"MessageEmbed\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/MessageEmbed.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"MessageEmbed\"},{\"kind\":128,\"name\":\"UnknownEmbed\",\"url\":\"classes/UnknownEmbed.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/UnknownEmbed.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UnknownEmbed\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/UnknownEmbed.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UnknownEmbed\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/UnknownEmbed.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"UnknownEmbed\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/UnknownEmbed.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UnknownEmbed\"},{\"kind\":128,\"name\":\"ImageEmbed\",\"url\":\"classes/ImageEmbed.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/ImageEmbed.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ImageEmbed\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ImageEmbed.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ImageEmbed\"},{\"kind\":1024,\"name\":\"url\",\"url\":\"classes/ImageEmbed.html#url\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ImageEmbed\"},{\"kind\":1024,\"name\":\"width\",\"url\":\"classes/ImageEmbed.html#width\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ImageEmbed\"},{\"kind\":1024,\"name\":\"height\",\"url\":\"classes/ImageEmbed.html#height\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ImageEmbed\"},{\"kind\":1024,\"name\":\"size\",\"url\":\"classes/ImageEmbed.html#size\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ImageEmbed\"},{\"kind\":262144,\"name\":\"proxiedURL\",\"url\":\"classes/ImageEmbed.html#proxiedURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ImageEmbed\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ImageEmbed.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ImageEmbed\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/ImageEmbed.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ImageEmbed\"},{\"kind\":128,\"name\":\"VideoEmbed\",\"url\":\"classes/VideoEmbed.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/VideoEmbed.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"VideoEmbed\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/VideoEmbed.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"VideoEmbed\"},{\"kind\":1024,\"name\":\"url\",\"url\":\"classes/VideoEmbed.html#url\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"VideoEmbed\"},{\"kind\":1024,\"name\":\"width\",\"url\":\"classes/VideoEmbed.html#width\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"VideoEmbed\"},{\"kind\":1024,\"name\":\"height\",\"url\":\"classes/VideoEmbed.html#height\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"VideoEmbed\"},{\"kind\":262144,\"name\":\"proxiedURL\",\"url\":\"classes/VideoEmbed.html#proxiedURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"VideoEmbed\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/VideoEmbed.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"VideoEmbed\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/VideoEmbed.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"VideoEmbed\"},{\"kind\":128,\"name\":\"WebsiteEmbed\",\"url\":\"classes/WebsiteEmbed.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/WebsiteEmbed.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"WebsiteEmbed\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/WebsiteEmbed.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"url\",\"url\":\"classes/WebsiteEmbed.html#url\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"originalUrl\",\"url\":\"classes/WebsiteEmbed.html#originalUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"specialContent\",\"url\":\"classes/WebsiteEmbed.html#specialContent\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"title\",\"url\":\"classes/WebsiteEmbed.html#title\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/WebsiteEmbed.html#description\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"image\",\"url\":\"classes/WebsiteEmbed.html#image\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"video\",\"url\":\"classes/WebsiteEmbed.html#video\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"siteName\",\"url\":\"classes/WebsiteEmbed.html#siteName\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"iconUrl\",\"url\":\"classes/WebsiteEmbed.html#iconUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"colour\",\"url\":\"classes/WebsiteEmbed.html#colour\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":262144,\"name\":\"proxiedIconURL\",\"url\":\"classes/WebsiteEmbed.html#proxiedIconURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":262144,\"name\":\"embedURL\",\"url\":\"classes/WebsiteEmbed.html#embedURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/WebsiteEmbed.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"WebsiteEmbed\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/WebsiteEmbed.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"WebsiteEmbed\"},{\"kind\":128,\"name\":\"TextEmbed\",\"url\":\"classes/TextEmbed.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/TextEmbed.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"TextEmbed\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/TextEmbed.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"TextEmbed\"},{\"kind\":1024,\"name\":\"iconUrl\",\"url\":\"classes/TextEmbed.html#iconUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"TextEmbed\"},{\"kind\":1024,\"name\":\"url\",\"url\":\"classes/TextEmbed.html#url\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"TextEmbed\"},{\"kind\":1024,\"name\":\"title\",\"url\":\"classes/TextEmbed.html#title\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"TextEmbed\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/TextEmbed.html#description\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"TextEmbed\"},{\"kind\":1024,\"name\":\"media\",\"url\":\"classes/TextEmbed.html#media\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"TextEmbed\"},{\"kind\":1024,\"name\":\"colour\",\"url\":\"classes/TextEmbed.html#colour\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"TextEmbed\"},{\"kind\":262144,\"name\":\"proxiedIconURL\",\"url\":\"classes/TextEmbed.html#proxiedIconURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"TextEmbed\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/TextEmbed.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"TextEmbed\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/TextEmbed.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"TextEmbed\"},{\"kind\":128,\"name\":\"PublicBot\",\"url\":\"classes/PublicBot.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/PublicBot.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"PublicBot\"},{\"kind\":1024,\"name\":\"#client\",\"url\":\"classes/PublicBot.html#_client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"PublicBot\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/PublicBot.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"PublicBot\"},{\"kind\":1024,\"name\":\"username\",\"url\":\"classes/PublicBot.html#username\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"PublicBot\"},{\"kind\":1024,\"name\":\"avatar\",\"url\":\"classes/PublicBot.html#avatar\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"PublicBot\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"classes/PublicBot.html#description\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"PublicBot\"},{\"kind\":2048,\"name\":\"addToServer\",\"url\":\"classes/PublicBot.html#addToServer\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"PublicBot\"},{\"kind\":2048,\"name\":\"addToGroup\",\"url\":\"classes/PublicBot.html#addToGroup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"PublicBot\"},{\"kind\":128,\"name\":\"PublicChannelInvite\",\"url\":\"classes/PublicChannelInvite.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/PublicChannelInvite.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"PublicChannelInvite\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/PublicChannelInvite.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"PublicChannelInvite\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/PublicChannelInvite.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"PublicChannelInvite\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/PublicChannelInvite.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"PublicChannelInvite\"},{\"kind\":128,\"name\":\"UnknownPublicInvite\",\"url\":\"classes/UnknownPublicInvite.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/UnknownPublicInvite.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UnknownPublicInvite\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/UnknownPublicInvite.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UnknownPublicInvite\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/UnknownPublicInvite.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"UnknownPublicInvite\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/UnknownPublicInvite.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UnknownPublicInvite\"},{\"kind\":128,\"name\":\"ServerPublicInvite\",\"url\":\"classes/ServerPublicInvite.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/ServerPublicInvite.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerPublicInvite\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ServerPublicInvite.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"code\",\"url\":\"classes/ServerPublicInvite.html#code\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"userName\",\"url\":\"classes/ServerPublicInvite.html#userName\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"userAvatar\",\"url\":\"classes/ServerPublicInvite.html#userAvatar\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"serverId\",\"url\":\"classes/ServerPublicInvite.html#serverId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"serverName\",\"url\":\"classes/ServerPublicInvite.html#serverName\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"serverIcon\",\"url\":\"classes/ServerPublicInvite.html#serverIcon\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"serverBanner\",\"url\":\"classes/ServerPublicInvite.html#serverBanner\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"serverFlags\",\"url\":\"classes/ServerPublicInvite.html#serverFlags\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"memberCount\",\"url\":\"classes/ServerPublicInvite.html#memberCount\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"channelId\",\"url\":\"classes/ServerPublicInvite.html#channelId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"channelName\",\"url\":\"classes/ServerPublicInvite.html#channelName\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"channelDescription\",\"url\":\"classes/ServerPublicInvite.html#channelDescription\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":2048,\"name\":\"join\",\"url\":\"classes/ServerPublicInvite.html#join\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ServerPublicInvite.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ServerPublicInvite\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/ServerPublicInvite.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerPublicInvite\"},{\"kind\":128,\"name\":\"Server\",\"url\":\"classes/Server.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Server.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":1024,\"name\":\"#collection\",\"url\":\"classes/Server.html#_collection\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"Server\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/Server.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"toString\",\"url\":\"classes/Server.html#toString\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"createdAt\",\"url\":\"classes/Server.html#createdAt\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"ownerId\",\"url\":\"classes/Server.html#ownerId\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"owner\",\"url\":\"classes/Server.html#owner\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"name\",\"url\":\"classes/Server.html#name\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"description\",\"url\":\"classes/Server.html#description\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"icon\",\"url\":\"classes/Server.html#icon\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"banner\",\"url\":\"classes/Server.html#banner\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"channelIds\",\"url\":\"classes/Server.html#channelIds\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"channels\",\"url\":\"classes/Server.html#channels\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"categories\",\"url\":\"classes/Server.html#categories\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"systemMessages\",\"url\":\"classes/Server.html#systemMessages\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"roles\",\"url\":\"classes/Server.html#roles\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"defaultPermissions\",\"url\":\"classes/Server.html#defaultPermissions\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"flags\",\"url\":\"classes/Server.html#flags\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"analytics\",\"url\":\"classes/Server.html#analytics\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"discoverable\",\"url\":\"classes/Server.html#discoverable\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"mature\",\"url\":\"classes/Server.html#mature\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"orderedChannels\",\"url\":\"classes/Server.html#orderedChannels\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"defaultChannel\",\"url\":\"classes/Server.html#defaultChannel\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"orderedRoles\",\"url\":\"classes/Server.html#orderedRoles\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"unread\",\"url\":\"classes/Server.html#unread\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"mentions\",\"url\":\"classes/Server.html#mentions\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"iconURL\",\"url\":\"classes/Server.html#iconURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"animatedIconURL\",\"url\":\"classes/Server.html#animatedIconURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"bannerURL\",\"url\":\"classes/Server.html#bannerURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"member\",\"url\":\"classes/Server.html#member\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":262144,\"name\":\"permission\",\"url\":\"classes/Server.html#permission\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"havePermission\",\"url\":\"classes/Server.html#havePermission\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"createChannel\",\"url\":\"classes/Server.html#createChannel\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"edit\",\"url\":\"classes/Server.html#edit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/Server.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"ack\",\"url\":\"classes/Server.html#ack\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"banUser\",\"url\":\"classes/Server.html#banUser\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"kickUser\",\"url\":\"classes/Server.html#kickUser\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"unbanUser\",\"url\":\"classes/Server.html#unbanUser\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"fetchInvites\",\"url\":\"classes/Server.html#fetchInvites\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"fetchBans\",\"url\":\"classes/Server.html#fetchBans\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"setPermissions\",\"url\":\"classes/Server.html#setPermissions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"createRole\",\"url\":\"classes/Server.html#createRole\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"editRole\",\"url\":\"classes/Server.html#editRole\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"deleteRole\",\"url\":\"classes/Server.html#deleteRole\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"fetchMember\",\"url\":\"classes/Server.html#fetchMember\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"syncMembers\",\"url\":\"classes/Server.html#syncMembers\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"fetchMembers\",\"url\":\"classes/Server.html#fetchMembers\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"createEmoji\",\"url\":\"classes/Server.html#createEmoji\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":2048,\"name\":\"fetchEmojis\",\"url\":\"classes/Server.html#fetchEmojis\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Server\"},{\"kind\":128,\"name\":\"ServerBan\",\"url\":\"classes/ServerBan.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ServerBan.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ServerBan\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ServerBan.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"ServerBan\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/ServerBan.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerBan\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ServerBan.html#id.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"ServerBan.id\"},{\"kind\":1024,\"name\":\"reason\",\"url\":\"classes/ServerBan.html#reason\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerBan\"},{\"kind\":262144,\"name\":\"user\",\"url\":\"classes/ServerBan.html#user-1\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerBan\"},{\"kind\":262144,\"name\":\"server\",\"url\":\"classes/ServerBan.html#server-1\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerBan\"},{\"kind\":2048,\"name\":\"pardon\",\"url\":\"classes/ServerBan.html#pardon\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerBan\"},{\"kind\":128,\"name\":\"ServerMember\",\"url\":\"classes/ServerMember.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ServerMember.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":1024,\"name\":\"#collection\",\"url\":\"classes/ServerMember.html#_collection\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"ServerMember\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/ServerMember.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ServerMember.html#id.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"ServerMember.id\"},{\"kind\":2048,\"name\":\"toString\",\"url\":\"classes/ServerMember.html#toString\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"server\",\"url\":\"classes/ServerMember.html#server-1\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"user\",\"url\":\"classes/ServerMember.html#user-1\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"joinedAt\",\"url\":\"classes/ServerMember.html#joinedAt\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"nickname\",\"url\":\"classes/ServerMember.html#nickname\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"avatar\",\"url\":\"classes/ServerMember.html#avatar\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"roles\",\"url\":\"classes/ServerMember.html#roles\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"timeout\",\"url\":\"classes/ServerMember.html#timeout\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"orderedRoles\",\"url\":\"classes/ServerMember.html#orderedRoles\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"hoistedRole\",\"url\":\"classes/ServerMember.html#hoistedRole\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"roleColour\",\"url\":\"classes/ServerMember.html#roleColour\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"ranking\",\"url\":\"classes/ServerMember.html#ranking\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":2048,\"name\":\"getPermissions\",\"url\":\"classes/ServerMember.html#getPermissions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":2048,\"name\":\"hasPermission\",\"url\":\"classes/ServerMember.html#hasPermission\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":2048,\"name\":\"inferiorTo\",\"url\":\"classes/ServerMember.html#inferiorTo\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"avatarURL\",\"url\":\"classes/ServerMember.html#avatarURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":262144,\"name\":\"animatedAvatarURL\",\"url\":\"classes/ServerMember.html#animatedAvatarURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":2048,\"name\":\"edit\",\"url\":\"classes/ServerMember.html#edit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":2048,\"name\":\"ban\",\"url\":\"classes/ServerMember.html#ban\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":2048,\"name\":\"kick\",\"url\":\"classes/ServerMember.html#kick\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMember\"},{\"kind\":128,\"name\":\"SystemMessage\",\"url\":\"classes/SystemMessage.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/SystemMessage.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"SystemMessage\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/SystemMessage.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"SystemMessage\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/SystemMessage.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"SystemMessage\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/SystemMessage.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"SystemMessage\"},{\"kind\":128,\"name\":\"TextSystemMessage\",\"url\":\"classes/TextSystemMessage.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/TextSystemMessage.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"TextSystemMessage\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/TextSystemMessage.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"TextSystemMessage\"},{\"kind\":1024,\"name\":\"content\",\"url\":\"classes/TextSystemMessage.html#content\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"TextSystemMessage\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/TextSystemMessage.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"TextSystemMessage\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/TextSystemMessage.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"TextSystemMessage\"},{\"kind\":128,\"name\":\"UserSystemMessage\",\"url\":\"classes/UserSystemMessage.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/UserSystemMessage.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserSystemMessage\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/UserSystemMessage.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"UserSystemMessage\"},{\"kind\":1024,\"name\":\"userId\",\"url\":\"classes/UserSystemMessage.html#userId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"UserSystemMessage\"},{\"kind\":262144,\"name\":\"user\",\"url\":\"classes/UserSystemMessage.html#user\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"UserSystemMessage\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/UserSystemMessage.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"UserSystemMessage\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/UserSystemMessage.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserSystemMessage\"},{\"kind\":128,\"name\":\"UserModeratedSystemMessage\",\"url\":\"classes/UserModeratedSystemMessage.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/UserModeratedSystemMessage.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserModeratedSystemMessage\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/UserModeratedSystemMessage.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"UserModeratedSystemMessage\"},{\"kind\":1024,\"name\":\"byId\",\"url\":\"classes/UserModeratedSystemMessage.html#byId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"UserModeratedSystemMessage\"},{\"kind\":262144,\"name\":\"by\",\"url\":\"classes/UserModeratedSystemMessage.html#by\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"UserModeratedSystemMessage\"},{\"kind\":1024,\"name\":\"userId\",\"url\":\"classes/UserModeratedSystemMessage.html#userId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserModeratedSystemMessage\"},{\"kind\":262144,\"name\":\"user\",\"url\":\"classes/UserModeratedSystemMessage.html#user\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserModeratedSystemMessage\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/UserModeratedSystemMessage.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"UserModeratedSystemMessage\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/UserModeratedSystemMessage.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserModeratedSystemMessage\"},{\"kind\":128,\"name\":\"ChannelEditSystemMessage\",\"url\":\"classes/ChannelEditSystemMessage.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/ChannelEditSystemMessage.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelEditSystemMessage\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ChannelEditSystemMessage.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ChannelEditSystemMessage\"},{\"kind\":1024,\"name\":\"byId\",\"url\":\"classes/ChannelEditSystemMessage.html#byId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ChannelEditSystemMessage\"},{\"kind\":262144,\"name\":\"by\",\"url\":\"classes/ChannelEditSystemMessage.html#by\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ChannelEditSystemMessage\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ChannelEditSystemMessage.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ChannelEditSystemMessage\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/ChannelEditSystemMessage.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelEditSystemMessage\"},{\"kind\":128,\"name\":\"ChannelRenamedSystemMessage\",\"url\":\"classes/ChannelRenamedSystemMessage.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/ChannelRenamedSystemMessage.html#from\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelRenamedSystemMessage\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ChannelRenamedSystemMessage.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ChannelRenamedSystemMessage\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"classes/ChannelRenamedSystemMessage.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ChannelRenamedSystemMessage\"},{\"kind\":1024,\"name\":\"byId\",\"url\":\"classes/ChannelRenamedSystemMessage.html#byId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelRenamedSystemMessage\"},{\"kind\":262144,\"name\":\"by\",\"url\":\"classes/ChannelRenamedSystemMessage.html#by\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelRenamedSystemMessage\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ChannelRenamedSystemMessage.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ChannelRenamedSystemMessage\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/ChannelRenamedSystemMessage.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelRenamedSystemMessage\"},{\"kind\":128,\"name\":\"ChannelOwnershipChangeSystemMessage\",\"url\":\"classes/ChannelOwnershipChangeSystemMessage.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"from\",\"url\":\"classes/ChannelOwnershipChangeSystemMessage.html#from-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelOwnershipChangeSystemMessage\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ChannelOwnershipChangeSystemMessage.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ChannelOwnershipChangeSystemMessage\"},{\"kind\":1024,\"name\":\"fromId\",\"url\":\"classes/ChannelOwnershipChangeSystemMessage.html#fromId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ChannelOwnershipChangeSystemMessage\"},{\"kind\":1024,\"name\":\"toId\",\"url\":\"classes/ChannelOwnershipChangeSystemMessage.html#toId\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ChannelOwnershipChangeSystemMessage\"},{\"kind\":262144,\"name\":\"from\",\"url\":\"classes/ChannelOwnershipChangeSystemMessage.html#from\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ChannelOwnershipChangeSystemMessage\"},{\"kind\":262144,\"name\":\"to\",\"url\":\"classes/ChannelOwnershipChangeSystemMessage.html#to\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"ChannelOwnershipChangeSystemMessage\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ChannelOwnershipChangeSystemMessage.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited\",\"parent\":\"ChannelOwnershipChangeSystemMessage\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"classes/ChannelOwnershipChangeSystemMessage.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelOwnershipChangeSystemMessage\"},{\"kind\":128,\"name\":\"User\",\"url\":\"classes/User.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/User.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":1024,\"name\":\"#collection\",\"url\":\"classes/User.html#_collection\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"User\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"classes/User.html#id\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":2048,\"name\":\"toString\",\"url\":\"classes/User.html#toString\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"createdAt\",\"url\":\"classes/User.html#createdAt\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"username\",\"url\":\"classes/User.html#username\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"avatar\",\"url\":\"classes/User.html#avatar\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"badges\",\"url\":\"classes/User.html#badges\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"status\",\"url\":\"classes/User.html#status\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"relationship\",\"url\":\"classes/User.html#relationship\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"online\",\"url\":\"classes/User.html#online\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"privileged\",\"url\":\"classes/User.html#privileged\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"flags\",\"url\":\"classes/User.html#flags\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"bot\",\"url\":\"classes/User.html#bot\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"defaultAvatarURL\",\"url\":\"classes/User.html#defaultAvatarURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"avatarURL\",\"url\":\"classes/User.html#avatarURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"animatedAvatarURL\",\"url\":\"classes/User.html#animatedAvatarURL\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":262144,\"name\":\"permission\",\"url\":\"classes/User.html#permission\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":2048,\"name\":\"edit\",\"url\":\"classes/User.html#edit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":2048,\"name\":\"changeUsername\",\"url\":\"classes/User.html#changeUsername\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":2048,\"name\":\"openDM\",\"url\":\"classes/User.html#openDM\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":2048,\"name\":\"addFriend\",\"url\":\"classes/User.html#addFriend\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":2048,\"name\":\"removeFriend\",\"url\":\"classes/User.html#removeFriend\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":2048,\"name\":\"blockUser\",\"url\":\"classes/User.html#blockUser\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":2048,\"name\":\"unblockUser\",\"url\":\"classes/User.html#unblockUser\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":2048,\"name\":\"fetchProfile\",\"url\":\"classes/User.html#fetchProfile\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":2048,\"name\":\"fetchMutual\",\"url\":\"classes/User.html#fetchMutual\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"User\"},{\"kind\":32,\"name\":\"RE_MENTIONS\",\"url\":\"variables/RE_MENTIONS.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":32,\"name\":\"RE_CHANNELS\",\"url\":\"variables/RE_CHANNELS.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":32,\"name\":\"RE_SPOILER\",\"url\":\"variables/RE_SPOILER.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":128,\"name\":\"BotCollection\",\"url\":\"classes/BotCollection.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/BotCollection.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"fetch\",\"url\":\"classes/BotCollection.html#fetch\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"fetchOwned\",\"url\":\"classes/BotCollection.html#fetchOwned\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"fetchPublic\",\"url\":\"classes/BotCollection.html#fetchPublic\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"getOrCreate\",\"url\":\"classes/BotCollection.html#getOrCreate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"createBot\",\"url\":\"classes/BotCollection.html#createBot\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"BotCollection\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/BotCollection.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":1024,\"name\":\"#storage\",\"url\":\"classes/BotCollection.html#_storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":1024,\"name\":\"#objects\",\"url\":\"classes/BotCollection.html#_objects\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":1024,\"name\":\"getUnderlyingObject\",\"url\":\"classes/BotCollection.html#getUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/BotCollection.html#getUnderlyingObject.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"BotCollection.getUnderlyingObject\"},{\"kind\":1024,\"name\":\"updateUnderlyingObject\",\"url\":\"classes/BotCollection.html#updateUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/BotCollection.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/BotCollection.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/BotCollection.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"create\",\"url\":\"classes/BotCollection.html#create\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"isPartial\",\"url\":\"classes/BotCollection.html#isPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"size\",\"url\":\"classes/BotCollection.html#size\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/BotCollection.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"classes/BotCollection.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"classes/BotCollection.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"classes/BotCollection.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"toList\",\"url\":\"classes/BotCollection.html#toList\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"classes/BotCollection.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"classes/BotCollection.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":2048,\"name\":\"find\",\"url\":\"classes/BotCollection.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"BotCollection\"},{\"kind\":128,\"name\":\"ChannelCollection\",\"url\":\"classes/ChannelCollection.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ChannelCollection.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/ChannelCollection.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"fetch\",\"url\":\"classes/ChannelCollection.html#fetch\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"getOrCreate\",\"url\":\"classes/ChannelCollection.html#getOrCreate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"getOrPartial\",\"url\":\"classes/ChannelCollection.html#getOrPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"createGroup\",\"url\":\"classes/ChannelCollection.html#createGroup\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ChannelCollection\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ChannelCollection.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":1024,\"name\":\"#storage\",\"url\":\"classes/ChannelCollection.html#_storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":1024,\"name\":\"#objects\",\"url\":\"classes/ChannelCollection.html#_objects\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":1024,\"name\":\"getUnderlyingObject\",\"url\":\"classes/ChannelCollection.html#getUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ChannelCollection.html#getUnderlyingObject.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"ChannelCollection.getUnderlyingObject\"},{\"kind\":1024,\"name\":\"updateUnderlyingObject\",\"url\":\"classes/ChannelCollection.html#updateUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/ChannelCollection.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/ChannelCollection.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"create\",\"url\":\"classes/ChannelCollection.html#create\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"isPartial\",\"url\":\"classes/ChannelCollection.html#isPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"size\",\"url\":\"classes/ChannelCollection.html#size\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/ChannelCollection.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"classes/ChannelCollection.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"classes/ChannelCollection.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"classes/ChannelCollection.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"toList\",\"url\":\"classes/ChannelCollection.html#toList\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"classes/ChannelCollection.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"classes/ChannelCollection.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":2048,\"name\":\"find\",\"url\":\"classes/ChannelCollection.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelCollection\"},{\"kind\":128,\"name\":\"ChannelUnreadCollection\",\"url\":\"classes/ChannelUnreadCollection.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ChannelUnreadCollection.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"sync\",\"url\":\"classes/ChannelUnreadCollection.html#sync\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"reset\",\"url\":\"classes/ChannelUnreadCollection.html#reset\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"getOrCreate\",\"url\":\"classes/ChannelUnreadCollection.html#getOrCreate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ChannelUnreadCollection.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":1024,\"name\":\"#storage\",\"url\":\"classes/ChannelUnreadCollection.html#_storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":1024,\"name\":\"#objects\",\"url\":\"classes/ChannelUnreadCollection.html#_objects\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":1024,\"name\":\"getUnderlyingObject\",\"url\":\"classes/ChannelUnreadCollection.html#getUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ChannelUnreadCollection.html#getUnderlyingObject.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"ChannelUnreadCollection.getUnderlyingObject\"},{\"kind\":1024,\"name\":\"updateUnderlyingObject\",\"url\":\"classes/ChannelUnreadCollection.html#updateUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/ChannelUnreadCollection.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/ChannelUnreadCollection.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/ChannelUnreadCollection.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"create\",\"url\":\"classes/ChannelUnreadCollection.html#create\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"isPartial\",\"url\":\"classes/ChannelUnreadCollection.html#isPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"size\",\"url\":\"classes/ChannelUnreadCollection.html#size\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/ChannelUnreadCollection.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"classes/ChannelUnreadCollection.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"classes/ChannelUnreadCollection.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"classes/ChannelUnreadCollection.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"toList\",\"url\":\"classes/ChannelUnreadCollection.html#toList\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"classes/ChannelUnreadCollection.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"classes/ChannelUnreadCollection.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":2048,\"name\":\"find\",\"url\":\"classes/ChannelUnreadCollection.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ChannelUnreadCollection\"},{\"kind\":128,\"name\":\"EmojiCollection\",\"url\":\"classes/EmojiCollection.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/EmojiCollection.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"fetch\",\"url\":\"classes/EmojiCollection.html#fetch\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"getOrCreate\",\"url\":\"classes/EmojiCollection.html#getOrCreate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"getOrPartial\",\"url\":\"classes/EmojiCollection.html#getOrPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"EmojiCollection\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/EmojiCollection.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":1024,\"name\":\"#storage\",\"url\":\"classes/EmojiCollection.html#_storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":1024,\"name\":\"#objects\",\"url\":\"classes/EmojiCollection.html#_objects\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":1024,\"name\":\"getUnderlyingObject\",\"url\":\"classes/EmojiCollection.html#getUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/EmojiCollection.html#getUnderlyingObject.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"EmojiCollection.getUnderlyingObject\"},{\"kind\":1024,\"name\":\"updateUnderlyingObject\",\"url\":\"classes/EmojiCollection.html#updateUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/EmojiCollection.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/EmojiCollection.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/EmojiCollection.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"create\",\"url\":\"classes/EmojiCollection.html#create\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"isPartial\",\"url\":\"classes/EmojiCollection.html#isPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"size\",\"url\":\"classes/EmojiCollection.html#size\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/EmojiCollection.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"classes/EmojiCollection.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"classes/EmojiCollection.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"classes/EmojiCollection.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"toList\",\"url\":\"classes/EmojiCollection.html#toList\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"classes/EmojiCollection.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"classes/EmojiCollection.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":2048,\"name\":\"find\",\"url\":\"classes/EmojiCollection.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"EmojiCollection\"},{\"kind\":128,\"name\":\"MessageCollection\",\"url\":\"classes/MessageCollection.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/MessageCollection.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"fetch\",\"url\":\"classes/MessageCollection.html#fetch\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"getOrCreate\",\"url\":\"classes/MessageCollection.html#getOrCreate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"getOrPartial\",\"url\":\"classes/MessageCollection.html#getOrPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"queryMessages\",\"url\":\"classes/MessageCollection.html#queryMessages\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MessageCollection\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/MessageCollection.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":1024,\"name\":\"#storage\",\"url\":\"classes/MessageCollection.html#_storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":1024,\"name\":\"#objects\",\"url\":\"classes/MessageCollection.html#_objects\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":1024,\"name\":\"getUnderlyingObject\",\"url\":\"classes/MessageCollection.html#getUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/MessageCollection.html#getUnderlyingObject.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"MessageCollection.getUnderlyingObject\"},{\"kind\":1024,\"name\":\"updateUnderlyingObject\",\"url\":\"classes/MessageCollection.html#updateUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/MessageCollection.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/MessageCollection.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/MessageCollection.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"create\",\"url\":\"classes/MessageCollection.html#create\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"isPartial\",\"url\":\"classes/MessageCollection.html#isPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"size\",\"url\":\"classes/MessageCollection.html#size\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/MessageCollection.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"classes/MessageCollection.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"classes/MessageCollection.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"classes/MessageCollection.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"toList\",\"url\":\"classes/MessageCollection.html#toList\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"classes/MessageCollection.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"classes/MessageCollection.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":2048,\"name\":\"find\",\"url\":\"classes/MessageCollection.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MessageCollection\"},{\"kind\":128,\"name\":\"ServerCollection\",\"url\":\"classes/ServerCollection.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ServerCollection.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"fetch\",\"url\":\"classes/ServerCollection.html#fetch\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"getOrCreate\",\"url\":\"classes/ServerCollection.html#getOrCreate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"getOrPartial\",\"url\":\"classes/ServerCollection.html#getOrPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"createServer\",\"url\":\"classes/ServerCollection.html#createServer\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerCollection\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ServerCollection.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":1024,\"name\":\"#storage\",\"url\":\"classes/ServerCollection.html#_storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":1024,\"name\":\"#objects\",\"url\":\"classes/ServerCollection.html#_objects\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":1024,\"name\":\"getUnderlyingObject\",\"url\":\"classes/ServerCollection.html#getUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ServerCollection.html#getUnderlyingObject.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"ServerCollection.getUnderlyingObject\"},{\"kind\":1024,\"name\":\"updateUnderlyingObject\",\"url\":\"classes/ServerCollection.html#updateUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/ServerCollection.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/ServerCollection.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/ServerCollection.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"create\",\"url\":\"classes/ServerCollection.html#create\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"isPartial\",\"url\":\"classes/ServerCollection.html#isPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"size\",\"url\":\"classes/ServerCollection.html#size\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/ServerCollection.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"classes/ServerCollection.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"classes/ServerCollection.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"classes/ServerCollection.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"toList\",\"url\":\"classes/ServerCollection.html#toList\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"classes/ServerCollection.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"classes/ServerCollection.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":2048,\"name\":\"find\",\"url\":\"classes/ServerCollection.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerCollection\"},{\"kind\":128,\"name\":\"ServerMemberCollection\",\"url\":\"classes/ServerMemberCollection.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ServerMemberCollection.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"hasByKey\",\"url\":\"classes/ServerMemberCollection.html#hasByKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"getByKey\",\"url\":\"classes/ServerMemberCollection.html#getByKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"fetch\",\"url\":\"classes/ServerMemberCollection.html#fetch\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"getOrCreate\",\"url\":\"classes/ServerMemberCollection.html#getOrCreate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"getOrPartial\",\"url\":\"classes/ServerMemberCollection.html#getOrPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ServerMemberCollection\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ServerMemberCollection.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":1024,\"name\":\"#storage\",\"url\":\"classes/ServerMemberCollection.html#_storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":1024,\"name\":\"#objects\",\"url\":\"classes/ServerMemberCollection.html#_objects\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":1024,\"name\":\"getUnderlyingObject\",\"url\":\"classes/ServerMemberCollection.html#getUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ServerMemberCollection.html#getUnderlyingObject.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"ServerMemberCollection.getUnderlyingObject\"},{\"kind\":1024,\"name\":\"updateUnderlyingObject\",\"url\":\"classes/ServerMemberCollection.html#updateUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/ServerMemberCollection.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/ServerMemberCollection.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/ServerMemberCollection.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"create\",\"url\":\"classes/ServerMemberCollection.html#create\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"isPartial\",\"url\":\"classes/ServerMemberCollection.html#isPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"size\",\"url\":\"classes/ServerMemberCollection.html#size\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/ServerMemberCollection.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"classes/ServerMemberCollection.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"classes/ServerMemberCollection.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"classes/ServerMemberCollection.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"toList\",\"url\":\"classes/ServerMemberCollection.html#toList\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"classes/ServerMemberCollection.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"classes/ServerMemberCollection.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":2048,\"name\":\"find\",\"url\":\"classes/ServerMemberCollection.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerMemberCollection\"},{\"kind\":128,\"name\":\"UserCollection\",\"url\":\"classes/UserCollection.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/UserCollection.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"fetch\",\"url\":\"classes/UserCollection.html#fetch\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"getOrCreate\",\"url\":\"classes/UserCollection.html#getOrCreate\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"getOrPartial\",\"url\":\"classes/UserCollection.html#getOrPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"UserCollection\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/UserCollection.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":1024,\"name\":\"#storage\",\"url\":\"classes/UserCollection.html#_storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":1024,\"name\":\"#objects\",\"url\":\"classes/UserCollection.html#_objects\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":1024,\"name\":\"getUnderlyingObject\",\"url\":\"classes/UserCollection.html#getUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/UserCollection.html#getUnderlyingObject.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"UserCollection.getUnderlyingObject\"},{\"kind\":1024,\"name\":\"updateUnderlyingObject\",\"url\":\"classes/UserCollection.html#updateUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/UserCollection.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/UserCollection.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/UserCollection.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"create\",\"url\":\"classes/UserCollection.html#create\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"isPartial\",\"url\":\"classes/UserCollection.html#isPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"size\",\"url\":\"classes/UserCollection.html#size\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/UserCollection.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"classes/UserCollection.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"classes/UserCollection.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"classes/UserCollection.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"toList\",\"url\":\"classes/UserCollection.html#toList\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"classes/UserCollection.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"classes/UserCollection.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":2048,\"name\":\"find\",\"url\":\"classes/UserCollection.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"UserCollection\"},{\"kind\":128,\"name\":\"Collection\",\"url\":\"classes/Collection.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Collection.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/Collection.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/Collection.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/Collection.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"size\",\"url\":\"classes/Collection.html#size\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/Collection.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"classes/Collection.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"classes/Collection.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"classes/Collection.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"toList\",\"url\":\"classes/Collection.html#toList\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"classes/Collection.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"classes/Collection.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":2048,\"name\":\"find\",\"url\":\"classes/Collection.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"Collection\"},{\"kind\":128,\"name\":\"StoreCollection\",\"url\":\"classes/StoreCollection.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/StoreCollection.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":1024,\"name\":\"#storage\",\"url\":\"classes/StoreCollection.html#_storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"StoreCollection\"},{\"kind\":1024,\"name\":\"#objects\",\"url\":\"classes/StoreCollection.html#_objects\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"StoreCollection\"},{\"kind\":1024,\"name\":\"getUnderlyingObject\",\"url\":\"classes/StoreCollection.html#getUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/StoreCollection.html#getUnderlyingObject.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"StoreCollection.getUnderlyingObject\"},{\"kind\":1024,\"name\":\"updateUnderlyingObject\",\"url\":\"classes/StoreCollection.html#updateUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/StoreCollection.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/StoreCollection.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/StoreCollection.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"create\",\"url\":\"classes/StoreCollection.html#create\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"isPartial\",\"url\":\"classes/StoreCollection.html#isPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"size\",\"url\":\"classes/StoreCollection.html#size\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/StoreCollection.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"classes/StoreCollection.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"classes/StoreCollection.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"classes/StoreCollection.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"toList\",\"url\":\"classes/StoreCollection.html#toList\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"classes/StoreCollection.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"classes/StoreCollection.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"StoreCollection\"},{\"kind\":2048,\"name\":\"find\",\"url\":\"classes/StoreCollection.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"StoreCollection\"},{\"kind\":128,\"name\":\"ClassCollection\",\"url\":\"classes/ClassCollection.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ClassCollection.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ClassCollection\"},{\"kind\":1024,\"name\":\"client\",\"url\":\"classes/ClassCollection.html#client\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"ClassCollection\"},{\"kind\":1024,\"name\":\"#storage\",\"url\":\"classes/ClassCollection.html#_storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":1024,\"name\":\"#objects\",\"url\":\"classes/ClassCollection.html#_objects\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":1024,\"name\":\"getUnderlyingObject\",\"url\":\"classes/ClassCollection.html#getUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ClassCollection.html#getUnderlyingObject.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"ClassCollection.getUnderlyingObject\"},{\"kind\":1024,\"name\":\"updateUnderlyingObject\",\"url\":\"classes/ClassCollection.html#updateUnderlyingObject\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/ClassCollection.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"classes/ClassCollection.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"delete\",\"url\":\"classes/ClassCollection.html#delete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"create\",\"url\":\"classes/ClassCollection.html#create\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"isPartial\",\"url\":\"classes/ClassCollection.html#isPartial\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"size\",\"url\":\"classes/ClassCollection.html#size\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"keys\",\"url\":\"classes/ClassCollection.html#keys\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"classes/ClassCollection.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"classes/ClassCollection.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"classes/ClassCollection.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"toList\",\"url\":\"classes/ClassCollection.html#toList\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"classes/ClassCollection.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"classes/ClassCollection.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"},{\"kind\":2048,\"name\":\"find\",\"url\":\"classes/ClassCollection.html#find\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClassCollection\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,57.301]],[\"comment/0\",[]],[\"name/1\",[1,31.652]],[\"comment/1\",[]],[\"name/2\",[2,28.736]],[\"comment/2\",[]],[\"name/3\",[3,62.409]],[\"comment/3\",[]],[\"name/4\",[4,57.301]],[\"comment/4\",[]],[\"name/5\",[5,62.409]],[\"comment/5\",[]],[\"name/6\",[6,62.409]],[\"comment/6\",[]],[\"name/7\",[7,62.409]],[\"comment/7\",[]],[\"name/8\",[8,62.409]],[\"comment/8\",[]],[\"name/9\",[9,62.409]],[\"comment/9\",[]],[\"name/10\",[10,62.409]],[\"comment/10\",[]],[\"name/11\",[11,62.409]],[\"comment/11\",[]],[\"name/12\",[12,57.301]],[\"comment/12\",[]],[\"name/13\",[13,62.409]],[\"comment/13\",[]],[\"name/14\",[14,62.409]],[\"comment/14\",[]],[\"name/15\",[0,57.301]],[\"comment/15\",[]],[\"name/16\",[15,45.063]],[\"comment/16\",[]],[\"name/17\",[16,62.409]],[\"comment/17\",[]],[\"name/18\",[17,62.409]],[\"comment/18\",[]],[\"name/19\",[18,62.409]],[\"comment/19\",[]],[\"name/20\",[19,62.409]],[\"comment/20\",[]],[\"name/21\",[20,62.409]],[\"comment/21\",[]],[\"name/22\",[21,57.301]],[\"comment/22\",[]],[\"name/23\",[22,62.409]],[\"comment/23\",[]],[\"name/24\",[23,62.409]],[\"comment/24\",[]],[\"name/25\",[24,62.409]],[\"comment/25\",[]],[\"name/26\",[25,62.409]],[\"comment/26\",[]],[\"name/27\",[26,62.409]],[\"comment/27\",[]],[\"name/28\",[27,62.409]],[\"comment/28\",[]],[\"name/29\",[28,62.409]],[\"comment/29\",[]],[\"name/30\",[29,62.409]],[\"comment/30\",[]],[\"name/31\",[30,62.409]],[\"comment/31\",[]],[\"name/32\",[31,62.409]],[\"comment/32\",[]],[\"name/33\",[2,28.736]],[\"comment/33\",[]],[\"name/34\",[12,57.301]],[\"comment/34\",[]],[\"name/35\",[32,62.409]],[\"comment/35\",[]],[\"name/36\",[33,62.409]],[\"comment/36\",[]],[\"name/37\",[34,62.409]],[\"comment/37\",[]],[\"name/38\",[35,62.409]],[\"comment/38\",[]],[\"name/39\",[36,62.409]],[\"comment/39\",[]],[\"name/40\",[37,62.409]],[\"comment/40\",[]],[\"name/41\",[38,62.409]],[\"comment/41\",[]],[\"name/42\",[39,62.409]],[\"comment/42\",[]],[\"name/43\",[40,62.409]],[\"comment/43\",[]],[\"name/44\",[41,62.409]],[\"comment/44\",[]],[\"name/45\",[21,57.301]],[\"comment/45\",[]],[\"name/46\",[42,62.409]],[\"comment/46\",[]],[\"name/47\",[43,62.409]],[\"comment/47\",[]],[\"name/48\",[44,62.409]],[\"comment/48\",[]],[\"name/49\",[45,62.409]],[\"comment/49\",[]],[\"name/50\",[46,62.409]],[\"comment/50\",[]],[\"name/51\",[47,62.409]],[\"comment/51\",[]],[\"name/52\",[48,62.409]],[\"comment/52\",[]],[\"name/53\",[49,62.409]],[\"comment/53\",[]],[\"name/54\",[50,57.301]],[\"comment/54\",[]],[\"name/55\",[51,62.409]],[\"comment/55\",[]],[\"name/56\",[52,62.409]],[\"comment/56\",[]],[\"name/57\",[53,62.409]],[\"comment/57\",[]],[\"name/58\",[54,62.409]],[\"comment/58\",[]],[\"name/59\",[55,62.409]],[\"comment/59\",[]],[\"name/60\",[56,62.409]],[\"comment/60\",[]],[\"name/61\",[57,62.409]],[\"comment/61\",[]],[\"name/62\",[58,62.409]],[\"comment/62\",[]],[\"name/63\",[59,62.409]],[\"comment/63\",[]],[\"name/64\",[60,62.409]],[\"comment/64\",[]],[\"name/65\",[61,62.409]],[\"comment/65\",[]],[\"name/66\",[62,62.409]],[\"comment/66\",[]],[\"name/67\",[63,62.409]],[\"comment/67\",[]],[\"name/68\",[64,62.409]],[\"comment/68\",[]],[\"name/69\",[65,62.409]],[\"comment/69\",[]],[\"name/70\",[66,62.409]],[\"comment/70\",[]],[\"name/71\",[67,62.409]],[\"comment/71\",[]],[\"name/72\",[68,62.409]],[\"comment/72\",[]],[\"name/73\",[69,62.409]],[\"comment/73\",[]],[\"name/74\",[70,57.301]],[\"comment/74\",[]],[\"name/75\",[2,28.736]],[\"comment/75\",[]],[\"name/76\",[71,43.951]],[\"comment/76\",[]],[\"name/77\",[72,41.207]],[\"comment/77\",[]],[\"name/78\",[73,47.746]],[\"comment/78\",[]],[\"name/79\",[74,47.746]],[\"comment/79\",[]],[\"name/80\",[15,45.063]],[\"comment/80\",[]],[\"name/81\",[75,53.936]],[\"comment/81\",[]],[\"name/82\",[76,53.936]],[\"comment/82\",[]],[\"name/83\",[77,62.409]],[\"comment/83\",[]],[\"name/84\",[78,62.409]],[\"comment/84\",[]],[\"name/85\",[79,57.301]],[\"comment/85\",[]],[\"name/86\",[80,57.301]],[\"comment/86\",[]],[\"name/87\",[81,62.409]],[\"comment/87\",[]],[\"name/88\",[82,62.409]],[\"comment/88\",[]],[\"name/89\",[83,62.409]],[\"comment/89\",[]],[\"name/90\",[84,53.936]],[\"comment/90\",[]],[\"name/91\",[85,47.746]],[\"comment/91\",[]],[\"name/92\",[86,37.842]],[\"comment/92\",[]],[\"name/93\",[87,53.936]],[\"comment/93\",[]],[\"name/94\",[2,28.736]],[\"comment/94\",[]],[\"name/95\",[71,43.951]],[\"comment/95\",[]],[\"name/96\",[72,41.207]],[\"comment/96\",[]],[\"name/97\",[73,47.746]],[\"comment/97\",[]],[\"name/98\",[74,47.746]],[\"comment/98\",[]],[\"name/99\",[88,36.26]],[\"comment/99\",[]],[\"name/100\",[89,57.301]],[\"comment/100\",[]],[\"name/101\",[90,46.315]],[\"comment/101\",[]],[\"name/102\",[91,51.423]],[\"comment/102\",[]],[\"name/103\",[92,62.409]],[\"comment/103\",[]],[\"name/104\",[93,49.416]],[\"comment/104\",[]],[\"name/105\",[94,57.301]],[\"comment/105\",[]],[\"name/106\",[95,62.409]],[\"comment/106\",[]],[\"name/107\",[96,62.409]],[\"comment/107\",[]],[\"name/108\",[97,62.409]],[\"comment/108\",[]],[\"name/109\",[98,62.409]],[\"comment/109\",[]],[\"name/110\",[99,62.409]],[\"comment/110\",[]],[\"name/111\",[100,62.409]],[\"comment/111\",[]],[\"name/112\",[101,53.936]],[\"comment/112\",[]],[\"name/113\",[15,45.063]],[\"comment/113\",[]],[\"name/114\",[75,53.936]],[\"comment/114\",[]],[\"name/115\",[76,53.936]],[\"comment/115\",[]],[\"name/116\",[102,53.936]],[\"comment/116\",[]],[\"name/117\",[103,47.746]],[\"comment/117\",[]],[\"name/118\",[104,62.409]],[\"comment/118\",[]],[\"name/119\",[105,57.301]],[\"comment/119\",[]],[\"name/120\",[106,62.409]],[\"comment/120\",[]],[\"name/121\",[107,53.936]],[\"comment/121\",[]],[\"name/122\",[108,57.301]],[\"comment/122\",[]],[\"name/123\",[109,62.409]],[\"comment/123\",[]],[\"name/124\",[110,62.409]],[\"comment/124\",[]],[\"name/125\",[111,62.409]],[\"comment/125\",[]],[\"name/126\",[112,57.301]],[\"comment/126\",[]],[\"name/127\",[113,57.301]],[\"comment/127\",[]],[\"name/128\",[114,51.423]],[\"comment/128\",[]],[\"name/129\",[115,62.409]],[\"comment/129\",[]],[\"name/130\",[116,57.301]],[\"comment/130\",[]],[\"name/131\",[117,53.936]],[\"comment/131\",[]],[\"name/132\",[118,57.301]],[\"comment/132\",[]],[\"name/133\",[119,57.301]],[\"comment/133\",[]],[\"name/134\",[85,47.746]],[\"comment/134\",[]],[\"name/135\",[86,37.842]],[\"comment/135\",[]],[\"name/136\",[120,62.409]],[\"comment/136\",[]],[\"name/137\",[121,62.409]],[\"comment/137\",[]],[\"name/138\",[122,62.409]],[\"comment/138\",[]],[\"name/139\",[123,62.409]],[\"comment/139\",[]],[\"name/140\",[124,62.409]],[\"comment/140\",[]],[\"name/141\",[125,62.409]],[\"comment/141\",[]],[\"name/142\",[126,62.409]],[\"comment/142\",[]],[\"name/143\",[127,62.409]],[\"comment/143\",[]],[\"name/144\",[128,62.409]],[\"comment/144\",[]],[\"name/145\",[129,62.409]],[\"comment/145\",[]],[\"name/146\",[130,62.409]],[\"comment/146\",[]],[\"name/147\",[131,62.409]],[\"comment/147\",[]],[\"name/148\",[132,53.936]],[\"comment/148\",[]],[\"name/149\",[133,57.301]],[\"comment/149\",[]],[\"name/150\",[134,62.409]],[\"comment/150\",[]],[\"name/151\",[135,62.409]],[\"comment/151\",[]],[\"name/152\",[136,62.409]],[\"comment/152\",[]],[\"name/153\",[2,28.736]],[\"comment/153\",[]],[\"name/154\",[71,43.951]],[\"comment/154\",[]],[\"name/155\",[72,41.207]],[\"comment/155\",[]],[\"name/156\",[108,57.301]],[\"comment/156\",[]],[\"name/157\",[137,62.409]],[\"comment/157\",[]],[\"name/158\",[138,62.409]],[\"comment/158\",[]],[\"name/159\",[2,28.736]],[\"comment/159\",[]],[\"name/160\",[71,43.951]],[\"comment/160\",[]],[\"name/161\",[72,41.207]],[\"comment/161\",[]],[\"name/162\",[73,47.746]],[\"comment/162\",[]],[\"name/163\",[74,47.746]],[\"comment/163\",[]],[\"name/164\",[139,62.409]],[\"comment/164\",[]],[\"name/165\",[140,57.301]],[\"comment/165\",[]],[\"name/166\",[91,51.423]],[\"comment/166\",[]],[\"name/167\",[141,62.409]],[\"comment/167\",[]],[\"name/168\",[107,53.936]],[\"comment/168\",[]],[\"name/169\",[86,37.842]],[\"comment/169\",[]],[\"name/170\",[142,62.409]],[\"comment/170\",[]],[\"name/171\",[2,28.736]],[\"comment/171\",[]],[\"name/172\",[1,31.652]],[\"comment/172\",[]],[\"name/173\",[72,41.207]],[\"comment/173\",[]],[\"name/174\",[143,62.409]],[\"comment/174\",[]],[\"name/175\",[144,62.409]],[\"comment/175\",[]],[\"name/176\",[145,62.409]],[\"comment/176\",[]],[\"name/177\",[146,62.409]],[\"comment/177\",[]],[\"name/178\",[147,40.437]],[\"comment/178\",[]],[\"name/179\",[90,46.315]],[\"comment/179\",[]],[\"name/180\",[148,62.409]],[\"comment/180\",[]],[\"name/181\",[149,62.409]],[\"comment/181\",[]],[\"name/182\",[150,62.409]],[\"comment/182\",[]],[\"name/183\",[151,62.409]],[\"comment/183\",[]],[\"name/184\",[152,62.409]],[\"comment/184\",[]],[\"name/185\",[153,36.26]],[\"comment/185\",[]],[\"name/186\",[2,28.736]],[\"comment/186\",[]],[\"name/187\",[1,31.652]],[\"comment/187\",[]],[\"name/188\",[88,36.26]],[\"comment/188\",[]],[\"name/189\",[154,62.409]],[\"comment/189\",[]],[\"name/190\",[153,36.26]],[\"comment/190\",[]],[\"name/191\",[2,28.736]],[\"comment/191\",[]],[\"name/192\",[1,31.652]],[\"comment/192\",[]],[\"name/193\",[88,36.26]],[\"comment/193\",[]],[\"name/194\",[155,62.409]],[\"comment/194\",[]],[\"name/195\",[153,36.26]],[\"comment/195\",[]],[\"name/196\",[2,28.736]],[\"comment/196\",[]],[\"name/197\",[72,41.207]],[\"comment/197\",[]],[\"name/198\",[156,62.409]],[\"comment/198\",[]],[\"name/199\",[102,53.936]],[\"comment/199\",[]],[\"name/200\",[157,53.936]],[\"comment/200\",[]],[\"name/201\",[140,57.301]],[\"comment/201\",[]],[\"name/202\",[103,47.746]],[\"comment/202\",[]],[\"name/203\",[87,53.936]],[\"comment/203\",[]],[\"name/204\",[86,37.842]],[\"comment/204\",[]],[\"name/205\",[1,31.652]],[\"comment/205\",[]],[\"name/206\",[88,36.26]],[\"comment/206\",[]],[\"name/207\",[158,62.409]],[\"comment/207\",[]],[\"name/208\",[2,28.736]],[\"comment/208\",[]],[\"name/209\",[71,43.951]],[\"comment/209\",[]],[\"name/210\",[72,41.207]],[\"comment/210\",[]],[\"name/211\",[74,47.746]],[\"comment/211\",[]],[\"name/212\",[89,57.301]],[\"comment/212\",[]],[\"name/213\",[90,46.315]],[\"comment/213\",[]],[\"name/214\",[159,62.409]],[\"comment/214\",[]],[\"name/215\",[157,53.936]],[\"comment/215\",[]],[\"name/216\",[87,53.936]],[\"comment/216\",[]],[\"name/217\",[103,47.746]],[\"comment/217\",[]],[\"name/218\",[160,57.301]],[\"comment/218\",[]],[\"name/219\",[161,62.409]],[\"comment/219\",[]],[\"name/220\",[162,62.409]],[\"comment/220\",[]],[\"name/221\",[163,57.301]],[\"comment/221\",[]],[\"name/222\",[164,57.301]],[\"comment/222\",[]],[\"name/223\",[165,62.409]],[\"comment/223\",[]],[\"name/224\",[166,62.409]],[\"comment/224\",[]],[\"name/225\",[167,62.409]],[\"comment/225\",[]],[\"name/226\",[168,62.409]],[\"comment/226\",[]],[\"name/227\",[169,62.409]],[\"comment/227\",[]],[\"name/228\",[170,62.409]],[\"comment/228\",[]],[\"name/229\",[171,62.409]],[\"comment/229\",[]],[\"name/230\",[172,62.409]],[\"comment/230\",[]],[\"name/231\",[173,51.423]],[\"comment/231\",[]],[\"name/232\",[174,57.301]],[\"comment/232\",[]],[\"name/233\",[175,53.936]],[\"comment/233\",[]],[\"name/234\",[176,53.936]],[\"comment/234\",[]],[\"name/235\",[177,62.409]],[\"comment/235\",[]],[\"name/236\",[85,47.746]],[\"comment/236\",[]],[\"name/237\",[86,37.842]],[\"comment/237\",[]],[\"name/238\",[132,53.936]],[\"comment/238\",[]],[\"name/239\",[178,62.409]],[\"comment/239\",[]],[\"name/240\",[179,62.409]],[\"comment/240\",[]],[\"name/241\",[180,62.409]],[\"comment/241\",[]],[\"name/242\",[181,62.409]],[\"comment/242\",[]],[\"name/243\",[182,62.409]],[\"comment/243\",[]],[\"name/244\",[153,36.26]],[\"comment/244\",[]],[\"name/245\",[2,28.736]],[\"comment/245\",[]],[\"name/246\",[1,31.652]],[\"comment/246\",[]],[\"name/247\",[88,36.26]],[\"comment/247\",[]],[\"name/248\",[183,62.409]],[\"comment/248\",[]],[\"name/249\",[153,36.26]],[\"comment/249\",[]],[\"name/250\",[2,28.736]],[\"comment/250\",[]],[\"name/251\",[1,31.652]],[\"comment/251\",[]],[\"name/252\",[88,36.26]],[\"comment/252\",[]],[\"name/253\",[184,62.409]],[\"comment/253\",[]],[\"name/254\",[153,36.26]],[\"comment/254\",[]],[\"name/255\",[2,28.736]],[\"comment/255\",[]],[\"name/256\",[90,46.315]],[\"comment/256\",[]],[\"name/257\",[185,57.301]],[\"comment/257\",[]],[\"name/258\",[186,57.301]],[\"comment/258\",[]],[\"name/259\",[147,40.437]],[\"comment/259\",[]],[\"name/260\",[187,57.301]],[\"comment/260\",[]],[\"name/261\",[1,31.652]],[\"comment/261\",[]],[\"name/262\",[88,36.26]],[\"comment/262\",[]],[\"name/263\",[188,62.409]],[\"comment/263\",[]],[\"name/264\",[153,36.26]],[\"comment/264\",[]],[\"name/265\",[2,28.736]],[\"comment/265\",[]],[\"name/266\",[90,46.315]],[\"comment/266\",[]],[\"name/267\",[185,57.301]],[\"comment/267\",[]],[\"name/268\",[186,57.301]],[\"comment/268\",[]],[\"name/269\",[187,57.301]],[\"comment/269\",[]],[\"name/270\",[1,31.652]],[\"comment/270\",[]],[\"name/271\",[88,36.26]],[\"comment/271\",[]],[\"name/272\",[189,62.409]],[\"comment/272\",[]],[\"name/273\",[153,36.26]],[\"comment/273\",[]],[\"name/274\",[2,28.736]],[\"comment/274\",[]],[\"name/275\",[90,46.315]],[\"comment/275\",[]],[\"name/276\",[190,62.409]],[\"comment/276\",[]],[\"name/277\",[191,62.409]],[\"comment/277\",[]],[\"name/278\",[192,57.301]],[\"comment/278\",[]],[\"name/279\",[93,49.416]],[\"comment/279\",[]],[\"name/280\",[193,62.409]],[\"comment/280\",[]],[\"name/281\",[194,62.409]],[\"comment/281\",[]],[\"name/282\",[195,62.409]],[\"comment/282\",[]],[\"name/283\",[114,51.423]],[\"comment/283\",[]],[\"name/284\",[196,57.301]],[\"comment/284\",[]],[\"name/285\",[197,57.301]],[\"comment/285\",[]],[\"name/286\",[198,62.409]],[\"comment/286\",[]],[\"name/287\",[1,31.652]],[\"comment/287\",[]],[\"name/288\",[88,36.26]],[\"comment/288\",[]],[\"name/289\",[199,62.409]],[\"comment/289\",[]],[\"name/290\",[153,36.26]],[\"comment/290\",[]],[\"name/291\",[2,28.736]],[\"comment/291\",[]],[\"name/292\",[114,51.423]],[\"comment/292\",[]],[\"name/293\",[90,46.315]],[\"comment/293\",[]],[\"name/294\",[192,57.301]],[\"comment/294\",[]],[\"name/295\",[93,49.416]],[\"comment/295\",[]],[\"name/296\",[200,62.409]],[\"comment/296\",[]],[\"name/297\",[196,57.301]],[\"comment/297\",[]],[\"name/298\",[197,57.301]],[\"comment/298\",[]],[\"name/299\",[1,31.652]],[\"comment/299\",[]],[\"name/300\",[88,36.26]],[\"comment/300\",[]],[\"name/301\",[201,62.409]],[\"comment/301\",[]],[\"name/302\",[2,28.736]],[\"comment/302\",[]],[\"name/303\",[1,31.652]],[\"comment/303\",[]],[\"name/304\",[72,41.207]],[\"comment/304\",[]],[\"name/305\",[173,51.423]],[\"comment/305\",[]],[\"name/306\",[202,53.936]],[\"comment/306\",[]],[\"name/307\",[93,49.416]],[\"comment/307\",[]],[\"name/308\",[203,62.409]],[\"comment/308\",[]],[\"name/309\",[204,62.409]],[\"comment/309\",[]],[\"name/310\",[205,62.409]],[\"comment/310\",[]],[\"name/311\",[153,36.26]],[\"comment/311\",[]],[\"name/312\",[2,28.736]],[\"comment/312\",[]],[\"name/313\",[1,31.652]],[\"comment/313\",[]],[\"name/314\",[88,36.26]],[\"comment/314\",[]],[\"name/315\",[206,62.409]],[\"comment/315\",[]],[\"name/316\",[153,36.26]],[\"comment/316\",[]],[\"name/317\",[2,28.736]],[\"comment/317\",[]],[\"name/318\",[1,31.652]],[\"comment/318\",[]],[\"name/319\",[88,36.26]],[\"comment/319\",[]],[\"name/320\",[207,62.409]],[\"comment/320\",[]],[\"name/321\",[153,36.26]],[\"comment/321\",[]],[\"name/322\",[2,28.736]],[\"comment/322\",[]],[\"name/323\",[208,62.409]],[\"comment/323\",[]],[\"name/324\",[173,51.423]],[\"comment/324\",[]],[\"name/325\",[209,62.409]],[\"comment/325\",[]],[\"name/326\",[102,53.936]],[\"comment/326\",[]],[\"name/327\",[210,62.409]],[\"comment/327\",[]],[\"name/328\",[211,62.409]],[\"comment/328\",[]],[\"name/329\",[212,62.409]],[\"comment/329\",[]],[\"name/330\",[50,57.301]],[\"comment/330\",[]],[\"name/331\",[213,62.409]],[\"comment/331\",[]],[\"name/332\",[157,53.936]],[\"comment/332\",[]],[\"name/333\",[214,62.409]],[\"comment/333\",[]],[\"name/334\",[215,62.409]],[\"comment/334\",[]],[\"name/335\",[216,62.409]],[\"comment/335\",[]],[\"name/336\",[1,31.652]],[\"comment/336\",[]],[\"name/337\",[88,36.26]],[\"comment/337\",[]],[\"name/338\",[103,47.746]],[\"comment/338\",[]],[\"name/339\",[2,28.736]],[\"comment/339\",[]],[\"name/340\",[71,43.951]],[\"comment/340\",[]],[\"name/341\",[72,41.207]],[\"comment/341\",[]],[\"name/342\",[73,47.746]],[\"comment/342\",[]],[\"name/343\",[74,47.746]],[\"comment/343\",[]],[\"name/344\",[75,53.936]],[\"comment/344\",[]],[\"name/345\",[76,53.936]],[\"comment/345\",[]],[\"name/346\",[91,51.423]],[\"comment/346\",[]],[\"name/347\",[93,49.416]],[\"comment/347\",[]],[\"name/348\",[94,57.301]],[\"comment/348\",[]],[\"name/349\",[217,62.409]],[\"comment/349\",[]],[\"name/350\",[218,62.409]],[\"comment/350\",[]],[\"name/351\",[4,57.301]],[\"comment/351\",[]],[\"name/352\",[219,62.409]],[\"comment/352\",[]],[\"name/353\",[220,62.409]],[\"comment/353\",[]],[\"name/354\",[221,57.301]],[\"comment/354\",[]],[\"name/355\",[105,57.301]],[\"comment/355\",[]],[\"name/356\",[84,53.936]],[\"comment/356\",[]],[\"name/357\",[79,57.301]],[\"comment/357\",[]],[\"name/358\",[80,57.301]],[\"comment/358\",[]],[\"name/359\",[107,53.936]],[\"comment/359\",[]],[\"name/360\",[222,62.409]],[\"comment/360\",[]],[\"name/361\",[223,62.409]],[\"comment/361\",[]],[\"name/362\",[224,57.301]],[\"comment/362\",[]],[\"name/363\",[112,57.301]],[\"comment/363\",[]],[\"name/364\",[113,57.301]],[\"comment/364\",[]],[\"name/365\",[114,51.423]],[\"comment/365\",[]],[\"name/366\",[116,57.301]],[\"comment/366\",[]],[\"name/367\",[225,62.409]],[\"comment/367\",[]],[\"name/368\",[160,57.301]],[\"comment/368\",[]],[\"name/369\",[117,53.936]],[\"comment/369\",[]],[\"name/370\",[118,57.301]],[\"comment/370\",[]],[\"name/371\",[226,62.409]],[\"comment/371\",[]],[\"name/372\",[85,47.746]],[\"comment/372\",[]],[\"name/373\",[86,37.842]],[\"comment/373\",[]],[\"name/374\",[132,53.936]],[\"comment/374\",[]],[\"name/375\",[227,62.409]],[\"comment/375\",[]],[\"name/376\",[228,62.409]],[\"comment/376\",[]],[\"name/377\",[229,62.409]],[\"comment/377\",[]],[\"name/378\",[230,62.409]],[\"comment/378\",[]],[\"name/379\",[231,62.409]],[\"comment/379\",[]],[\"name/380\",[133,57.301]],[\"comment/380\",[]],[\"name/381\",[232,62.409]],[\"comment/381\",[]],[\"name/382\",[233,62.409]],[\"comment/382\",[]],[\"name/383\",[234,62.409]],[\"comment/383\",[]],[\"name/384\",[235,62.409]],[\"comment/384\",[]],[\"name/385\",[236,62.409]],[\"comment/385\",[]],[\"name/386\",[119,57.301]],[\"comment/386\",[]],[\"name/387\",[237,62.409]],[\"comment/387\",[]],[\"name/388\",[238,62.409]],[\"comment/388\",[]],[\"name/389\",[239,62.409]],[\"comment/389\",[]],[\"name/390\",[2,28.736]],[\"comment/390\",[]],[\"name/391\",[1,31.652]],[\"comment/391\",[]],[\"name/392\",[72,41.207]],[\"comment/392\",[]],[\"name/393\",[240,41.207]],[\"comment/393\",[]],[\"name/394\",[241,62.409]],[\"comment/394\",[]],[\"name/395\",[15,45.063]],[\"comment/395\",[]],[\"name/396\",[103,47.746]],[\"comment/396\",[]],[\"name/397\",[242,62.409]],[\"comment/397\",[]],[\"name/398\",[243,62.409]],[\"comment/398\",[]],[\"name/399\",[2,28.736]],[\"comment/399\",[]],[\"name/400\",[71,43.951]],[\"comment/400\",[]],[\"name/401\",[72,41.207]],[\"comment/401\",[]],[\"name/402\",[240,41.207]],[\"comment/402\",[]],[\"name/403\",[73,47.746]],[\"comment/403\",[]],[\"name/404\",[103,47.746]],[\"comment/404\",[]],[\"name/405\",[15,45.063]],[\"comment/405\",[]],[\"name/406\",[244,62.409]],[\"comment/406\",[]],[\"name/407\",[245,62.409]],[\"comment/407\",[]],[\"name/408\",[202,53.936]],[\"comment/408\",[]],[\"name/409\",[221,57.301]],[\"comment/409\",[]],[\"name/410\",[246,62.409]],[\"comment/410\",[]],[\"name/411\",[224,57.301]],[\"comment/411\",[]],[\"name/412\",[247,62.409]],[\"comment/412\",[]],[\"name/413\",[174,57.301]],[\"comment/413\",[]],[\"name/414\",[248,62.409]],[\"comment/414\",[]],[\"name/415\",[249,62.409]],[\"comment/415\",[]],[\"name/416\",[250,62.409]],[\"comment/416\",[]],[\"name/417\",[251,62.409]],[\"comment/417\",[]],[\"name/418\",[175,53.936]],[\"comment/418\",[]],[\"name/419\",[176,53.936]],[\"comment/419\",[]],[\"name/420\",[85,47.746]],[\"comment/420\",[]],[\"name/421\",[252,62.409]],[\"comment/421\",[]],[\"name/422\",[253,62.409]],[\"comment/422\",[]],[\"name/423\",[164,57.301]],[\"comment/423\",[]],[\"name/424\",[153,36.26]],[\"comment/424\",[]],[\"name/425\",[2,28.736]],[\"comment/425\",[]],[\"name/426\",[1,31.652]],[\"comment/426\",[]],[\"name/427\",[88,36.26]],[\"comment/427\",[]],[\"name/428\",[254,62.409]],[\"comment/428\",[]],[\"name/429\",[153,36.26]],[\"comment/429\",[]],[\"name/430\",[2,28.736]],[\"comment/430\",[]],[\"name/431\",[163,57.301]],[\"comment/431\",[]],[\"name/432\",[1,31.652]],[\"comment/432\",[]],[\"name/433\",[88,36.26]],[\"comment/433\",[]],[\"name/434\",[255,62.409]],[\"comment/434\",[]],[\"name/435\",[153,36.26]],[\"comment/435\",[]],[\"name/436\",[2,28.736]],[\"comment/436\",[]],[\"name/437\",[101,53.936]],[\"comment/437\",[]],[\"name/438\",[15,45.063]],[\"comment/438\",[]],[\"name/439\",[1,31.652]],[\"comment/439\",[]],[\"name/440\",[88,36.26]],[\"comment/440\",[]],[\"name/441\",[256,62.409]],[\"comment/441\",[]],[\"name/442\",[153,36.26]],[\"comment/442\",[]],[\"name/443\",[2,28.736]],[\"comment/443\",[]],[\"name/444\",[257,53.936]],[\"comment/444\",[]],[\"name/445\",[258,53.936]],[\"comment/445\",[]],[\"name/446\",[101,53.936]],[\"comment/446\",[]],[\"name/447\",[15,45.063]],[\"comment/447\",[]],[\"name/448\",[1,31.652]],[\"comment/448\",[]],[\"name/449\",[88,36.26]],[\"comment/449\",[]],[\"name/450\",[259,62.409]],[\"comment/450\",[]],[\"name/451\",[153,36.26]],[\"comment/451\",[]],[\"name/452\",[2,28.736]],[\"comment/452\",[]],[\"name/453\",[257,53.936]],[\"comment/453\",[]],[\"name/454\",[258,53.936]],[\"comment/454\",[]],[\"name/455\",[1,31.652]],[\"comment/455\",[]],[\"name/456\",[88,36.26]],[\"comment/456\",[]],[\"name/457\",[260,62.409]],[\"comment/457\",[]],[\"name/458\",[153,36.26]],[\"comment/458\",[]],[\"name/459\",[2,28.736]],[\"comment/459\",[]],[\"name/460\",[91,51.423]],[\"comment/460\",[]],[\"name/461\",[257,53.936]],[\"comment/461\",[]],[\"name/462\",[258,53.936]],[\"comment/462\",[]],[\"name/463\",[1,31.652]],[\"comment/463\",[]],[\"name/464\",[88,36.26]],[\"comment/464\",[]],[\"name/465\",[261,62.409]],[\"comment/465\",[]],[\"name/466\",[153,36.26]],[\"comment/466\",[]],[\"name/467\",[2,28.736]],[\"comment/467\",[]],[\"name/468\",[262,62.409]],[\"comment/468\",[]],[\"name/469\",[263,62.409]],[\"comment/469\",[]],[\"name/470\",[153,36.26]],[\"comment/470\",[]],[\"name/471\",[264,62.409]],[\"comment/471\",[]],[\"name/472\",[1,31.652]],[\"comment/472\",[]],[\"name/473\",[88,36.26]],[\"comment/473\",[]],[\"name/474\",[15,45.063]],[\"comment/474\",[]],[\"name/475\",[2,28.736]],[\"comment/475\",[]],[\"name/476\",[71,43.951]],[\"comment/476\",[]],[\"name/477\",[72,41.207]],[\"comment/477\",[]],[\"name/478\",[73,47.746]],[\"comment/478\",[]],[\"name/479\",[74,47.746]],[\"comment/479\",[]],[\"name/480\",[173,51.423]],[\"comment/480\",[]],[\"name/481\",[202,53.936]],[\"comment/481\",[]],[\"name/482\",[265,62.409]],[\"comment/482\",[]],[\"name/483\",[266,62.409]],[\"comment/483\",[]],[\"name/484\",[267,62.409]],[\"comment/484\",[]],[\"name/485\",[268,62.409]],[\"comment/485\",[]],[\"name/486\",[269,62.409]],[\"comment/486\",[]],[\"name/487\",[84,53.936]],[\"comment/487\",[]],[\"name/488\",[70,57.301]],[\"comment/488\",[]],[\"name/489\",[270,62.409]],[\"comment/489\",[]],[\"name/490\",[175,53.936]],[\"comment/490\",[]],[\"name/491\",[176,53.936]],[\"comment/491\",[]],[\"name/492\",[117,53.936]],[\"comment/492\",[]],[\"name/493\",[85,47.746]],[\"comment/493\",[]],[\"name/494\",[271,62.409]],[\"comment/494\",[]],[\"name/495\",[272,62.409]],[\"comment/495\",[]],[\"name/496\",[273,62.409]],[\"comment/496\",[]],[\"name/497\",[274,62.409]],[\"comment/497\",[]],[\"name/498\",[275,62.409]],[\"comment/498\",[]],[\"name/499\",[276,62.409]],[\"comment/499\",[]],[\"name/500\",[277,62.409]],[\"comment/500\",[]],[\"name/501\",[278,62.409]],[\"comment/501\",[]],[\"name/502\",[279,62.409]],[\"comment/502\",[]],[\"name/503\",[280,62.409]],[\"comment/503\",[]],[\"name/504\",[281,62.409]],[\"comment/504\",[]],[\"name/505\",[282,62.409]],[\"comment/505\",[]],[\"name/506\",[2,28.736]],[\"comment/506\",[]],[\"name/507\",[283,46.315]],[\"comment/507\",[]],[\"name/508\",[284,62.409]],[\"comment/508\",[]],[\"name/509\",[285,62.409]],[\"comment/509\",[]],[\"name/510\",[286,45.063]],[\"comment/510\",[]],[\"name/511\",[287,62.409]],[\"comment/511\",[]],[\"name/512\",[1,31.652]],[\"comment/512\",[]],[\"name/513\",[288,42.95]],[\"comment/513\",[]],[\"name/514\",[289,42.95]],[\"comment/514\",[]],[\"name/515\",[290,42.95]],[\"comment/515\",[]],[\"name/516\",[240,41.207]],[\"comment/516\",[]],[\"name/517\",[291,42.95]],[\"comment/517\",[]],[\"name/518\",[292,42.04]],[\"comment/518\",[]],[\"name/519\",[293,42.04]],[\"comment/519\",[]],[\"name/520\",[86,37.842]],[\"comment/520\",[]],[\"name/521\",[294,42.95]],[\"comment/521\",[]],[\"name/522\",[295,42.95]],[\"comment/522\",[]],[\"name/523\",[147,40.437]],[\"comment/523\",[]],[\"name/524\",[296,42.04]],[\"comment/524\",[]],[\"name/525\",[297,42.04]],[\"comment/525\",[]],[\"name/526\",[298,42.04]],[\"comment/526\",[]],[\"name/527\",[299,42.04]],[\"comment/527\",[]],[\"name/528\",[300,42.04]],[\"comment/528\",[]],[\"name/529\",[301,42.04]],[\"comment/529\",[]],[\"name/530\",[302,42.04]],[\"comment/530\",[]],[\"name/531\",[303,42.04]],[\"comment/531\",[]],[\"name/532\",[304,62.409]],[\"comment/532\",[]],[\"name/533\",[2,28.736]],[\"comment/533\",[]],[\"name/534\",[86,37.842]],[\"comment/534\",[]],[\"name/535\",[283,46.315]],[\"comment/535\",[]],[\"name/536\",[286,45.063]],[\"comment/536\",[]],[\"name/537\",[305,47.746]],[\"comment/537\",[]],[\"name/538\",[306,62.409]],[\"comment/538\",[]],[\"name/539\",[1,31.652]],[\"comment/539\",[]],[\"name/540\",[288,42.95]],[\"comment/540\",[]],[\"name/541\",[289,42.95]],[\"comment/541\",[]],[\"name/542\",[290,42.95]],[\"comment/542\",[]],[\"name/543\",[240,41.207]],[\"comment/543\",[]],[\"name/544\",[291,42.95]],[\"comment/544\",[]],[\"name/545\",[292,42.04]],[\"comment/545\",[]],[\"name/546\",[293,42.04]],[\"comment/546\",[]],[\"name/547\",[294,42.95]],[\"comment/547\",[]],[\"name/548\",[295,42.95]],[\"comment/548\",[]],[\"name/549\",[147,40.437]],[\"comment/549\",[]],[\"name/550\",[296,42.04]],[\"comment/550\",[]],[\"name/551\",[297,42.04]],[\"comment/551\",[]],[\"name/552\",[298,42.04]],[\"comment/552\",[]],[\"name/553\",[299,42.04]],[\"comment/553\",[]],[\"name/554\",[300,42.04]],[\"comment/554\",[]],[\"name/555\",[301,42.04]],[\"comment/555\",[]],[\"name/556\",[302,42.04]],[\"comment/556\",[]],[\"name/557\",[303,42.04]],[\"comment/557\",[]],[\"name/558\",[307,62.409]],[\"comment/558\",[]],[\"name/559\",[2,28.736]],[\"comment/559\",[]],[\"name/560\",[308,62.409]],[\"comment/560\",[]],[\"name/561\",[309,62.409]],[\"comment/561\",[]],[\"name/562\",[286,45.063]],[\"comment/562\",[]],[\"name/563\",[1,31.652]],[\"comment/563\",[]],[\"name/564\",[288,42.95]],[\"comment/564\",[]],[\"name/565\",[289,42.95]],[\"comment/565\",[]],[\"name/566\",[290,42.95]],[\"comment/566\",[]],[\"name/567\",[240,41.207]],[\"comment/567\",[]],[\"name/568\",[291,42.95]],[\"comment/568\",[]],[\"name/569\",[292,42.04]],[\"comment/569\",[]],[\"name/570\",[293,42.04]],[\"comment/570\",[]],[\"name/571\",[86,37.842]],[\"comment/571\",[]],[\"name/572\",[294,42.95]],[\"comment/572\",[]],[\"name/573\",[295,42.95]],[\"comment/573\",[]],[\"name/574\",[147,40.437]],[\"comment/574\",[]],[\"name/575\",[296,42.04]],[\"comment/575\",[]],[\"name/576\",[297,42.04]],[\"comment/576\",[]],[\"name/577\",[298,42.04]],[\"comment/577\",[]],[\"name/578\",[299,42.04]],[\"comment/578\",[]],[\"name/579\",[300,42.04]],[\"comment/579\",[]],[\"name/580\",[301,42.04]],[\"comment/580\",[]],[\"name/581\",[302,42.04]],[\"comment/581\",[]],[\"name/582\",[303,42.04]],[\"comment/582\",[]],[\"name/583\",[310,62.409]],[\"comment/583\",[]],[\"name/584\",[2,28.736]],[\"comment/584\",[]],[\"name/585\",[283,46.315]],[\"comment/585\",[]],[\"name/586\",[286,45.063]],[\"comment/586\",[]],[\"name/587\",[305,47.746]],[\"comment/587\",[]],[\"name/588\",[1,31.652]],[\"comment/588\",[]],[\"name/589\",[288,42.95]],[\"comment/589\",[]],[\"name/590\",[289,42.95]],[\"comment/590\",[]],[\"name/591\",[290,42.95]],[\"comment/591\",[]],[\"name/592\",[240,41.207]],[\"comment/592\",[]],[\"name/593\",[291,42.95]],[\"comment/593\",[]],[\"name/594\",[292,42.04]],[\"comment/594\",[]],[\"name/595\",[293,42.04]],[\"comment/595\",[]],[\"name/596\",[86,37.842]],[\"comment/596\",[]],[\"name/597\",[294,42.95]],[\"comment/597\",[]],[\"name/598\",[295,42.95]],[\"comment/598\",[]],[\"name/599\",[147,40.437]],[\"comment/599\",[]],[\"name/600\",[296,42.04]],[\"comment/600\",[]],[\"name/601\",[297,42.04]],[\"comment/601\",[]],[\"name/602\",[298,42.04]],[\"comment/602\",[]],[\"name/603\",[299,42.04]],[\"comment/603\",[]],[\"name/604\",[300,42.04]],[\"comment/604\",[]],[\"name/605\",[301,42.04]],[\"comment/605\",[]],[\"name/606\",[302,42.04]],[\"comment/606\",[]],[\"name/607\",[303,42.04]],[\"comment/607\",[]],[\"name/608\",[311,62.409]],[\"comment/608\",[]],[\"name/609\",[2,28.736]],[\"comment/609\",[]],[\"name/610\",[283,46.315]],[\"comment/610\",[]],[\"name/611\",[286,45.063]],[\"comment/611\",[]],[\"name/612\",[305,47.746]],[\"comment/612\",[]],[\"name/613\",[312,62.409]],[\"comment/613\",[]],[\"name/614\",[1,31.652]],[\"comment/614\",[]],[\"name/615\",[288,42.95]],[\"comment/615\",[]],[\"name/616\",[289,42.95]],[\"comment/616\",[]],[\"name/617\",[290,42.95]],[\"comment/617\",[]],[\"name/618\",[240,41.207]],[\"comment/618\",[]],[\"name/619\",[291,42.95]],[\"comment/619\",[]],[\"name/620\",[292,42.04]],[\"comment/620\",[]],[\"name/621\",[293,42.04]],[\"comment/621\",[]],[\"name/622\",[86,37.842]],[\"comment/622\",[]],[\"name/623\",[294,42.95]],[\"comment/623\",[]],[\"name/624\",[295,42.95]],[\"comment/624\",[]],[\"name/625\",[147,40.437]],[\"comment/625\",[]],[\"name/626\",[296,42.04]],[\"comment/626\",[]],[\"name/627\",[297,42.04]],[\"comment/627\",[]],[\"name/628\",[298,42.04]],[\"comment/628\",[]],[\"name/629\",[299,42.04]],[\"comment/629\",[]],[\"name/630\",[300,42.04]],[\"comment/630\",[]],[\"name/631\",[301,42.04]],[\"comment/631\",[]],[\"name/632\",[302,42.04]],[\"comment/632\",[]],[\"name/633\",[303,42.04]],[\"comment/633\",[]],[\"name/634\",[313,62.409]],[\"comment/634\",[]],[\"name/635\",[2,28.736]],[\"comment/635\",[]],[\"name/636\",[283,46.315]],[\"comment/636\",[]],[\"name/637\",[286,45.063]],[\"comment/637\",[]],[\"name/638\",[305,47.746]],[\"comment/638\",[]],[\"name/639\",[314,62.409]],[\"comment/639\",[]],[\"name/640\",[1,31.652]],[\"comment/640\",[]],[\"name/641\",[288,42.95]],[\"comment/641\",[]],[\"name/642\",[289,42.95]],[\"comment/642\",[]],[\"name/643\",[290,42.95]],[\"comment/643\",[]],[\"name/644\",[240,41.207]],[\"comment/644\",[]],[\"name/645\",[291,42.95]],[\"comment/645\",[]],[\"name/646\",[292,42.04]],[\"comment/646\",[]],[\"name/647\",[293,42.04]],[\"comment/647\",[]],[\"name/648\",[86,37.842]],[\"comment/648\",[]],[\"name/649\",[294,42.95]],[\"comment/649\",[]],[\"name/650\",[295,42.95]],[\"comment/650\",[]],[\"name/651\",[147,40.437]],[\"comment/651\",[]],[\"name/652\",[296,42.04]],[\"comment/652\",[]],[\"name/653\",[297,42.04]],[\"comment/653\",[]],[\"name/654\",[298,42.04]],[\"comment/654\",[]],[\"name/655\",[299,42.04]],[\"comment/655\",[]],[\"name/656\",[300,42.04]],[\"comment/656\",[]],[\"name/657\",[301,42.04]],[\"comment/657\",[]],[\"name/658\",[302,42.04]],[\"comment/658\",[]],[\"name/659\",[303,42.04]],[\"comment/659\",[]],[\"name/660\",[315,62.409]],[\"comment/660\",[]],[\"name/661\",[2,28.736]],[\"comment/661\",[]],[\"name/662\",[316,62.409]],[\"comment/662\",[]],[\"name/663\",[317,62.409]],[\"comment/663\",[]],[\"name/664\",[283,46.315]],[\"comment/664\",[]],[\"name/665\",[286,45.063]],[\"comment/665\",[]],[\"name/666\",[305,47.746]],[\"comment/666\",[]],[\"name/667\",[1,31.652]],[\"comment/667\",[]],[\"name/668\",[288,42.95]],[\"comment/668\",[]],[\"name/669\",[289,42.95]],[\"comment/669\",[]],[\"name/670\",[290,42.95]],[\"comment/670\",[]],[\"name/671\",[240,41.207]],[\"comment/671\",[]],[\"name/672\",[291,42.95]],[\"comment/672\",[]],[\"name/673\",[292,42.04]],[\"comment/673\",[]],[\"name/674\",[293,42.04]],[\"comment/674\",[]],[\"name/675\",[86,37.842]],[\"comment/675\",[]],[\"name/676\",[294,42.95]],[\"comment/676\",[]],[\"name/677\",[295,42.95]],[\"comment/677\",[]],[\"name/678\",[147,40.437]],[\"comment/678\",[]],[\"name/679\",[296,42.04]],[\"comment/679\",[]],[\"name/680\",[297,42.04]],[\"comment/680\",[]],[\"name/681\",[298,42.04]],[\"comment/681\",[]],[\"name/682\",[299,42.04]],[\"comment/682\",[]],[\"name/683\",[300,42.04]],[\"comment/683\",[]],[\"name/684\",[301,42.04]],[\"comment/684\",[]],[\"name/685\",[302,42.04]],[\"comment/685\",[]],[\"name/686\",[303,42.04]],[\"comment/686\",[]],[\"name/687\",[318,62.409]],[\"comment/687\",[]],[\"name/688\",[2,28.736]],[\"comment/688\",[]],[\"name/689\",[283,46.315]],[\"comment/689\",[]],[\"name/690\",[286,45.063]],[\"comment/690\",[]],[\"name/691\",[305,47.746]],[\"comment/691\",[]],[\"name/692\",[1,31.652]],[\"comment/692\",[]],[\"name/693\",[288,42.95]],[\"comment/693\",[]],[\"name/694\",[289,42.95]],[\"comment/694\",[]],[\"name/695\",[290,42.95]],[\"comment/695\",[]],[\"name/696\",[240,41.207]],[\"comment/696\",[]],[\"name/697\",[291,42.95]],[\"comment/697\",[]],[\"name/698\",[292,42.04]],[\"comment/698\",[]],[\"name/699\",[293,42.04]],[\"comment/699\",[]],[\"name/700\",[86,37.842]],[\"comment/700\",[]],[\"name/701\",[294,42.95]],[\"comment/701\",[]],[\"name/702\",[295,42.95]],[\"comment/702\",[]],[\"name/703\",[147,40.437]],[\"comment/703\",[]],[\"name/704\",[296,42.04]],[\"comment/704\",[]],[\"name/705\",[297,42.04]],[\"comment/705\",[]],[\"name/706\",[298,42.04]],[\"comment/706\",[]],[\"name/707\",[299,42.04]],[\"comment/707\",[]],[\"name/708\",[300,42.04]],[\"comment/708\",[]],[\"name/709\",[301,42.04]],[\"comment/709\",[]],[\"name/710\",[302,42.04]],[\"comment/710\",[]],[\"name/711\",[303,42.04]],[\"comment/711\",[]],[\"name/712\",[71,43.951]],[\"comment/712\",[]],[\"name/713\",[2,28.736]],[\"comment/713\",[]],[\"name/714\",[292,42.04]],[\"comment/714\",[]],[\"name/715\",[293,42.04]],[\"comment/715\",[]],[\"name/716\",[86,37.842]],[\"comment/716\",[]],[\"name/717\",[147,40.437]],[\"comment/717\",[]],[\"name/718\",[296,42.04]],[\"comment/718\",[]],[\"name/719\",[297,42.04]],[\"comment/719\",[]],[\"name/720\",[298,42.04]],[\"comment/720\",[]],[\"name/721\",[299,42.04]],[\"comment/721\",[]],[\"name/722\",[300,42.04]],[\"comment/722\",[]],[\"name/723\",[301,42.04]],[\"comment/723\",[]],[\"name/724\",[302,42.04]],[\"comment/724\",[]],[\"name/725\",[303,42.04]],[\"comment/725\",[]],[\"name/726\",[319,62.409]],[\"comment/726\",[]],[\"name/727\",[2,28.736]],[\"comment/727\",[]],[\"name/728\",[288,42.95]],[\"comment/728\",[]],[\"name/729\",[289,42.95]],[\"comment/729\",[]],[\"name/730\",[290,42.95]],[\"comment/730\",[]],[\"name/731\",[240,41.207]],[\"comment/731\",[]],[\"name/732\",[291,42.95]],[\"comment/732\",[]],[\"name/733\",[292,42.04]],[\"comment/733\",[]],[\"name/734\",[293,42.04]],[\"comment/734\",[]],[\"name/735\",[86,37.842]],[\"comment/735\",[]],[\"name/736\",[294,42.95]],[\"comment/736\",[]],[\"name/737\",[295,42.95]],[\"comment/737\",[]],[\"name/738\",[147,40.437]],[\"comment/738\",[]],[\"name/739\",[296,42.04]],[\"comment/739\",[]],[\"name/740\",[297,42.04]],[\"comment/740\",[]],[\"name/741\",[298,42.04]],[\"comment/741\",[]],[\"name/742\",[299,42.04]],[\"comment/742\",[]],[\"name/743\",[300,42.04]],[\"comment/743\",[]],[\"name/744\",[301,42.04]],[\"comment/744\",[]],[\"name/745\",[302,42.04]],[\"comment/745\",[]],[\"name/746\",[303,42.04]],[\"comment/746\",[]],[\"name/747\",[320,62.409]],[\"comment/747\",[]],[\"name/748\",[2,28.736]],[\"comment/748\",[]],[\"name/749\",[1,31.652]],[\"comment/749\",[]],[\"name/750\",[288,42.95]],[\"comment/750\",[]],[\"name/751\",[289,42.95]],[\"comment/751\",[]],[\"name/752\",[290,42.95]],[\"comment/752\",[]],[\"name/753\",[240,41.207]],[\"comment/753\",[]],[\"name/754\",[291,42.95]],[\"comment/754\",[]],[\"name/755\",[292,42.04]],[\"comment/755\",[]],[\"name/756\",[293,42.04]],[\"comment/756\",[]],[\"name/757\",[86,37.842]],[\"comment/757\",[]],[\"name/758\",[294,42.95]],[\"comment/758\",[]],[\"name/759\",[295,42.95]],[\"comment/759\",[]],[\"name/760\",[147,40.437]],[\"comment/760\",[]],[\"name/761\",[296,42.04]],[\"comment/761\",[]],[\"name/762\",[297,42.04]],[\"comment/762\",[]],[\"name/763\",[298,42.04]],[\"comment/763\",[]],[\"name/764\",[299,42.04]],[\"comment/764\",[]],[\"name/765\",[300,42.04]],[\"comment/765\",[]],[\"name/766\",[301,42.04]],[\"comment/766\",[]],[\"name/767\",[302,42.04]],[\"comment/767\",[]],[\"name/768\",[303,42.04]],[\"comment/768\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":240,\"name\":{\"393\":{},\"402\":{},\"516\":{},\"543\":{},\"567\":{},\"592\":{},\"618\":{},\"644\":{},\"671\":{},\"696\":{},\"731\":{},\"753\":{}},\"comment\":{}}],[\"ack\",{\"_index\":132,\"name\":{\"148\":{},\"238\":{},\"374\":{}},\"comment\":{}}],[\"acklimit\",{\"_index\":131,\"name\":{\"147\":{}},\"comment\":{}}],[\"acktimeout\",{\"_index\":130,\"name\":{\"146\":{}},\"comment\":{}}],[\"active\",{\"_index\":95,\"name\":{\"106\":{}},\"comment\":{}}],[\"activesupporter\",{\"_index\":60,\"name\":{\"64\":{}},\"comment\":{}}],[\"addfriend\",{\"_index\":273,\"name\":{\"496\":{}},\"comment\":{}}],[\"addmember\",{\"_index\":120,\"name\":{\"136\":{}},\"comment\":{}}],[\"addtogroup\",{\"_index\":204,\"name\":{\"309\":{}},\"comment\":{}}],[\"addtoserver\",{\"_index\":203,\"name\":{\"308\":{}},\"comment\":{}}],[\"analytics\",{\"_index\":79,\"name\":{\"85\":{},\"357\":{}},\"comment\":{}}],[\"animated\",{\"_index\":141,\"name\":{\"167\":{}},\"comment\":{}}],[\"animatedavatarurl\",{\"_index\":176,\"name\":{\"234\":{},\"419\":{},\"491\":{}},\"comment\":{}}],[\"animatediconurl\",{\"_index\":116,\"name\":{\"130\":{},\"366\":{}},\"comment\":{}}],[\"api\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"attachments\",{\"_index\":165,\"name\":{\"223\":{}},\"comment\":{}}],[\"author\",{\"_index\":162,\"name\":{\"220\":{}},\"comment\":{}}],[\"authorid\",{\"_index\":161,\"name\":{\"219\":{}},\"comment\":{}}],[\"avatar\",{\"_index\":202,\"name\":{\"306\":{},\"408\":{},\"481\":{}},\"comment\":{}}],[\"avatarurl\",{\"_index\":175,\"name\":{\"233\":{},\"418\":{},\"490\":{}},\"comment\":{}}],[\"badges\",{\"_index\":265,\"name\":{\"482\":{}},\"comment\":{}}],[\"ban\",{\"_index\":252,\"name\":{\"421\":{}},\"comment\":{}}],[\"banned\",{\"_index\":68,\"name\":{\"72\":{}},\"comment\":{}}],[\"banner\",{\"_index\":217,\"name\":{\"349\":{}},\"comment\":{}}],[\"bannerurl\",{\"_index\":225,\"name\":{\"367\":{}},\"comment\":{}}],[\"banuser\",{\"_index\":227,\"name\":{\"375\":{}},\"comment\":{}}],[\"blockuser\",{\"_index\":275,\"name\":{\"498\":{}},\"comment\":{}}],[\"bot\",{\"_index\":70,\"name\":{\"74\":{},\"488\":{}},\"comment\":{}}],[\"botcollection\",{\"_index\":282,\"name\":{\"505\":{}},\"comment\":{}}],[\"botflags\",{\"_index\":69,\"name\":{\"73\":{}},\"comment\":{}}],[\"bots\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"by\",{\"_index\":258,\"name\":{\"445\":{},\"454\":{},\"462\":{}},\"comment\":{}}],[\"byid\",{\"_index\":257,\"name\":{\"444\":{},\"453\":{},\"461\":{}},\"comment\":{}}],[\"categories\",{\"_index\":219,\"name\":{\"352\":{}},\"comment\":{}}],[\"changeusername\",{\"_index\":271,\"name\":{\"494\":{}},\"comment\":{}}],[\"channel\",{\"_index\":87,\"name\":{\"93\":{},\"203\":{},\"216\":{}},\"comment\":{}}],[\"channelcollection\",{\"_index\":304,\"name\":{\"532\":{}},\"comment\":{}}],[\"channeldescription\",{\"_index\":215,\"name\":{\"334\":{}},\"comment\":{}}],[\"channeleditsystemmessage\",{\"_index\":259,\"name\":{\"450\":{}},\"comment\":{}}],[\"channelid\",{\"_index\":157,\"name\":{\"200\":{},\"215\":{},\"332\":{}},\"comment\":{}}],[\"channelids\",{\"_index\":218,\"name\":{\"350\":{}},\"comment\":{}}],[\"channelinvite\",{\"_index\":152,\"name\":{\"184\":{}},\"comment\":{}}],[\"channelname\",{\"_index\":214,\"name\":{\"333\":{}},\"comment\":{}}],[\"channelownershipchangesystemmessage\",{\"_index\":261,\"name\":{\"465\":{}},\"comment\":{}}],[\"channelrenamedsystemmessage\",{\"_index\":260,\"name\":{\"457\":{}},\"comment\":{}}],[\"channels\",{\"_index\":4,\"name\":{\"4\":{},\"351\":{}},\"comment\":{}}],[\"channelunread\",{\"_index\":136,\"name\":{\"152\":{}},\"comment\":{}}],[\"channelunreadcollection\",{\"_index\":307,\"name\":{\"558\":{}},\"comment\":{}}],[\"channelunreads\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"classcollection\",{\"_index\":320,\"name\":{\"747\":{}},\"comment\":{}}],[\"clearreactions\",{\"_index\":179,\"name\":{\"240\":{}},\"comment\":{}}],[\"client\",{\"_index\":1,\"name\":{\"1\":{},\"172\":{},\"187\":{},\"192\":{},\"205\":{},\"246\":{},\"251\":{},\"261\":{},\"270\":{},\"287\":{},\"299\":{},\"303\":{},\"313\":{},\"318\":{},\"336\":{},\"391\":{},\"426\":{},\"432\":{},\"439\":{},\"448\":{},\"455\":{},\"463\":{},\"472\":{},\"512\":{},\"539\":{},\"563\":{},\"588\":{},\"614\":{},\"640\":{},\"667\":{},\"692\":{},\"749\":{}},\"comment\":{}}],[\"clientoptions\",{\"_index\":30,\"name\":{\"31\":{}},\"comment\":{}}],[\"code\",{\"_index\":208,\"name\":{\"323\":{}},\"comment\":{}}],[\"collection\",{\"_index\":71,\"name\":{\"76\":{},\"95\":{},\"154\":{},\"160\":{},\"209\":{},\"340\":{},\"400\":{},\"476\":{},\"712\":{}},\"comment\":{}}],[\"colour\",{\"_index\":196,\"name\":{\"284\":{},\"297\":{}},\"comment\":{}}],[\"configuration\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"connect\",{\"_index\":21,\"name\":{\"22\":{},\"45\":{}},\"comment\":{}}],[\"connected\",{\"_index\":48,\"name\":{\"52\":{}},\"comment\":{}}],[\"connecting\",{\"_index\":47,\"name\":{\"51\":{}},\"comment\":{}}],[\"connectionfailurecount\",{\"_index\":18,\"name\":{\"19\":{}},\"comment\":{}}],[\"connectionstate\",{\"_index\":45,\"name\":{\"49\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":2,\"name\":{\"2\":{},\"33\":{},\"75\":{},\"94\":{},\"153\":{},\"159\":{},\"171\":{},\"186\":{},\"191\":{},\"196\":{},\"208\":{},\"245\":{},\"250\":{},\"255\":{},\"265\":{},\"274\":{},\"291\":{},\"302\":{},\"312\":{},\"317\":{},\"322\":{},\"339\":{},\"390\":{},\"399\":{},\"425\":{},\"430\":{},\"436\":{},\"443\":{},\"452\":{},\"459\":{},\"467\":{},\"475\":{},\"506\":{},\"533\":{},\"559\":{},\"584\":{},\"609\":{},\"635\":{},\"661\":{},\"688\":{},\"713\":{},\"727\":{},\"748\":{}},\"comment\":{}}],[\"content\",{\"_index\":163,\"name\":{\"221\":{},\"431\":{}},\"comment\":{}}],[\"contenttype\",{\"_index\":146,\"name\":{\"177\":{}},\"comment\":{}}],[\"create\",{\"_index\":294,\"name\":{\"521\":{},\"547\":{},\"572\":{},\"597\":{},\"623\":{},\"649\":{},\"676\":{},\"701\":{},\"736\":{},\"758\":{}},\"comment\":{}}],[\"createbot\",{\"_index\":287,\"name\":{\"511\":{}},\"comment\":{}}],[\"createchannel\",{\"_index\":226,\"name\":{\"371\":{}},\"comment\":{}}],[\"createdat\",{\"_index\":74,\"name\":{\"79\":{},\"98\":{},\"163\":{},\"211\":{},\"343\":{},\"479\":{}},\"comment\":{}}],[\"createemoji\",{\"_index\":237,\"name\":{\"387\":{}},\"comment\":{}}],[\"createfileurl\",{\"_index\":151,\"name\":{\"183\":{}},\"comment\":{}}],[\"creategroup\",{\"_index\":306,\"name\":{\"538\":{}},\"comment\":{}}],[\"createinvite\",{\"_index\":129,\"name\":{\"145\":{}},\"comment\":{}}],[\"createrole\",{\"_index\":232,\"name\":{\"381\":{}},\"comment\":{}}],[\"createserver\",{\"_index\":314,\"name\":{\"639\":{}},\"comment\":{}}],[\"creator\",{\"_index\":140,\"name\":{\"165\":{},\"201\":{}},\"comment\":{}}],[\"creatorid\",{\"_index\":156,\"name\":{\"198\":{}},\"comment\":{}}],[\"defaultavatarurl\",{\"_index\":270,\"name\":{\"489\":{}},\"comment\":{}}],[\"defaultchannel\",{\"_index\":223,\"name\":{\"361\":{}},\"comment\":{}}],[\"defaultpermissions\",{\"_index\":105,\"name\":{\"119\":{},\"355\":{}},\"comment\":{}}],[\"delete\",{\"_index\":86,\"name\":{\"92\":{},\"135\":{},\"169\":{},\"204\":{},\"237\":{},\"373\":{},\"520\":{},\"534\":{},\"571\":{},\"596\":{},\"622\":{},\"648\":{},\"675\":{},\"700\":{},\"716\":{},\"735\":{},\"757\":{}},\"comment\":{}}],[\"deleted\",{\"_index\":67,\"name\":{\"71\":{}},\"comment\":{}}],[\"deletemessages\",{\"_index\":128,\"name\":{\"144\":{}},\"comment\":{}}],[\"deleterole\",{\"_index\":234,\"name\":{\"383\":{}},\"comment\":{}}],[\"description\",{\"_index\":93,\"name\":{\"104\":{},\"279\":{},\"295\":{},\"307\":{},\"347\":{}},\"comment\":{}}],[\"developer\",{\"_index\":54,\"name\":{\"58\":{}},\"comment\":{}}],[\"disconnect\",{\"_index\":42,\"name\":{\"46\":{}},\"comment\":{}}],[\"disconnected\",{\"_index\":49,\"name\":{\"53\":{}},\"comment\":{}}],[\"discoverable\",{\"_index\":80,\"name\":{\"86\":{},\"358\":{}},\"comment\":{}}],[\"displayname\",{\"_index\":92,\"name\":{\"103\":{}},\"comment\":{}}],[\"downloadurl\",{\"_index\":148,\"name\":{\"180\":{}},\"comment\":{}}],[\"earlyadopter\",{\"_index\":62,\"name\":{\"66\":{}},\"comment\":{}}],[\"edit\",{\"_index\":85,\"name\":{\"91\":{},\"134\":{},\"236\":{},\"372\":{},\"420\":{},\"493\":{}},\"comment\":{}}],[\"editedat\",{\"_index\":166,\"name\":{\"224\":{}},\"comment\":{}}],[\"editrole\",{\"_index\":233,\"name\":{\"382\":{}},\"comment\":{}}],[\"embeds\",{\"_index\":167,\"name\":{\"225\":{}},\"comment\":{}}],[\"embedurl\",{\"_index\":198,\"name\":{\"286\":{}},\"comment\":{}}],[\"emoji\",{\"_index\":138,\"name\":{\"158\":{}},\"comment\":{}}],[\"emojicollection\",{\"_index\":310,\"name\":{\"583\":{}},\"comment\":{}}],[\"emojis\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"entries\",{\"_index\":298,\"name\":{\"526\":{},\"552\":{},\"577\":{},\"602\":{},\"628\":{},\"654\":{},\"681\":{},\"706\":{},\"720\":{},\"741\":{},\"763\":{}},\"comment\":{}}],[\"eventclient\",{\"_index\":31,\"name\":{\"32\":{}},\"comment\":{}}],[\"events\",{\"_index\":13,\"name\":{\"13\":{}},\"comment\":{}}],[\"fetch\",{\"_index\":283,\"name\":{\"507\":{},\"535\":{},\"585\":{},\"610\":{},\"636\":{},\"664\":{},\"689\":{}},\"comment\":{}}],[\"fetchbans\",{\"_index\":231,\"name\":{\"379\":{}},\"comment\":{}}],[\"fetchconfiguration\",{\"_index\":22,\"name\":{\"23\":{}},\"comment\":{}}],[\"fetchemojis\",{\"_index\":238,\"name\":{\"388\":{}},\"comment\":{}}],[\"fetchinvites\",{\"_index\":230,\"name\":{\"378\":{}},\"comment\":{}}],[\"fetchmember\",{\"_index\":235,\"name\":{\"384\":{}},\"comment\":{}}],[\"fetchmembers\",{\"_index\":119,\"name\":{\"133\":{},\"386\":{}},\"comment\":{}}],[\"fetchmessage\",{\"_index\":123,\"name\":{\"139\":{}},\"comment\":{}}],[\"fetchmessages\",{\"_index\":124,\"name\":{\"140\":{}},\"comment\":{}}],[\"fetchmessageswithusers\",{\"_index\":125,\"name\":{\"141\":{}},\"comment\":{}}],[\"fetchmutual\",{\"_index\":278,\"name\":{\"501\":{}},\"comment\":{}}],[\"fetchowned\",{\"_index\":284,\"name\":{\"508\":{}},\"comment\":{}}],[\"fetchprofile\",{\"_index\":277,\"name\":{\"500\":{}},\"comment\":{}}],[\"fetchpublic\",{\"_index\":285,\"name\":{\"509\":{}},\"comment\":{}}],[\"file\",{\"_index\":142,\"name\":{\"170\":{}},\"comment\":{}}],[\"filename\",{\"_index\":144,\"name\":{\"175\":{}},\"comment\":{}}],[\"filter\",{\"_index\":301,\"name\":{\"529\":{},\"555\":{},\"580\":{},\"605\":{},\"631\":{},\"657\":{},\"684\":{},\"709\":{},\"723\":{},\"744\":{},\"766\":{}},\"comment\":{}}],[\"find\",{\"_index\":303,\"name\":{\"531\":{},\"557\":{},\"582\":{},\"607\":{},\"633\":{},\"659\":{},\"686\":{},\"711\":{},\"725\":{},\"746\":{},\"768\":{}},\"comment\":{}}],[\"flags\",{\"_index\":84,\"name\":{\"90\":{},\"356\":{},\"487\":{}},\"comment\":{}}],[\"foreach\",{\"_index\":299,\"name\":{\"527\":{},\"553\":{},\"578\":{},\"603\":{},\"629\":{},\"655\":{},\"682\":{},\"707\":{},\"721\":{},\"742\":{},\"764\":{}},\"comment\":{}}],[\"founder\",{\"_index\":58,\"name\":{\"62\":{}},\"comment\":{}}],[\"from\",{\"_index\":153,\"name\":{\"185\":{},\"190\":{},\"195\":{},\"244\":{},\"249\":{},\"254\":{},\"264\":{},\"273\":{},\"290\":{},\"311\":{},\"316\":{},\"321\":{},\"424\":{},\"429\":{},\"435\":{},\"442\":{},\"451\":{},\"458\":{},\"466\":{},\"470\":{}},\"comment\":{}}],[\"fromid\",{\"_index\":262,\"name\":{\"468\":{}},\"comment\":{}}],[\"get\",{\"_index\":292,\"name\":{\"518\":{},\"545\":{},\"569\":{},\"594\":{},\"620\":{},\"646\":{},\"673\":{},\"698\":{},\"714\":{},\"733\":{},\"755\":{}},\"comment\":{}}],[\"getbykey\",{\"_index\":317,\"name\":{\"663\":{}},\"comment\":{}}],[\"getorcreate\",{\"_index\":286,\"name\":{\"510\":{},\"536\":{},\"562\":{},\"586\":{},\"611\":{},\"637\":{},\"665\":{},\"690\":{}},\"comment\":{}}],[\"getorpartial\",{\"_index\":305,\"name\":{\"537\":{},\"587\":{},\"612\":{},\"638\":{},\"666\":{},\"691\":{}},\"comment\":{}}],[\"getpermissions\",{\"_index\":249,\"name\":{\"415\":{}},\"comment\":{}}],[\"getunderlyingobject\",{\"_index\":290,\"name\":{\"515\":{},\"542\":{},\"566\":{},\"591\":{},\"617\":{},\"643\":{},\"670\":{},\"695\":{},\"730\":{},\"752\":{}},\"comment\":{}}],[\"handle\",{\"_index\":44,\"name\":{\"48\":{}},\"comment\":{}}],[\"has\",{\"_index\":293,\"name\":{\"519\":{},\"546\":{},\"570\":{},\"595\":{},\"621\":{},\"647\":{},\"674\":{},\"699\":{},\"715\":{},\"734\":{},\"756\":{}},\"comment\":{}}],[\"hasbykey\",{\"_index\":316,\"name\":{\"662\":{}},\"comment\":{}}],[\"haspermission\",{\"_index\":250,\"name\":{\"416\":{}},\"comment\":{}}],[\"havepermission\",{\"_index\":118,\"name\":{\"132\":{},\"370\":{}},\"comment\":{}}],[\"heartbeatintervalreference\",{\"_index\":39,\"name\":{\"42\":{}},\"comment\":{}}],[\"height\",{\"_index\":186,\"name\":{\"258\":{},\"268\":{}},\"comment\":{}}],[\"hoistedrole\",{\"_index\":247,\"name\":{\"412\":{}},\"comment\":{}}],[\"humanreadablesize\",{\"_index\":149,\"name\":{\"181\":{}},\"comment\":{}}],[\"icon\",{\"_index\":94,\"name\":{\"105\":{},\"348\":{}},\"comment\":{}}],[\"iconurl\",{\"_index\":114,\"name\":{\"128\":{},\"283\":{},\"292\":{},\"365\":{}},\"comment\":{}}],[\"id\",{\"_index\":72,\"name\":{\"77\":{},\"96\":{},\"155\":{},\"161\":{},\"173\":{},\"197\":{},\"210\":{},\"304\":{},\"341\":{},\"392\":{},\"401\":{},\"477\":{}},\"comment\":{}}],[\"idle\",{\"_index\":46,\"name\":{\"50\":{}},\"comment\":{}}],[\"image\",{\"_index\":193,\"name\":{\"280\":{}},\"comment\":{}}],[\"imageembed\",{\"_index\":184,\"name\":{\"253\":{}},\"comment\":{}}],[\"inferiorto\",{\"_index\":251,\"name\":{\"417\":{}},\"comment\":{}}],[\"interactions\",{\"_index\":171,\"name\":{\"229\":{}},\"comment\":{}}],[\"interactionsurl\",{\"_index\":81,\"name\":{\"87\":{}},\"comment\":{}}],[\"ispartial\",{\"_index\":295,\"name\":{\"522\":{},\"548\":{},\"573\":{},\"598\":{},\"624\":{},\"650\":{},\"677\":{},\"702\":{},\"737\":{},\"759\":{}},\"comment\":{}}],[\"isspoiler\",{\"_index\":150,\"name\":{\"182\":{}},\"comment\":{}}],[\"join\",{\"_index\":216,\"name\":{\"335\":{}},\"comment\":{}}],[\"joinedat\",{\"_index\":244,\"name\":{\"406\":{}},\"comment\":{}}],[\"keys\",{\"_index\":296,\"name\":{\"524\":{},\"550\":{},\"575\":{},\"600\":{},\"626\":{},\"652\":{},\"679\":{},\"704\":{},\"718\":{},\"739\":{},\"761\":{}},\"comment\":{}}],[\"kick\",{\"_index\":253,\"name\":{\"422\":{}},\"comment\":{}}],[\"kickuser\",{\"_index\":228,\"name\":{\"376\":{}},\"comment\":{}}],[\"lastmessage\",{\"_index\":109,\"name\":{\"123\":{}},\"comment\":{}}],[\"lastmessageat\",{\"_index\":110,\"name\":{\"124\":{}},\"comment\":{}}],[\"lastmessageid\",{\"_index\":108,\"name\":{\"122\":{},\"156\":{}},\"comment\":{}}],[\"login\",{\"_index\":24,\"name\":{\"25\":{}},\"comment\":{}}],[\"loginbot\",{\"_index\":26,\"name\":{\"27\":{}},\"comment\":{}}],[\"map\",{\"_index\":302,\"name\":{\"530\":{},\"556\":{},\"581\":{},\"606\":{},\"632\":{},\"658\":{},\"685\":{},\"710\":{},\"724\":{},\"745\":{},\"767\":{}},\"comment\":{}}],[\"markdowntotext\",{\"_index\":28,\"name\":{\"29\":{}},\"comment\":{}}],[\"masquerade\",{\"_index\":172,\"name\":{\"230\":{}},\"comment\":{}}],[\"masqueradeavatarurl\",{\"_index\":177,\"name\":{\"235\":{}},\"comment\":{}}],[\"mature\",{\"_index\":107,\"name\":{\"121\":{},\"168\":{},\"359\":{}},\"comment\":{}}],[\"media\",{\"_index\":200,\"name\":{\"296\":{}},\"comment\":{}}],[\"member\",{\"_index\":160,\"name\":{\"218\":{},\"368\":{}},\"comment\":{}}],[\"membercount\",{\"_index\":213,\"name\":{\"331\":{}},\"comment\":{}}],[\"mentionids\",{\"_index\":168,\"name\":{\"226\":{}},\"comment\":{}}],[\"mentions\",{\"_index\":113,\"name\":{\"127\":{},\"364\":{}},\"comment\":{}}],[\"message\",{\"_index\":158,\"name\":{\"207\":{}},\"comment\":{}}],[\"messagecollection\",{\"_index\":311,\"name\":{\"608\":{}},\"comment\":{}}],[\"messageembed\",{\"_index\":182,\"name\":{\"243\":{}},\"comment\":{}}],[\"messagementionids\",{\"_index\":137,\"name\":{\"157\":{}},\"comment\":{}}],[\"messages\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"metadata\",{\"_index\":145,\"name\":{\"176\":{}},\"comment\":{}}],[\"name\",{\"_index\":91,\"name\":{\"102\":{},\"166\":{},\"346\":{},\"460\":{}},\"comment\":{}}],[\"nickname\",{\"_index\":245,\"name\":{\"407\":{}},\"comment\":{}}],[\"nonce\",{\"_index\":159,\"name\":{\"214\":{}},\"comment\":{}}],[\"objects\",{\"_index\":289,\"name\":{\"514\":{},\"541\":{},\"565\":{},\"590\":{},\"616\":{},\"642\":{},\"669\":{},\"694\":{},\"729\":{},\"751\":{}},\"comment\":{}}],[\"official\",{\"_index\":51,\"name\":{\"55\":{}},\"comment\":{}}],[\"online\",{\"_index\":268,\"name\":{\"485\":{}},\"comment\":{}}],[\"opendm\",{\"_index\":272,\"name\":{\"495\":{}},\"comment\":{}}],[\"options\",{\"_index\":12,\"name\":{\"12\":{},\"34\":{}},\"comment\":{}}],[\"orderedchannels\",{\"_index\":222,\"name\":{\"360\":{}},\"comment\":{}}],[\"orderedroles\",{\"_index\":224,\"name\":{\"362\":{},\"411\":{}},\"comment\":{}}],[\"originalurl\",{\"_index\":190,\"name\":{\"276\":{}},\"comment\":{}}],[\"owner\",{\"_index\":76,\"name\":{\"82\":{},\"115\":{},\"345\":{}},\"comment\":{}}],[\"ownerid\",{\"_index\":75,\"name\":{\"81\":{},\"114\":{},\"344\":{}},\"comment\":{}}],[\"pardon\",{\"_index\":242,\"name\":{\"397\":{}},\"comment\":{}}],[\"parent\",{\"_index\":139,\"name\":{\"164\":{}},\"comment\":{}}],[\"path\",{\"_index\":89,\"name\":{\"100\":{},\"212\":{}},\"comment\":{}}],[\"paw\",{\"_index\":61,\"name\":{\"65\":{}},\"comment\":{}}],[\"permission\",{\"_index\":117,\"name\":{\"131\":{},\"369\":{},\"492\":{}},\"comment\":{}}],[\"permissions\",{\"_index\":104,\"name\":{\"118\":{}},\"comment\":{}}],[\"ping\",{\"_index\":34,\"name\":{\"37\":{}},\"comment\":{}}],[\"platformmoderation\",{\"_index\":59,\"name\":{\"63\":{}},\"comment\":{}}],[\"pongtimeoutreference\",{\"_index\":40,\"name\":{\"43\":{}},\"comment\":{}}],[\"privacypolicyurl\",{\"_index\":83,\"name\":{\"89\":{}},\"comment\":{}}],[\"privileged\",{\"_index\":269,\"name\":{\"486\":{}},\"comment\":{}}],[\"protocolversion\",{\"_index\":32,\"name\":{\"35\":{}},\"comment\":{}}],[\"proxiediconurl\",{\"_index\":197,\"name\":{\"285\":{},\"298\":{}},\"comment\":{}}],[\"proxiedurl\",{\"_index\":187,\"name\":{\"260\":{},\"269\":{}},\"comment\":{}}],[\"proxyfile\",{\"_index\":29,\"name\":{\"30\":{}},\"comment\":{}}],[\"public\",{\"_index\":78,\"name\":{\"84\":{}},\"comment\":{}}],[\"publicbot\",{\"_index\":201,\"name\":{\"301\":{}},\"comment\":{}}],[\"publicchannelinvite\",{\"_index\":205,\"name\":{\"310\":{}},\"comment\":{}}],[\"querymessages\",{\"_index\":312,\"name\":{\"613\":{}},\"comment\":{}}],[\"ranking\",{\"_index\":248,\"name\":{\"414\":{}},\"comment\":{}}],[\"re_channels\",{\"_index\":280,\"name\":{\"503\":{}},\"comment\":{}}],[\"re_mentions\",{\"_index\":279,\"name\":{\"502\":{}},\"comment\":{}}],[\"re_spoiler\",{\"_index\":281,\"name\":{\"504\":{}},\"comment\":{}}],[\"react\",{\"_index\":180,\"name\":{\"241\":{}},\"comment\":{}}],[\"reactions\",{\"_index\":170,\"name\":{\"228\":{}},\"comment\":{}}],[\"ready\",{\"_index\":16,\"name\":{\"17\":{}},\"comment\":{}}],[\"reason\",{\"_index\":241,\"name\":{\"394\":{}},\"comment\":{}}],[\"recipient\",{\"_index\":100,\"name\":{\"111\":{}},\"comment\":{}}],[\"recipientids\",{\"_index\":98,\"name\":{\"109\":{}},\"comment\":{}}],[\"recipients\",{\"_index\":99,\"name\":{\"110\":{}},\"comment\":{}}],[\"reconnecttimeout\",{\"_index\":20,\"name\":{\"21\":{}},\"comment\":{}}],[\"register\",{\"_index\":27,\"name\":{\"28\":{}},\"comment\":{}}],[\"relationship\",{\"_index\":267,\"name\":{\"484\":{}},\"comment\":{}}],[\"removefriend\",{\"_index\":274,\"name\":{\"497\":{}},\"comment\":{}}],[\"removemember\",{\"_index\":121,\"name\":{\"137\":{}},\"comment\":{}}],[\"reply\",{\"_index\":178,\"name\":{\"239\":{}},\"comment\":{}}],[\"replyids\",{\"_index\":169,\"name\":{\"227\":{}},\"comment\":{}}],[\"reservedrelevantjokebadge1\",{\"_index\":63,\"name\":{\"67\":{}},\"comment\":{}}],[\"reservedrelevantjokebadge2\",{\"_index\":64,\"name\":{\"68\":{}},\"comment\":{}}],[\"reset\",{\"_index\":309,\"name\":{\"561\":{}},\"comment\":{}}],[\"responsibledisclosure\",{\"_index\":57,\"name\":{\"61\":{}},\"comment\":{}}],[\"rolecolour\",{\"_index\":174,\"name\":{\"232\":{},\"413\":{}},\"comment\":{}}],[\"rolepermissions\",{\"_index\":106,\"name\":{\"120\":{}},\"comment\":{}}],[\"roles\",{\"_index\":221,\"name\":{\"354\":{},\"409\":{}},\"comment\":{}}],[\"search\",{\"_index\":126,\"name\":{\"142\":{}},\"comment\":{}}],[\"searchwithusers\",{\"_index\":127,\"name\":{\"143\":{}},\"comment\":{}}],[\"send\",{\"_index\":43,\"name\":{\"47\":{}},\"comment\":{}}],[\"sendmessage\",{\"_index\":122,\"name\":{\"138\":{}},\"comment\":{}}],[\"server\",{\"_index\":103,\"name\":{\"117\":{},\"202\":{},\"217\":{},\"338\":{},\"396\":{},\"404\":{}},\"comment\":{}}],[\"serverban\",{\"_index\":239,\"name\":{\"389\":{}},\"comment\":{}}],[\"serverbanner\",{\"_index\":212,\"name\":{\"329\":{}},\"comment\":{}}],[\"servercollection\",{\"_index\":313,\"name\":{\"634\":{}},\"comment\":{}}],[\"serverflags\",{\"_index\":50,\"name\":{\"54\":{},\"330\":{}},\"comment\":{}}],[\"servericon\",{\"_index\":211,\"name\":{\"328\":{}},\"comment\":{}}],[\"serverid\",{\"_index\":102,\"name\":{\"116\":{},\"199\":{},\"326\":{}},\"comment\":{}}],[\"serverinvite\",{\"_index\":155,\"name\":{\"194\":{}},\"comment\":{}}],[\"servermember\",{\"_index\":243,\"name\":{\"398\":{}},\"comment\":{}}],[\"servermembercollection\",{\"_index\":315,\"name\":{\"660\":{}},\"comment\":{}}],[\"servermembers\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"servername\",{\"_index\":210,\"name\":{\"327\":{}},\"comment\":{}}],[\"serverpublicinvite\",{\"_index\":207,\"name\":{\"320\":{}},\"comment\":{}}],[\"servers\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"session\",{\"_index\":0,\"name\":{\"0\":{},\"15\":{}},\"comment\":{}}],[\"setconnectionfailurecount\",{\"_index\":19,\"name\":{\"20\":{}},\"comment\":{}}],[\"setpermissions\",{\"_index\":133,\"name\":{\"149\":{},\"380\":{}},\"comment\":{}}],[\"setping\",{\"_index\":35,\"name\":{\"38\":{}},\"comment\":{}}],[\"setready\",{\"_index\":17,\"name\":{\"18\":{}},\"comment\":{}}],[\"setstate\",{\"_index\":41,\"name\":{\"44\":{}},\"comment\":{}}],[\"setstatesetter\",{\"_index\":37,\"name\":{\"40\":{}},\"comment\":{}}],[\"sitename\",{\"_index\":195,\"name\":{\"282\":{}},\"comment\":{}}],[\"size\",{\"_index\":147,\"name\":{\"178\":{},\"259\":{},\"523\":{},\"549\":{},\"574\":{},\"599\":{},\"625\":{},\"651\":{},\"678\":{},\"703\":{},\"717\":{},\"738\":{},\"760\":{}},\"comment\":{}}],[\"smalliconurl\",{\"_index\":115,\"name\":{\"129\":{}},\"comment\":{}}],[\"socket\",{\"_index\":38,\"name\":{\"41\":{}},\"comment\":{}}],[\"specialcontent\",{\"_index\":191,\"name\":{\"277\":{}},\"comment\":{}}],[\"starttyping\",{\"_index\":134,\"name\":{\"150\":{}},\"comment\":{}}],[\"state\",{\"_index\":36,\"name\":{\"39\":{}},\"comment\":{}}],[\"status\",{\"_index\":266,\"name\":{\"483\":{}},\"comment\":{}}],[\"stoptyping\",{\"_index\":135,\"name\":{\"151\":{}},\"comment\":{}}],[\"storage\",{\"_index\":288,\"name\":{\"513\":{},\"540\":{},\"564\":{},\"589\":{},\"615\":{},\"641\":{},\"668\":{},\"693\":{},\"728\":{},\"750\":{}},\"comment\":{}}],[\"storecollection\",{\"_index\":319,\"name\":{\"726\":{}},\"comment\":{}}],[\"supporter\",{\"_index\":56,\"name\":{\"60\":{}},\"comment\":{}}],[\"suspended\",{\"_index\":66,\"name\":{\"70\":{}},\"comment\":{}}],[\"sync\",{\"_index\":308,\"name\":{\"560\":{}},\"comment\":{}}],[\"syncmembers\",{\"_index\":236,\"name\":{\"385\":{}},\"comment\":{}}],[\"systemmessage\",{\"_index\":164,\"name\":{\"222\":{},\"423\":{}},\"comment\":{}}],[\"systemmessages\",{\"_index\":220,\"name\":{\"353\":{}},\"comment\":{}}],[\"tag\",{\"_index\":143,\"name\":{\"174\":{}},\"comment\":{}}],[\"termsofserviceurl\",{\"_index\":82,\"name\":{\"88\":{}},\"comment\":{}}],[\"textembed\",{\"_index\":199,\"name\":{\"289\":{}},\"comment\":{}}],[\"textsystemmessage\",{\"_index\":254,\"name\":{\"428\":{}},\"comment\":{}}],[\"timeout\",{\"_index\":246,\"name\":{\"410\":{}},\"comment\":{}}],[\"title\",{\"_index\":192,\"name\":{\"278\":{},\"294\":{}},\"comment\":{}}],[\"to\",{\"_index\":264,\"name\":{\"471\":{}},\"comment\":{}}],[\"toid\",{\"_index\":263,\"name\":{\"469\":{}},\"comment\":{}}],[\"token\",{\"_index\":77,\"name\":{\"83\":{}},\"comment\":{}}],[\"tolist\",{\"_index\":300,\"name\":{\"528\":{},\"554\":{},\"579\":{},\"604\":{},\"630\":{},\"656\":{},\"683\":{},\"708\":{},\"722\":{},\"743\":{},\"765\":{}},\"comment\":{}}],[\"tostring\",{\"_index\":73,\"name\":{\"78\":{},\"97\":{},\"162\":{},\"342\":{},\"403\":{},\"478\":{}},\"comment\":{}}],[\"translator\",{\"_index\":55,\"name\":{\"59\":{}},\"comment\":{}}],[\"transportformat\",{\"_index\":33,\"name\":{\"36\":{}},\"comment\":{}}],[\"type\",{\"_index\":88,\"name\":{\"99\":{},\"188\":{},\"193\":{},\"206\":{},\"247\":{},\"252\":{},\"262\":{},\"271\":{},\"288\":{},\"300\":{},\"314\":{},\"319\":{},\"337\":{},\"427\":{},\"433\":{},\"440\":{},\"449\":{},\"456\":{},\"464\":{},\"473\":{}},\"comment\":{}}],[\"typing\",{\"_index\":97,\"name\":{\"108\":{}},\"comment\":{}}],[\"typingids\",{\"_index\":96,\"name\":{\"107\":{}},\"comment\":{}}],[\"unbanuser\",{\"_index\":229,\"name\":{\"377\":{}},\"comment\":{}}],[\"unblockuser\",{\"_index\":276,\"name\":{\"499\":{}},\"comment\":{}}],[\"unknownembed\",{\"_index\":183,\"name\":{\"248\":{}},\"comment\":{}}],[\"unknowninvite\",{\"_index\":154,\"name\":{\"189\":{}},\"comment\":{}}],[\"unknownpublicinvite\",{\"_index\":206,\"name\":{\"315\":{}},\"comment\":{}}],[\"unreact\",{\"_index\":181,\"name\":{\"242\":{}},\"comment\":{}}],[\"unread\",{\"_index\":112,\"name\":{\"126\":{},\"363\":{}},\"comment\":{}}],[\"updatedat\",{\"_index\":111,\"name\":{\"125\":{}},\"comment\":{}}],[\"updateheaders\",{\"_index\":23,\"name\":{\"24\":{}},\"comment\":{}}],[\"updateunderlyingobject\",{\"_index\":291,\"name\":{\"517\":{},\"544\":{},\"568\":{},\"593\":{},\"619\":{},\"645\":{},\"672\":{},\"697\":{},\"732\":{},\"754\":{}},\"comment\":{}}],[\"url\",{\"_index\":90,\"name\":{\"101\":{},\"179\":{},\"213\":{},\"256\":{},\"266\":{},\"275\":{},\"293\":{}},\"comment\":{}}],[\"useexistingsession\",{\"_index\":25,\"name\":{\"26\":{}},\"comment\":{}}],[\"user\",{\"_index\":15,\"name\":{\"16\":{},\"80\":{},\"113\":{},\"395\":{},\"405\":{},\"438\":{},\"447\":{},\"474\":{}},\"comment\":{}}],[\"useravatar\",{\"_index\":209,\"name\":{\"325\":{}},\"comment\":{}}],[\"userbadges\",{\"_index\":53,\"name\":{\"57\":{}},\"comment\":{}}],[\"usercollection\",{\"_index\":318,\"name\":{\"687\":{}},\"comment\":{}}],[\"userflags\",{\"_index\":65,\"name\":{\"69\":{}},\"comment\":{}}],[\"userid\",{\"_index\":101,\"name\":{\"112\":{},\"437\":{},\"446\":{}},\"comment\":{}}],[\"usermoderatedsystemmessage\",{\"_index\":256,\"name\":{\"441\":{}},\"comment\":{}}],[\"username\",{\"_index\":173,\"name\":{\"231\":{},\"305\":{},\"324\":{},\"480\":{}},\"comment\":{}}],[\"users\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"usersystemmessage\",{\"_index\":255,\"name\":{\"434\":{}},\"comment\":{}}],[\"values\",{\"_index\":297,\"name\":{\"525\":{},\"551\":{},\"576\":{},\"601\":{},\"627\":{},\"653\":{},\"680\":{},\"705\":{},\"719\":{},\"740\":{},\"762\":{}},\"comment\":{}}],[\"verified\",{\"_index\":52,\"name\":{\"56\":{}},\"comment\":{}}],[\"video\",{\"_index\":194,\"name\":{\"281\":{}},\"comment\":{}}],[\"videoembed\",{\"_index\":188,\"name\":{\"263\":{}},\"comment\":{}}],[\"websiteembed\",{\"_index\":189,\"name\":{\"272\":{}},\"comment\":{}}],[\"width\",{\"_index\":185,\"name\":{\"257\":{},\"267\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 00000000..0db60927 --- /dev/null +++ b/assets/style.css @@ -0,0 +1,1207 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-text: #222; + --light-color-text-aside: #707070; + --light-color-link: #4da6ff; + --light-color-ts: #db1373; + --light-color-ts-interface: #139d2c; + --light-color-ts-enum: #9c891a; + --light-color-ts-class: #2484e5; + --light-color-ts-function: #572be7; + --light-color-ts-namespace: #b111c9; + --light-color-ts-private: #707070; + --light-color-ts-variable: #4d68ff; + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + --dark-color-ts: #ff6492; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-class: #61b0ff; + --dark-color-ts-function: #9772ff; + --dark-color-ts-namespace: #e14dff; + --dark-color-ts-private: #e2e2e2; + --dark-color-ts-variable: #4d68ff; + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-function: var(--light-color-ts-function); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-private: var(--light-color-ts-private); + --color-ts-variable: var(--light-color-ts-variable); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-private: var(--dark-color-ts-private); + --color-ts-variable: var(--dark-color-ts-variable); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-function: var(--light-color-ts-function); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-private: var(--light-color-ts-private); + --color-ts-variable: var(--light-color-ts-variable); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-private: var(--dark-color-ts-private); + --color-ts-variable: var(--dark-color-ts-variable); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +.tsd-generator { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} + +.tsd-generator > p { + margin-top: 0; + margin-bottom: 0; + padding: 0 1rem; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + padding: 10px; + border: 0.1em solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography h4, +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; + margin: 0; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} +.tsd-index-panel a, +.tsd-index-panel a.tsd-parent-kind-module { + color: var(--color-ts); +} +.tsd-index-panel a.tsd-parent-kind-interface { + color: var(--color-ts-interface); +} +.tsd-index-panel a.tsd-parent-kind-enum { + color: var(--color-ts-enum); +} +.tsd-index-panel a.tsd-parent-kind-class { + color: var(--color-ts-class); +} +.tsd-index-panel a.tsd-kind-module { + color: var(--color-ts-namespace); +} +.tsd-index-panel a.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-index-panel a.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-index-panel a.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-index-panel a.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-index-panel a.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-index-panel a.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-index-panel a.tsd-is-private { + color: var(--color-ts-private); +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: relative; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} +.tsd-member [data-tsd-kind] { + color: var(--color-ts); +} +.tsd-member [data-tsd-kind="Interface"] { + color: var(--color-ts-interface); +} +.tsd-member [data-tsd-kind="Enum"] { + color: var(--color-ts-enum); +} +.tsd-member [data-tsd-kind="Class"] { + color: var(--color-ts-class); +} +.tsd-member [data-tsd-kind="Private"] { + color: var(--color-ts-private); +} + +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation a, +.tsd-page-navigation a { + display: inline-flex; + align-items: center; + padding: 0.25rem 0; + color: var(--color-text); + text-decoration: none; +} +.tsd-navigation a { + /* why 3rem? No idea, but it seems to work. */ + width: calc(100% - 3rem); +} +.tsd-page-navigation a { + /* why is this different? */ + width: 100%; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-accent); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul, +.tsd-page-navigation ul { + margin: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li, +.tsd-page-navigation li { + padding: 0; + max-width: 100%; +} +.tsd-nested-navigation > li > a { + margin-left: 3rem; +} +.tsd-nested-navigation > li > details { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > a { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > details { + margin-left: 0; +} +.tsd-page-navigation ul { + padding-left: 1.75rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; +} +.tsd-accordion-summary, +.tsd-accordion-summary a { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + + display: flex; + align-items: center; + cursor: pointer; +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; +} +.tsd-index-accordion .tsd-accordion-summary svg { + margin-right: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + padding: 0 10px; + background-color: var(--color-background); +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current, +#tsd-search .results li:hover { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: block; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/classes/API.API.html b/classes/API.API.html new file mode 100644 index 00000000..42c200ae --- /dev/null +++ b/classes/API.API.html @@ -0,0 +1,923 @@ +API | revolt.js
+
+ +
+
+
+
+ +

Class API

+
+

API Client

+
+
+

Hierarchy

+
    +
  • API
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      Optional __namedParameters: Partial<Options>
    +

    Returns API

+
+

Properties

+
+ +
authentication: any
+
+ +
baseURL: any
+
+

Accessors

+
+ +
    +
  • get auth(): AxiosRequestConfig<any>
  • +
  • +

    Generate authentication options.

    +
    +

    Returns AxiosRequestConfig<any>

+
+ +
    +
  • get config(): AxiosRequestConfig<any>
  • +
  • +

    Generate config to pass through to API.

    +
    +

    Returns AxiosRequestConfig<any>

+
+

Methods

+
+ +
    + +
  • +

    Send HTTP DELETE request.

    + +

    Returns

    Typed Response Data

    +
    +
    +

    Type Parameters

    +
      +
    • +

      Path extends "/auth/mfa/totp" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/invites/${string}` | "-/invites/{target}" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/users/${string}/friend` | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/messages/bulk` | "-/channels/{target}/messages/bulk" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/messages/${string}/reactions/${string}` | "-/channels/{target}/messages/{msg}/reactions/{emoji}" | `/channels/${string}/messages/${string}/reactions` | "-/channels/{target}/messages/{msg}/reactions" | `/servers/${string}/bans/${string}` | "-/servers/{server}/bans/{target}" | `/servers/${string}/roles/${string}` | "-/servers/{target}/roles/{role_id}" | `/auth/session/${string}` | "-/auth/session/{id}"

    • +
    • +

      Route extends APIRoutes & {
          method: "delete";
      } & {
          parts: Count<Path, "/", []>;
          path: Path;
      }

    +
    +

    Parameters

    +
      +
    • +
      path: Path
      +

      Path

      +
    • +
    • +
      Optional params: any
      +

      Body or Query Parameters

      +
    • +
    • +
      Optional config: AxiosRequestConfig<any>
      +

      Axios configuration

      +
    +

    Returns Promise<Route["response"]>

  • + +
  • +

    Send HTTP DELETE request.

    + +

    Returns

    Typed Response Data

    +
    +
    +

    Type Parameters

    +
      +
    • +

      Path extends "/auth/mfa/totp" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/invites/${string}` | "-/invites/{target}" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/users/${string}/friend` | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/messages/${string}/reactions` | "-/channels/{target}/messages/{msg}/reactions" | `/servers/${string}/bans/${string}` | "-/servers/{server}/bans/{target}" | `/servers/${string}/roles/${string}` | "-/servers/{target}/roles/{role_id}" | `/auth/session/${string}` | "-/auth/session/{id}"

    • +
    • +

      Route extends APIRoutes & {
          method: "delete";
      } & {
          parts: Count<Path, "/", []>;
          path: Path;
      }

    +
    +

    Parameters

    +
      +
    • +
      path: Path
      +

      Path

      +
    • +
    • +
      Optional params: any
      +

      Body or Query Parameters

      +
    +

    Returns Promise<Route["response"]>

+
+ +
    + +
  • +

    Send HTTP GET request.

    + +

    Returns

    Typed Response Data

    +
    +
    +

    Type Parameters

    +
      +
    • +

      Path extends "/auth/session/all" | "/" | "/admin/stats" | `/users/${string}` | "-/users/{target}" | `/users/${string}/flags` | "-/users/{target}/flags" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/servers/${string}/emojis` | "-/servers/{target}/emojis" | `/invites/${string}` | "-/invites/{target}" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/safety/report/${string}` | "-/safety/report/{id}" | "/safety/reports" | `/safety/snapshot/${string}` | "-/safety/snapshot/{report_id}" | "/auth/account/" | "/auth/mfa/" | "/auth/mfa/methods" | "/onboard/hello" | "/sync/unreads" | `/channels/${string}/messages` | "-/channels/{target}/messages" | `/servers/${string}/members` | "-/servers/{target}/members"

    • +
    • +

      Route extends APIRoutes & {
          method: "get";
      } & {
          parts: Count<Path, "/", []>;
          path: Path;
      }

    +
    +

    Parameters

    +
      +
    • +
      path: Path
      +

      Path

      +
    • +
    • +
      params: Route["params"]
      +

      Body or Query Parameters

      +
    • +
    • +
      Optional config: AxiosRequestConfig<any>
      +

      Axios configuration

      +
    +

    Returns Promise<Route["response"]>

  • + +
  • +

    Send HTTP GET request.

    + +

    Returns

    Typed Response Data

    +
    +
    +

    Type Parameters

    +
      +
    • +

      Path extends "/auth/session/all" | "/" | "/admin/stats" | `/users/${string}` | "-/users/{target}" | `/users/${string}/flags` | "-/users/{target}/flags" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/servers/${string}/emojis` | "-/servers/{target}/emojis" | `/invites/${string}` | "-/invites/{target}" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/safety/report/${string}` | "-/safety/report/{id}" | "/safety/reports" | `/safety/snapshot/${string}` | "-/safety/snapshot/{report_id}" | "/auth/account/" | "/auth/mfa/" | "/auth/mfa/methods" | "/onboard/hello" | "/sync/unreads"

    • +
    • +

      Route extends APIRoutes & {
          method: "get";
      } & {
          parts: Count<Path, "/", []>;
          path: Path;
      }

    +
    +

    Parameters

    +
      +
    • +
      path: Path
      +

      Path

      +
    +

    Returns Promise<Route["response"]>

+
+ +
    + +
  • +

    Send HTTP PATCH request.

    + +

    Returns

    Typed Response Data

    +
    +
    +

    Type Parameters

    +
      +
    • +

      Path extends "/auth/account/change/password" | "/auth/account/change/email" | "/auth/account/reset_password" | `/users/${string}` | "-/users/{target}" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{server}/members/{target}" | `/servers/${string}/roles/${string}` | "-/servers/{target}/roles/{role_id}" | `/safety/reports/${string}` | "-/safety/reports/{report}" | `/auth/session/${string}` | "-/auth/session/{id}" | "/auth/mfa/recovery"

    • +
    • +

      Route extends APIRoutes & {
          method: "patch";
      } & {
          parts: Count<Path, "/", []>;
          path: Path;
      }

    +
    +

    Parameters

    +
      +
    • +
      path: Path
      +

      Path

      +
    • +
    • +
      params: Route["params"]
      +

      Body or Query Parameters

      +
    • +
    • +
      Optional config: AxiosRequestConfig<any>
      +

      Axios configuration

      +
    +

    Returns Promise<Route["response"]>

  • + +
  • +

    Send HTTP PATCH request.

    + +

    Returns

    Typed Response Data

    +
    +
    +

    Type Parameters

    +
      +
    • +

      Path extends "/auth/mfa/recovery"

    • +
    • +

      Route extends APIRoutes & {
          method: "patch";
      } & {
          parts: Count<Path, "/", []>;
          path: Path;
      }

    +
    +

    Parameters

    +
      +
    • +
      path: Path
      +

      Path

      +
    +

    Returns Promise<Route["response"]>

+
+ +
    + +
  • +

    Send HTTP POST request.

    + +

    Returns

    Typed Response Data

    +
    +
    +

    Type Parameters

    +
      +
    • +

      Path extends "/admin/messages" | "/users/friend" | "/bots/create" | "/channels/create" | "/servers/create" | "/safety/report" | "/auth/account/create" | "/auth/account/reverify" | "/auth/account/delete" | "/auth/account/reset_password" | "/auth/session/login" | "/auth/mfa/totp" | "/onboard/complete" | "/push/subscribe" | "/sync/settings/fetch" | "/sync/settings/set" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/invites/${string}` | "-/invites/{target}" | `/channels/${string}/invites` | "-/channels/{target}/invites" | `/channels/${string}/messages` | "-/channels/{target}/messages" | `/channels/${string}/search` | "-/channels/{target}/search" | `/channels/${string}/messages/stale` | "-/channels/{_target}/messages/stale" | `/channels/${string}/join_call` | "-/channels/{target}/join_call" | `/servers/${string}/channels` | "-/servers/{target}/channels" | `/servers/${string}/roles` | "-/servers/{target}/roles" | "/auth/account/disable" | `/auth/account/verify/${string}` | "-/auth/account/verify/{code}" | "/auth/session/logout" | "/auth/mfa/recovery" | "/push/unsubscribe"

    • +
    • +

      Route extends APIRoutes & {
          method: "post";
      } & {
          parts: Count<Path, "/", []>;
          path: Path;
      }

    +
    +

    Parameters

    +
      +
    • +
      path: Path
      +

      Path

      +
    • +
    • +
      params: Route["params"]
      +

      Body or Query Parameters

      +
    • +
    • +
      Optional config: AxiosRequestConfig<any>
      +

      Axios configuration

      +
    +

    Returns Promise<Route["response"]>

  • + +
  • +

    Send HTTP POST request.

    + +

    Returns

    Typed Response Data

    +
    +
    +

    Type Parameters

    +
      +
    • +

      Path extends "/auth/account/delete" | "/auth/mfa/totp" | `/invites/${string}` | "-/invites/{target}" | `/channels/${string}/invites` | "-/channels/{target}/invites" | `/channels/${string}/join_call` | "-/channels/{target}/join_call" | "/auth/account/disable" | `/auth/account/verify/${string}` | "-/auth/account/verify/{code}" | "/auth/session/logout" | "/auth/mfa/recovery" | "/push/unsubscribe"

    • +
    • +

      Route extends APIRoutes & {
          method: "post";
      } & {
          parts: Count<Path, "/", []>;
          path: Path;
      }

    +
    +

    Parameters

    +
      +
    • +
      path: Path
      +

      Path

      +
    +

    Returns Promise<Route["response"]>

+
+ +
    + +
  • +

    Send HTTP PUT request.

    + +

    Returns

    Typed Response Data

    +
    +
    +

    Type Parameters

    +
      +
    • +

      Path extends "/auth/account/delete" | "/auth/mfa/ticket" | "/auth/mfa/totp" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/users/${string}/friend` | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/ack/${string}` | "-/channels/{target}/ack/{message}" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/permissions/${string}` | "-/channels/{target}/permissions/{role_id}" | `/channels/${string}/permissions/default` | "-/channels/{target}/permissions/default" | `/channels/${string}/messages/${string}/reactions/${string}` | "-/channels/{target}/messages/{msg}/reactions/{emoji}" | `/servers/${string}/ack` | "-/servers/{target}/ack" | `/servers/${string}/bans/${string}` | "-/servers/{server}/bans/{target}" | `/servers/${string}/permissions/${string}` | "-/servers/{target}/permissions/{role_id}" | `/servers/${string}/permissions/default` | "-/servers/{target}/permissions/default"

    • +
    • +

      Route extends APIRoutes & {
          method: "put";
      } & {
          parts: Count<Path, "/", []>;
          path: Path;
      }

    +
    +

    Parameters

    +
      +
    • +
      path: Path
      +

      Path

      +
    • +
    • +
      params: Route["params"]
      +

      Body or Query Parameters

      +
    • +
    • +
      Optional config: AxiosRequestConfig<any>
      +

      Axios configuration

      +
    +

    Returns Promise<Route["response"]>

  • + +
  • +

    Send HTTP PUT request.

    + +

    Returns

    Typed Response Data

    +
    +
    +

    Type Parameters

    +
      +
    • +

      Path extends `/users/${string}/friend` | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/ack/${string}` | "-/channels/{target}/ack/{message}" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/messages/${string}/reactions/${string}` | "-/channels/{target}/messages/{msg}/reactions/{emoji}" | `/servers/${string}/ack` | "-/servers/{target}/ack"

    • +
    • +

      Route extends APIRoutes & {
          method: "put";
      } & {
          parts: Count<Path, "/", []>;
          path: Path;
      }

    +
    +

    Parameters

    +
      +
    • +
      path: Path
      +

      Path

      +
    +

    Returns Promise<Route["response"]>

+
+ +
    + +
  • +

    Send any arbitrary request.

    + +

    Returns

    Typed Response Data

    +
    +
    +

    Type Parameters

    +
      +
    • +

      Method extends "get" | "delete" | "post" | "patch" | "put"

    • +
    • +

      Routes extends PickRoutes<Method>

    • +
    • +

      Path extends "/admin/messages" | "/safety/report" | "/auth/account/create" | "/auth/account/reverify" | "/auth/account/delete" | "/auth/account/change/password" | "/auth/account/change/email" | "/auth/account/reset_password" | "/auth/mfa/ticket" | "/auth/mfa/totp" | "/onboard/complete" | "/push/subscribe" | "/sync/settings/fetch" | "/sync/settings/set" | "/" | "/admin/stats" | `/users/${string}` | "-/users/{target}" | `/users/${string}/flags` | "-/users/{target}/flags" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/servers/${string}/emojis` | "-/servers/{target}/emojis" | `/invites/${string}` | "-/invites/{target}" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/safety/report/${string}` | "-/safety/report/{id}" | "/safety/reports" | `/safety/snapshot/${string}` | "-/safety/snapshot/{report_id}" | "/auth/account/" | "/auth/mfa/" | "/auth/mfa/methods" | "/onboard/hello" | "/sync/unreads" | `/users/${string}/friend` | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/ack/${string}` | "-/channels/{target}/ack/{message}" | `/channels/${string}/invites` | "-/channels/{target}/invites" | `/channels/${string}/messages` | "-/channels/{target}/messages" | `/channels/${string}/search` | "-/channels/{target}/search" | `/channels/${string}/messages/stale` | "-/channels/{_target}/messages/stale" | `/channels/${string}/messages/bulk` | "-/channels/{target}/messages/bulk" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/join_call` | "-/channels/{target}/join_call" | `/channels/${string}/permissions/${string}` | "-/channels/{target}/permissions/{role_id}" | `/channels/${string}/permissions/default` | "-/channels/{target}/permissions/default" | `/channels/${string}/messages/${string}/reactions/${string}` | "-/channels/{target}/messages/{msg}/reactions/{emoji}" | `/channels/${string}/messages/${string}/reactions` | "-/channels/{target}/messages/{msg}/reactions" | `/servers/${string}/ack` | "-/servers/{target}/ack" | `/servers/${string}/channels` | "-/servers/{target}/channels" | `/servers/${string}/members` | "-/servers/{target}/members" | "-/servers/{server}/members/{target}" | `/servers/${string}/bans/${string}` | "-/servers/{server}/bans/{target}" | `/servers/${string}/roles` | "-/servers/{target}/roles" | `/servers/${string}/roles/${string}` | "-/servers/{target}/roles/{role_id}" | `/servers/${string}/permissions/${string}` | "-/servers/{target}/permissions/{role_id}" | `/servers/${string}/permissions/default` | "-/servers/{target}/permissions/default" | `/safety/reports/${string}` | "-/safety/reports/{report}" | "/auth/account/disable" | `/auth/account/verify/${string}` | "-/auth/account/verify/{code}" | `/auth/session/${string}` | "-/auth/session/{id}" | "/auth/mfa/recovery" | "/push/unsubscribe"

    • +
    • +

      Route extends Object

    +
    +

    Parameters

    +
      +
    • +
      method: Method
      +

      HTTP Method

      +
    • +
    • +
      path: Path
      +

      Path

      +
    • +
    • +
      params: Route["params"]
      +

      Body or Query Parameters

      +
    • +
    • +
      Optional config: AxiosRequestConfig<any>
      +

      Axios configuration

      +
    +

    Returns Promise<Route["response"]>

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Bot.html b/classes/Bot.html new file mode 100644 index 00000000..5c4a52f6 --- /dev/null +++ b/classes/Bot.html @@ -0,0 +1,779 @@ +Bot | revolt.js
+
+ +
+
+
+
+ +

Class Bot

+
+

Bot Class

+
+
+

Hierarchy

+
    +
  • Bot
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#collection: BotCollection
+
+ +
id: string
+
+

Accessors

+
+ +
    +
  • get analytics(): boolean
  • +
  • +

    Whether this bot has analytics enabled

    +
    +

    Returns boolean

+
+ +
    +
  • get createdAt(): Date
  • +
  • +

    Time when this user created their account

    +
    +

    Returns Date

+
+ +
    +
  • get discoverable(): boolean
  • +
  • +

    Whether this bot shows up on Discover

    +
    +

    Returns boolean

+
+ +
+
+ +
    +
  • get interactionsUrl(): undefined | string
  • +
  • +

    Interactions URL

    +
    +

    Returns undefined | string

+
+ +
+
+ +
+
+ +
    +
  • get privacyPolicyUrl(): undefined | string
  • +
  • +

    Link to privacy policy

    +
    +

    Returns undefined | string

+
+ +
    +
  • get public(): boolean
  • +
  • +

    Whether this bot can be invited by anyone

    +
    +

    Returns boolean

+
+ +
    +
  • get termsOfServiceUrl(): undefined | string
  • +
  • +

    Link to terms of service

    +
    +

    Returns undefined | string

+
+ +
+
+ +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Edit a bot

    +
    +
    +

    Parameters

    +
      +
    • +
      data: {
          analytics?: null | boolean;
          interactions_url?: null | string;
          name?: null | string;
          public?: null | boolean;
          remove?: null | ("Token" | "InteractionsURL")[];
      }
      +

      Changes

      +
      +
        +
      • +
        Optional analytics?: null | boolean
        +
        +

        Description

        Whether analytics should be gathered for this bot

        +

        Must be enabled in order to show up on Revolt Discover.

        +
      • +
      • +
        Optional interactions_url?: null | string
        +
        +

        Description

        Interactions URL

        +
      • +
      • +
        Optional name?: null | string
        +
        +

        Description

        Bot username

        +
      • +
      • +
        Optional public?: null | boolean
        +
        +

        Description

        Whether the bot can be added by anyone

        +
      • +
      • +
        Optional remove?: null | ("Token" | "InteractionsURL")[]
        +
        +

        Description

        Fields to remove from bot object

        +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Convert to string

    + +

    Returns

    String

    +
    +

    Returns string

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/BotCollection.html b/classes/BotCollection.html new file mode 100644 index 00000000..ca49fd8a --- /dev/null +++ b/classes/BotCollection.html @@ -0,0 +1,1089 @@ +BotCollection | revolt.js
+
+ +
+
+
+
+ +

Class BotCollection

+
+

Collection of Bots

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#objects: ReactiveMap<string, Bot> = ...
+
+ +
#storage: ObjectStorage<HydratedBot> = ...
+
+ +
client: Client
+
+ +
getUnderlyingObject: ((id: string) => HydratedBot)
+
+

Type declaration

+
    +
  • +
      +
    • (id: string): HydratedBot
    • +
    • +
      +

      Parameters

      +
        +
      • +
        id: string
      +

      Returns HydratedBot

+
+ +
updateUnderlyingObject: SetStoreFunction<Record<string, HydratedBot>>
+
+

Methods

+
+ +
    + +
  • +

    Create a new instance of an object

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      type: "channel" | "user" | "server" | "bot" | "channelUnread" | "emoji" | "message" | "serverMember"
      +

      Type

      +
    • +
    • +
      instance: Bot
      +

      Instance

      +
    • +
    • +
      context: unknown
      +

      Context

      +
    • +
    • +
      Optional data: unknown
      +

      Data

      +
    +

    Returns void

+
+ +
    + +
  • +

    Create a bot

    + +

    Returns

    The newly-created bot

    +
    +
    +

    Parameters

    +
      +
    • +
      name: string
      +

      Bot name

      +
    +

    Returns Promise<Bot>

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Filter the collection by a given predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: Bot, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: Bot, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Bot
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns Bot[]

+
+ +
    + +
  • +

    Find some value based on a predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: Bot, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: Bot, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Bot
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns undefined | Bot

+
+ +
    + +
  • +

    Execute a provided function over each key, value pair in the map

    + +

    Returns

    Iterable

    +
    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: Bot, key: string, map: ReactiveMap<string, Bot>) => void)
      +

      Callback for each pair

      +
      +
        +
      • +
          +
        • (value: Bot, key: string, map: ReactiveMap<string, Bot>): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Bot
          • +
          • +
            key: string
          • +
          • +
            map: ReactiveMap<string, Bot>
          +

          Returns void

    +

    Returns void

+
+ +
+
+ +
    + +
  • +

    Get or create

    + +

    Returns

    Bot

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      data: {
          _id: string;
          analytics?: boolean;
          discoverable?: boolean;
          flags?: null | number;
          interactions_url?: null | string;
          owner: string;
          privacy_policy_url?: null | string;
          public: boolean;
          terms_of_service_url?: null | string;
          token: string;
      }
      +

      Data

      +
      +
        +
      • +
        _id: string
        +
        +

        Description

        Bot Id

        +

        This equals the associated bot user's id.

        +
      • +
      • +
        Optional analytics?: boolean
        +
        +

        Description

        Whether to enable analytics

        +
      • +
      • +
        Optional discoverable?: boolean
        +
        +

        Description

        Whether this bot should be publicly discoverable

        +
      • +
      • +
        Optional flags?: null | number
        +

        Format: int32

        + +

        Description

        Enum of bot flags

        +
      • +
      • +
        Optional interactions_url?: null | string
        +
        +

        Description

        Reserved; URL for handling interactions

        +
      • +
      • +
        owner: string
        +
        +

        Description

        User Id of the bot owner

        +
      • +
      • +
        Optional privacy_policy_url?: null | string
        +
        +

        Description

        URL for privacy policy

        +
      • +
      • +
        public: boolean
        +
        +

        Description

        Whether the bot is public (may be invited by anyone)

        +
      • +
      • +
        Optional terms_of_service_url?: null | string
        +
        +

        Description

        URL for terms of service

        +
      • +
      • +
        token: string
        +
        +

        Description

        Token used to authenticate requests for this bot

        +
    +

    Returns Bot

+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Map the collection using a given callback

    +
    +
    +

    Type Parameters

    +
      +
    • +

      O

    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: Bot, key: string) => O)
      +

      Callback

      +
      +
        +
      • +
          +
        • (value: Bot, key: string): O
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Bot
          • +
          • +
            key: string
          +

          Returns O

    +

    Returns O[]

+
+ +
+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Channel.html b/classes/Channel.html new file mode 100644 index 00000000..5db71899 --- /dev/null +++ b/classes/Channel.html @@ -0,0 +1,1420 @@ +Channel | revolt.js
+
+ +
+
+
+
+ +

Class Channel

+
+

Channel Class

+
+
+

Hierarchy

+
    +
  • Channel
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#ackLimit?: number
+
+ +
#ackTimeout?: number
+
+ +
#collection: ChannelCollection
+
+ +
id: string
+
+

Accessors

+
+ +
+
+ +
    +
  • get animatedIconURL(): undefined | string
  • +
  • +

    URL to the animated channel icon

    +
    +

    Returns undefined | string

+
+ +
+
+ +
    +
  • get defaultPermissions(): undefined | {
        a: number;
        d: number;
    }
  • +
  • +

    Default permissions for this server channel

    +
    +

    Returns undefined | {
        a: number;
        d: number;
    }

+
+ +
    +
  • get description(): undefined | string
  • +
  • +

    Channel description

    +
    +

    Returns undefined | string

+
+ +
    +
  • get displayName(): undefined | string
  • +
  • +

    Display name

    +
    +

    Returns undefined | string

+
+ +
+
+ +
    +
  • get iconURL(): undefined | string
  • +
  • +

    URL to the channel icon

    +
    +

    Returns undefined | string

+
+ +
+
+ +
    +
  • get lastMessageAt(): undefined | Date
  • +
  • +

    Time when the last message was sent

    +
    +

    Returns undefined | Date

+
+ +
    +
  • get lastMessageId(): undefined | string
  • +
  • +

    ID of the last message sent in this channel

    +
    +

    Returns undefined | string

+
+ +
+
+ +
    +
  • get mentions(): undefined | ReactiveSet<string>
  • +
  • +

    Get mentions in this channel for user.

    +
    +

    Returns undefined | ReactiveSet<string>

+
+ +
+
+ +
+
+ +
+
+ +
    +
  • get path(): string
  • +
  • +

    Absolute pathname to this channel in the client

    +
    +

    Returns string

+
+ +
    +
  • get permission(): number
  • +
  • +

    Permission the currently authenticated user has against this channel

    +
    +

    Returns number

+
+ +
    +
  • get permissions(): undefined | number
  • +
  • +

    Permissions allowed for users in this group

    +
    +

    Returns undefined | number

+
+ +
+
+ +
    +
  • get recipientIds(): ReactiveSet<string>
  • +
  • +

    User ids of recipients of the group

    +
    +

    Returns ReactiveSet<string>

+
+ +
+
+ +
    +
  • get rolePermissions(): undefined | Record<string, {
        a: number;
        d: number;
    }>
  • +
  • +

    Role permissions for this server channel

    +
    +

    Returns undefined | Record<string, {
        a: number;
        d: number;
    }>

+
+ +
+
+ +
+
+ +
    +
  • get smallIconURL(): undefined | string
  • +
  • +

    URL to a small variant of the channel icon

    +
    +

    Returns undefined | string

+
+ +
    +
  • get type(): "SavedMessages" | "DirectMessage" | "Group" | "TextChannel" | "VoiceChannel"
  • +
  • +

    Channel type

    +
    +

    Returns "SavedMessages" | "DirectMessage" | "Group" | "TextChannel" | "VoiceChannel"

+
+ +
+
+ +
    +
  • get typingIds(): ReactiveSet<string>
  • +
  • +

    User ids of people currently typing in channel

    +
    +

    Returns ReactiveSet<string>

+
+ +
+
+ +
    +
  • get updatedAt(): Date
  • +
  • +

    Time when the channel was last updated (either created or a message was sent)

    +
    +

    Returns Date

+
+ +
+
+ +
+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Mark a channel as read

    + +

    Requires

    SavedMessages, DirectMessage, Group, TextChannel

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional message: string | Message
      +

      Last read message or its ID

      +
    • +
    • +
      Optional skipRateLimiter: boolean
      +

      Whether to skip the internal rate limiter

      +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Add a user to a group

    + +

    Requires

    Group

    +
    +
    +

    Parameters

    +
      +
    • +
      user_id: string
      +

      ID of the target user

      +
    +

    Returns Promise<undefined>

+
+ +
    + +
  • +

    Create an invite to the channel

    + +

    Requires

    TextChannel, VoiceChannel

    + +

    Returns

    Newly created invite code

    +
    +

    Returns Promise<{
        _id: string;
        channel: string;
        creator: string;
        server: string;
        type: "Server";
    } | {
        _id: string;
        channel: string;
        creator: string;
        type: "Group";
    }>

+
+ +
    + +
  • +

    Delete or leave a channel

    + +

    Requires

    DirectMessage, Group, TextChannel, VoiceChannel

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional leaveSilently: boolean
      +

      Whether to not send a message on leave

      +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Delete many messages by their IDs

    + +

    Requires

    SavedMessages, DirectMessage, Group, TextChannel

    +
    +
    +

    Parameters

    +
      +
    • +
      ids: string[]
      +

      List of message IDs

      +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Edit a channel

    +
    +
    +

    Parameters

    +
      +
    • +
      data: {
          archived?: null | boolean;
          description?: null | string;
          icon?: null | string;
          name?: null | string;
          nsfw?: null | boolean;
          owner?: null | string;
          remove?: null | ("Description" | "Icon" | "DefaultPermissions")[];
      }
      +

      Changes

      +
      +
        +
      • +
        Optional archived?: null | boolean
        +
        +

        Description

        Whether this channel is archived

        +
      • +
      • +
        Optional description?: null | string
        +
        +

        Description

        Channel description

        +
      • +
      • +
        Optional icon?: null | string
        +
        +

        Description

        Icon

        +

        Provide an Autumn attachment Id.

        +
      • +
      • +
        Optional name?: null | string
        +
        +

        Description

        Channel name

        +
      • +
      • +
        Optional nsfw?: null | boolean
        +
        +

        Description

        Whether this channel is age-restricted

        +
      • +
      • +
        Optional owner?: null | string
        +
        +

        Description

        Group owner

        +
      • +
      • +
        Optional remove?: null | ("Description" | "Icon" | "DefaultPermissions")[]
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Fetch a channel's members.

    + +

    Requires

    Group

    + +

    Returns

    An array of the channel's members.

    +
    +

    Returns Promise<User[]>

+
+ +
    + +
  • +

    Fetch a message by its ID

    + +

    Requires

    SavedMessages, DirectMessage, Group, TextChannel

    + +

    Returns

    Message

    +
    +
    +

    Parameters

    +
      +
    • +
      messageId: string
      +

      ID of the target message

      +
    +

    Returns Promise<Message>

+
+ +
    + +
  • +

    Fetch multiple messages from a channel

    + +

    Requires

    SavedMessages, DirectMessage, Group, TextChannel

    + +

    Returns

    Messages

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional params: Omit<undefined | {
          after?: null | string;
          before?: null | string;
          include_users?: null | boolean;
          limit?: null | number;
          nearby?: null | string;
          sort?: null | "Relevance" | "Latest" | "Oldest";
      }, "include_users">
      +

      Message fetching route data

      +
    +

    Returns Promise<Message[]>

+
+ +
    + +
  • +

    Fetch multiple messages from a channel including the users that sent them

    + +

    Requires

    SavedMessages, DirectMessage, Group, TextChannel

    + +

    Returns

    Object including messages and users

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional params: Omit<undefined | {
          after?: null | string;
          before?: null | string;
          include_users?: null | boolean;
          limit?: null | number;
          nearby?: null | string;
          sort?: null | "Relevance" | "Latest" | "Oldest";
      }, "include_users">
      +

      Message fetching route data

      +
    +

    Returns Promise<{
        members: undefined | ServerMember[];
        messages: Message[];
        users: User[];
    }>

+
+ +
    + +
  • +

    Check whether we have a given permission in a channel

    + +

    Returns

    Whether we have this permission

    +
    +
    +

    Parameters

    +
      +
    • +
      Rest ...permission: ("Masquerade" | "Video" | "ManageChannel" | "ManageServer" | "ManagePermissions" | "ManageRole" | "ManageCustomisation" | "KickMembers" | "BanMembers" | "TimeoutMembers" | "AssignRoles" | "ChangeNickname" | "ManageNicknames" | "ChangeAvatar" | "RemoveAvatars" | "ViewChannel" | "ReadMessageHistory" | "SendMessage" | "ManageMessages" | "ManageWebhooks" | "InviteOthers" | "SendEmbeds" | "UploadFiles" | "React" | "Connect" | "Speak" | "MuteMembers" | "DeafenMembers" | "MoveMembers" | "GrantAllSafe")[]
      +

      Permission Names

      +
    +

    Returns boolean

+
+ +
    + +
  • +

    Remove a user from a group

    + +

    Requires

    Group

    +
    +
    +

    Parameters

    +
      +
    • +
      user_id: string
      +

      ID of the target user

      +
    +

    Returns Promise<undefined>

+
+ +
    + +
  • +

    Search for messages

    + +

    Requires

    SavedMessages, DirectMessage, Group, TextChannel

    + +

    Returns

    Messages

    +
    +
    +

    Parameters

    +
      +
    • +
      params: Omit<{
          after?: null | string;
          before?: null | string;
          include_users?: null | boolean;
          limit?: null | number;
          query: string;
          sort?: "Relevance" | "Latest" | "Oldest";
      }, "include_users">
      +

      Message searching route data

      +
    +

    Returns Promise<Message[]>

+
+ +
    + +
  • +

    Search for messages including the users that sent them

    + +

    Requires

    SavedMessages, DirectMessage, Group, TextChannel

    + +

    Returns

    Object including messages and users

    +
    +
    +

    Parameters

    +
      +
    • +
      params: Omit<{
          after?: null | string;
          before?: null | string;
          include_users?: null | boolean;
          limit?: null | number;
          query: string;
          sort?: "Relevance" | "Latest" | "Oldest";
      }, "include_users">
      +

      Message searching route data

      +
    +

    Returns Promise<{
        members: undefined | ServerMember[];
        messages: Message[];
        users: User[];
    }>

+
+ +
    + +
  • +

    Send a message

    + +

    Requires

    SavedMessages, DirectMessage, Group, TextChannel

    + +

    Returns

    Sent message

    +
    +
    +

    Parameters

    +
      +
    • +
      data: string | {
          attachments?: null | string[];
          content?: null | string;
          embeds?: null | {
              colour?: null | string;
              description?: null | string;
              icon_url?: null | string;
              media?: null | string;
              title?: null | string;
              url?: null | string;
          }[];
          interactions?: null | {
              reactions?: null | string[];
              restrict_reactions?: boolean;
          };
          masquerade?: null | {
              avatar?: null | string;
              colour?: null | string;
              name?: null | string;
          };
          nonce?: null | string;
          replies?: null | {
              id: string;
              mention: boolean;
          }[];
      }
      +

      Either the message as a string or message sending route data

      +
    • +
    • +
      idempotencyKey: string = ...
    +

    Returns Promise<Message>

+
+ +
    + +
  • +

    Set role permissions

    + +

    Requires

    Group, TextChannel, VoiceChannel

    +
    +
    +

    Parameters

    +
      +
    • +
      role_id: string = "default"
      +

      Role Id, set to 'default' to affect all users

      +
    • +
    • +
      permissions: {
          allow: number;
          deny: number;
      }
      +

      Permission value

      +
      +
        +
      • +
        allow: number
        +

        Format: uint64

        + +

        Description

        Allow bit flags

        +
      • +
      • +
        deny: number
        +

        Format: uint64

        + +

        Description

        Disallow bit flags

        +
    +

    Returns Promise<{
        _id: string;
        analytics?: boolean;
        banner?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        };
        categories?: null | {
            channels: string[];
            id: string;
            title: string;
        }[];
        channels: string[];
        default_permissions: number;
        description?: null | string;
        discoverable?: boolean;
        flags?: null | number;
        icon?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        };
        name: string;
        nsfw?: boolean;
        owner: string;
        roles?: {
            [key: string]: components["schemas"]["Role"];
        };
        system_messages?: null | {
            user_banned?: null | string;
            user_joined?: null | string;
            user_kicked?: null | string;
            user_left?: null | string;
        };
    }>

+
+ +
    + +
  • +

    Start typing in this channel

    + +

    Requires

    DirectMessage, Group, TextChannel

    +
    +

    Returns void

+
+ +
    + +
  • +

    Stop typing in this channel

    + +

    Requires

    DirectMessage, Group, TextChannel

    +
    +

    Returns void

+
+ +
    + +
  • +

    Write to string as a channel mention

    + +

    Returns

    Formatted String

    +
    +

    Returns string

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ChannelCollection.html b/classes/ChannelCollection.html new file mode 100644 index 00000000..24c082bd --- /dev/null +++ b/classes/ChannelCollection.html @@ -0,0 +1,1026 @@ +ChannelCollection | revolt.js
+
+ +
+
+
+
+ +

Class ChannelCollection

+
+

Collection of Channels

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#objects: ReactiveMap<string, Channel> = ...
+
+ +
#storage: ObjectStorage<HydratedChannel> = ...
+
+ +
client: Client
+
+ +
getUnderlyingObject: ((id: string) => HydratedChannel)
+
+

Type declaration

+
    +
  • +
      +
    • (id: string): HydratedChannel
    • +
    • +
      +

      Parameters

      +
        +
      • +
        id: string
      +

      Returns HydratedChannel

+
+ +
updateUnderlyingObject: SetStoreFunction<Record<string, HydratedChannel>>
+
+

Methods

+
+ +
    + +
  • +

    Create a new instance of an object

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      type: "channel" | "user" | "server" | "bot" | "channelUnread" | "emoji" | "message" | "serverMember"
      +

      Type

      +
    • +
    • +
      instance: Channel
      +

      Instance

      +
    • +
    • +
      context: unknown
      +

      Context

      +
    • +
    • +
      Optional data: unknown
      +

      Data

      +
    +

    Returns void

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Execute a provided function over each key, value pair in the map

    + +

    Returns

    Iterable

    +
    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: Channel, key: string, map: ReactiveMap<string, Channel>) => void)
      +

      Callback for each pair

      +
      +
        +
      • +
          +
        • (value: Channel, key: string, map: ReactiveMap<string, Channel>): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Channel
          • +
          • +
            key: string
          • +
          • +
            map: ReactiveMap<string, Channel>
          +

          Returns void

    +

    Returns void

+
+ +
+
+ +
    + +
  • +

    Get or create

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      data: {
          _id: string;
          channel_type: "SavedMessages";
          user: string;
      } | {
          _id: string;
          active: boolean;
          channel_type: "DirectMessage";
          last_message_id?: null | string;
          recipients: string[];
      } | {
          _id: string;
          channel_type: "Group";
          description?: null | string;
          icon?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          last_message_id?: null | string;
          name: string;
          nsfw?: boolean;
          owner: string;
          permissions?: null | number;
          recipients: string[];
      } | {
          _id: string;
          channel_type: "TextChannel";
          default_permissions?: null | {
              a: number;
              d: number;
          };
          description?: null | string;
          icon?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          last_message_id?: null | string;
          name: string;
          nsfw?: boolean;
          role_permissions?: {
              [key: string]: components["schemas"]["OverrideField"];
          };
          server: string;
      } | {
          _id: string;
          channel_type: "VoiceChannel";
          default_permissions?: null | {
              a: number;
              d: number;
          };
          description?: null | string;
          icon?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          name: string;
          nsfw?: boolean;
          role_permissions?: {
              [key: string]: components["schemas"]["OverrideField"];
          };
          server: string;
      }
      +

      Data

      +
    • +
    • +
      isNew: boolean = false
      +

      Whether this object is new

      +
    +

    Returns Channel

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Map the collection using a given callback

    +
    +
    +

    Type Parameters

    +
      +
    • +

      O

    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: Channel, key: string) => O)
      +

      Callback

      +
      +
        +
      • +
          +
        • (value: Channel, key: string): O
        • +
        • +
          +

          Parameters

          +
          +

          Returns O

    +

    Returns O[]

+
+ +
+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ChannelEditSystemMessage.html b/classes/ChannelEditSystemMessage.html new file mode 100644 index 00000000..25f395e9 --- /dev/null +++ b/classes/ChannelEditSystemMessage.html @@ -0,0 +1,613 @@ +ChannelEditSystemMessage | revolt.js
+
+ +
+
+
+
+ +

Class ChannelEditSystemMessage

+
+

Channel Edit System Message

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
by +
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +

    Construct System Message

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      systemMessage: ({
          content: string;
          type: "text";
      } | {
          by: string;
          id: string;
          type: "user_added";
      } | {
          by: string;
          id: string;
          type: "user_remove";
      } | {
          id: string;
          type: "user_joined";
      } | {
          id: string;
          type: "user_left";
      } | {
          id: string;
          type: "user_kicked";
      } | {
          id: string;
          type: "user_banned";
      } | {
          by: string;
          name: string;
          type: "channel_renamed";
      } | {
          by: string;
          type: "channel_description_changed";
      } | {
          by: string;
          type: "channel_icon_changed";
      } | {
          from: string;
          to: string;
          type: "channel_ownership_changed";
      }) & {
          type: "channel_renamed" | "channel_description_changed" | "channel_icon_changed";
      }
      +

      System Message

      +
    +

    Returns ChannelEditSystemMessage

+
+

Properties

+
+ +
byId: string
+
+ +
client?: Client
+
+ +
type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"
+
+

Accessors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Create an System Message from an API System Message

    + +

    Returns

    System Message

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      message: {
          content: string;
          type: "text";
      } | {
          by: string;
          id: string;
          type: "user_added";
      } | {
          by: string;
          id: string;
          type: "user_remove";
      } | {
          id: string;
          type: "user_joined";
      } | {
          id: string;
          type: "user_left";
      } | {
          id: string;
          type: "user_kicked";
      } | {
          id: string;
          type: "user_banned";
      } | {
          by: string;
          name: string;
          type: "channel_renamed";
      } | {
          by: string;
          type: "channel_description_changed";
      } | {
          by: string;
          type: "channel_icon_changed";
      } | {
          from: string;
          to: string;
          type: "channel_ownership_changed";
      }
    +

    Returns SystemMessage

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ChannelInvite.html b/classes/ChannelInvite.html new file mode 100644 index 00000000..1f6547d2 --- /dev/null +++ b/classes/ChannelInvite.html @@ -0,0 +1,586 @@ +ChannelInvite | revolt.js
+
+ +
+
+
+
+ +

Class ChannelInviteAbstract

+
+

Channel Invite

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
type: "Server" | "None" | "Group"
+
+

Methods

+
+ +
    + +
  • +

    Create an Invite from an API Invite

    + +

    Returns

    Invite

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      invite: {
          _id: string;
          channel: string;
          creator: string;
          server: string;
          type: "Server";
      } | {
          _id: string;
          channel: string;
          creator: string;
          type: "Group";
      }
      +

      Data

      +
    +

    Returns ChannelInvite

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ChannelOwnershipChangeSystemMessage.html b/classes/ChannelOwnershipChangeSystemMessage.html new file mode 100644 index 00000000..461549ab --- /dev/null +++ b/classes/ChannelOwnershipChangeSystemMessage.html @@ -0,0 +1,630 @@ +ChannelOwnershipChangeSystemMessage | revolt.js
+
+ +
+
+
+
+ +

Class ChannelOwnershipChangeSystemMessage

+
+

Channel Ownership Change System Message

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
from +to +
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
fromId: string
+
+ +
toId: string
+
+ +
type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"
+
+

Accessors

+
+ +
+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Create an System Message from an API System Message

    + +

    Returns

    System Message

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      message: {
          content: string;
          type: "text";
      } | {
          by: string;
          id: string;
          type: "user_added";
      } | {
          by: string;
          id: string;
          type: "user_remove";
      } | {
          id: string;
          type: "user_joined";
      } | {
          id: string;
          type: "user_left";
      } | {
          id: string;
          type: "user_kicked";
      } | {
          id: string;
          type: "user_banned";
      } | {
          by: string;
          name: string;
          type: "channel_renamed";
      } | {
          by: string;
          type: "channel_description_changed";
      } | {
          by: string;
          type: "channel_icon_changed";
      } | {
          from: string;
          to: string;
          type: "channel_ownership_changed";
      }
    +

    Returns SystemMessage

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ChannelRenamedSystemMessage.html b/classes/ChannelRenamedSystemMessage.html new file mode 100644 index 00000000..7d441978 --- /dev/null +++ b/classes/ChannelRenamedSystemMessage.html @@ -0,0 +1,620 @@ +ChannelRenamedSystemMessage | revolt.js
+
+ +
+
+
+
+ +

Class ChannelRenamedSystemMessage

+
+

Channel Renamed System Message

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
by +
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
byId: string
+
+ +
client?: Client
+
+ +
name: string
+
+ +
type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"
+
+

Accessors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Create an System Message from an API System Message

    + +

    Returns

    System Message

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      message: {
          content: string;
          type: "text";
      } | {
          by: string;
          id: string;
          type: "user_added";
      } | {
          by: string;
          id: string;
          type: "user_remove";
      } | {
          id: string;
          type: "user_joined";
      } | {
          id: string;
          type: "user_left";
      } | {
          id: string;
          type: "user_kicked";
      } | {
          id: string;
          type: "user_banned";
      } | {
          by: string;
          name: string;
          type: "channel_renamed";
      } | {
          by: string;
          type: "channel_description_changed";
      } | {
          by: string;
          type: "channel_icon_changed";
      } | {
          from: string;
          to: string;
          type: "channel_ownership_changed";
      }
    +

    Returns SystemMessage

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ChannelUnread.html b/classes/ChannelUnread.html new file mode 100644 index 00000000..43c61f1a --- /dev/null +++ b/classes/ChannelUnread.html @@ -0,0 +1,582 @@ +ChannelUnread | revolt.js
+
+ +
+
+
+
+ +

Class ChannelUnread

+
+

Channel Unread Class

+
+
+

Hierarchy

+
    +
  • ChannelUnread
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
+
+ +
id: string
+
+

Accessors

+
+ +
+
+ +
    +
  • get messageMentionIds(): ReactiveSet<string>
  • +
  • +

    List of message IDs that we were mentioned in

    +
    +

    Returns ReactiveSet<string>

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ChannelUnreadCollection.html b/classes/ChannelUnreadCollection.html new file mode 100644 index 00000000..a2dfd87f --- /dev/null +++ b/classes/ChannelUnreadCollection.html @@ -0,0 +1,1008 @@ +ChannelUnreadCollection | revolt.js
+
+ +
+
+
+
+ +

Class ChannelUnreadCollection

+
+

Collection of Channel Unreads

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#objects: ReactiveMap<string, ChannelUnread> = ...
+
+ +
#storage: ObjectStorage<HydratedChannelUnread> = ...
+
+ +
client: Client
+
+ +
getUnderlyingObject: ((id: string) => HydratedChannelUnread)
+
+

Type declaration

+
    +
  • +
      +
    • (id: string): HydratedChannelUnread
    • +
    • +
      +

      Parameters

      +
        +
      • +
        id: string
      +

      Returns HydratedChannelUnread

+
+ +
updateUnderlyingObject: SetStoreFunction<Record<string, HydratedChannelUnread>>
+
+

Methods

+
+ +
    + +
  • +

    Create a new instance of an object

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      type: "channel" | "user" | "server" | "bot" | "channelUnread" | "emoji" | "message" | "serverMember"
      +

      Type

      +
    • +
    • +
      instance: ChannelUnread
      +

      Instance

      +
    • +
    • +
      context: unknown
      +

      Context

      +
    • +
    • +
      Optional data: unknown
      +

      Data

      +
    +

    Returns void

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Get or create

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      data: {
          _id: {
              channel: string;
              user: string;
          };
          last_id?: null | string;
          mentions?: null | string[];
      }
      +

      Data

      +
      +
        +
      • +
        _id: {
            channel: string;
            user: string;
        }
        +
        +

        Description

        Composite key pointing to a user's view of a channel

        +
        +
          +
        • +
          channel: string
          +
          +

          Description

          Channel Id

          +
        • +
        • +
          user: string
          +
          +

          Description

          User Id

          +
      • +
      • +
        Optional last_id?: null | string
        +
        +

        Description

        Id of the last message read in this channel by a user

        +
      • +
      • +
        Optional mentions?: null | string[]
        +
        +

        Description

        Array of message ids that mention the user

        +
    +

    Returns ChannelUnread

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ClassCollection.html b/classes/ClassCollection.html new file mode 100644 index 00000000..9d71bca5 --- /dev/null +++ b/classes/ClassCollection.html @@ -0,0 +1,956 @@ +ClassCollection | revolt.js
+
+ +
+
+
+
+ +

Class ClassCollection<T, V>

+
+

Generic class collection backed by store

+
+
+

Type Parameters

+
    +
  • +

    T

  • +
  • +

    V

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#objects: ReactiveMap<string, T> = ...
+
+ +
#storage: ObjectStorage<V> = ...
+
+ +
client: Client
+
+ +
getUnderlyingObject: ((id: string) => V)
+
+

Type declaration

+
    +
  • +
      +
    • (id: string): V
    • +
    • +
      +

      Parameters

      +
        +
      • +
        id: string
      +

      Returns V

+
+ +
updateUnderlyingObject: SetStoreFunction<Record<string, V>>
+
+

Methods

+
+ +
    + +
  • +

    Create a new instance of an object

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      type: "channel" | "user" | "server" | "bot" | "channelUnread" | "emoji" | "message" | "serverMember"
      +

      Type

      +
    • +
    • +
      instance: T
      +

      Instance

      +
    • +
    • +
      context: unknown
      +

      Context

      +
    • +
    • +
      Optional data: unknown
      +

      Data

      +
    +

    Returns void

+
+ +
+
+ +
+
+ +
    + +
  • +

    Filter the collection by a given predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: T, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: T, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns T[]

+
+ +
    + +
  • +

    Find some value based on a predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: T, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: T, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns undefined | T

+
+ +
    + +
  • +

    Execute a provided function over each key, value pair in the map

    + +

    Returns

    Iterable

    +
    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: T, key: string, map: ReactiveMap<string, T>) => void)
      +

      Callback for each pair

      +
      +
        +
      • +
          +
        • (value: T, key: string, map: ReactiveMap<string, T>): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          • +
          • +
            map: ReactiveMap<string, T>
          +

          Returns void

    +

    Returns void

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Map the collection using a given callback

    +
    +
    +

    Type Parameters

    +
      +
    • +

      O

    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: T, key: string) => O)
      +

      Callback

      +
      +
        +
      • +
          +
        • (value: T, key: string): O
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          +

          Returns O

    +

    Returns O[]

+
+ +
+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Client.Client-1.html b/classes/Client.Client-1.html deleted file mode 100644 index efaa08e4..00000000 --- a/classes/Client.Client-1.html +++ /dev/null @@ -1,2964 +0,0 @@ - - - - - - Client | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class Client

-
-
-
-
-
-
-
-

Hierarchy

-
    -
  • - EventEmitter -
      -
    • - Client -
    • -
    -
  • -
-
-
-

Index

-
- -
-
-
-

Constructors

-
- -

constructor

- - -
-
-
-

Properties

-
- -

api

-
api: API
- -
-
- -

bots

-
bots: default
- -
-
- -

channels

-
channels: default
- -
-
- -

Optional configuration

-
configuration: { app: string; build: { commit_sha: string; commit_timestamp: string; origin_url: string; semver: string; timestamp: string }; features: { autumn: { enabled: boolean; url: string }; captcha: { enabled: boolean; key: string }; email: boolean; invite_only: boolean; january: { enabled: boolean; url: string }; voso: { enabled: boolean; url: string; ws: string } }; revolt: string; vapid: string; ws: string }
- -
-

Type declaration

-
    -
  • -
    app: string
    -
    -
    -
    description
    -

    URL pointing to the client serving this node

    -
    -
    -
    -
  • -
  • -
    build: { commit_sha: string; commit_timestamp: string; origin_url: string; semver: string; timestamp: string }
    -
    -
    -
    description
    -

    Build information

    -
    -
    -
    -
      -
    • -
      commit_sha: string
      -
      -
      -
      description
      -

      Commit Hash

      -
      -
      -
      -
    • -
    • -
      commit_timestamp: string
      -
      -
      -
      description
      -

      Commit Timestamp

      -
      -
      -
      -
    • -
    • -
      origin_url: string
      -
      -
      -
      description
      -

      Git Origin URL

      -
      -
      -
      -
    • -
    • -
      semver: string
      -
      -
      -
      description
      -

      Git Semver

      -
      -
      -
      -
    • -
    • -
      timestamp: string
      -
      -
      -
      description
      -

      Build Timestamp

      -
      -
      -
      -
    • -
    -
  • -
  • -
    features: { autumn: { enabled: boolean; url: string }; captcha: { enabled: boolean; key: string }; email: boolean; invite_only: boolean; january: { enabled: boolean; url: string }; voso: { enabled: boolean; url: string; ws: string } }
    -
    -
    -
    description
    -

    Features enabled on this Revolt node

    -
    -
    -
    -
      -
    • -
      autumn: { enabled: boolean; url: string }
      -
      -
      -
      description
      -

      File server service configuration

      -
      -
      -
      -
        -
      • -
        enabled: boolean
        -
        -
        -
        description
        -

        Whether the service is enabled

        -
        -
        -
        -
      • -
      • -
        url: string
        -
        -
        -
        description
        -

        URL pointing to the service

        -
        -
        -
        -
      • -
      -
    • -
    • -
      captcha: { enabled: boolean; key: string }
      -
      -
      -
      description
      -

      hCaptcha configuration

      -
      -
      -
      -
        -
      • -
        enabled: boolean
        -
        -
        -
        description
        -

        Whether captcha is enabled

        -
        -
        -
        -
      • -
      • -
        key: string
        -
        -
        -
        description
        -

        Client key used for solving captcha

        -
        -
        -
        -
      • -
      -
    • -
    • -
      email: boolean
      -
      -
      -
      description
      -

      Whether email verification is enabled

      -
      -
      -
      -
    • -
    • -
      invite_only: boolean
      -
      -
      -
      description
      -

      Whether this server is invite only

      -
      -
      -
      -
    • -
    • -
      january: { enabled: boolean; url: string }
      -
      -
      -
      description
      -

      Proxy service configuration

      -
      -
      -
      -
        -
      • -
        enabled: boolean
        -
        -
        -
        description
        -

        Whether the service is enabled

        -
        -
        -
        -
      • -
      • -
        url: string
        -
        -
        -
        description
        -

        URL pointing to the service

        -
        -
        -
        -
      • -
      -
    • -
    • -
      voso: { enabled: boolean; url: string; ws: string }
      -
      -
      -
      description
      -

      Voice server configuration

      -
      -
      -
      -
        -
      • -
        enabled: boolean
        -
        -
        -
        description
        -

        Whether voice is enabled

        -
        -
        -
        -
      • -
      • -
        url: string
        -
        -
        -
        description
        -

        URL pointing to the voice API

        -
        -
        -
        -
      • -
      • -
        ws: string
        -
        -
        -
        description
        -

        URL pointing to the voice WebSocket server

        -
        -
        -
        -
      • -
      -
    • -
    -
  • -
  • -
    revolt: string
    -
    -
    -
    description
    -

    Revolt API Version

    -
    -
    -
    -
  • -
  • -
    vapid: string
    -
    -
    -
    description
    -

    Web Push VAPID public key

    -
    -
    -
    -
  • -
  • -
    ws: string
    -
    -
    -
    description
    -

    WebSocket URL

    -
    -
    -
    -
  • -
-
-
-
- -

emojis

-
emojis: default
- -
-
- -

heartbeat

-
heartbeat: number
- -
-
- -

members

-
members: default
- -
-
- -

messages

-
messages: default
- -
-
- -

options

-
options: ClientOptions
- -
-
- -

servers

-
servers: default
- -
-
- -

Optional session

-
session: string | Session
- -
-
- -

Optional unreads

-
unreads: default
- -
-
- -

user

-
user: Nullable<User> = null
- -
-
- -

users

-
users: default
- -
-
- -

websocket

-
websocket: WebSocketClient
- -
-
- -

Static prefixed

-
prefixed: string | boolean
- -
-
-
-

Accessors

-
- -

apiURL

-
    -
  • get apiURL(): string
  • -
-
    -
  • - -
    -
    -

    Get the current API base URL.

    -
    -
    -

    Returns string

    -
  • -
-
-
- -

autoReconnect

-
    -
  • get autoReconnect(): boolean
  • -
-
    -
  • - -
    -
    -

    Whether revolt.js should auto-reconnect

    -
    -
    -

    Returns boolean

    -
  • -
-
-
- -

debug

-
    -
  • get debug(): boolean
  • -
-
    -
  • - -
    -
    -

    Whether debug mode is turned on.

    -
    -
    -

    Returns boolean

    -
  • -
-
-
-
-

Methods

-
- -

Private $connect

-
    -
  • $connect(): Promise<undefined | ((username: string, loginAfterSuccess?: boolean) => Promise<void>)>
  • -
-
    -
  • - -
    -
    -

    Check onboarding status and connect to notifications service.

    -
    -
    -

    Returns Promise<undefined | ((username: string, loginAfterSuccess?: boolean) => Promise<void>)>

    -
  • -
-
-
- -

Private $updateHeaders

-
    -
  • $updateHeaders(): void
  • -
-
    -
  • - -
    -
    -

    Update API object to use authentication.

    -
    -
    -

    Returns void

    -
  • -
-
-
- -

addListener

-
    -
  • addListener<T>(event: T, fn: (...args: any[]) => void, context?: any): Client
  • -
-
    -
  • - -

    Type parameters

    -
      -
    • -

      T: string | symbol

      -
    • -
    -

    Parameters

    -
      -
    • -
      event: T
      -
    • -
    • -
      fn: (...args: any[]) => void
      -
        -
      • -
          -
        • (...args: any[]): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            Rest ...args: any[]
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional context: any
      -
    • -
    -

    Returns Client

    -
  • -
-
-
- -

completeOnboarding

-
    -
  • completeOnboarding(data: { username: string }, loginAfterSuccess?: boolean): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Finish onboarding for a user, for example by providing a username.

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { username: string }
      -
      -

      Onboarding data object

      -
      -
        -
      • -
        username: string
        -
        -
        -
        description
        -

        New username which will be used to identify the user on the platform

        -
        -
        -
        -
      • -
      -
    • -
    • -
      Optional loginAfterSuccess: boolean
      -
      -

      Defines whether to automatically log in and connect after onboarding finishes

      -
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

connect

-
    -
  • connect(): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Fetches the configuration of the server.

    -
    -
    -
    remarks
    -

    Unlike fetchConfiguration, this function also fetches the - configuration if it has already been fetched before.

    -
    -
    -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

deleteInvite

-
    -
  • deleteInvite(code: string): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Delete an invite.

    -
    -
    -

    Parameters

    -
      -
    • -
      code: string
      -
      -

      The invite code.

      -
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

emit

-
    -
  • emit<T>(event: T, ...args: any[]): boolean
  • -
-
    -
  • - -
    -
    -

    Calls each of the listeners registered for a given event.

    -
    -
    -

    Type parameters

    -
      -
    • -

      T: string | symbol

      -
    • -
    -

    Parameters

    -
      -
    • -
      event: T
      -
    • -
    • -
      Rest ...args: any[]
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

eventNames

-
    -
  • eventNames(): (string | symbol)[]
  • -
-
    -
  • - -
    -
    -

    Return an array listing the events for which the emitter has registered - listeners.

    -
    -
    -

    Returns (string | symbol)[]

    -
  • -
-
-
- -

fetchConfiguration

-
    -
  • fetchConfiguration(): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Fetches the configuration of the server if it has not been already fetched.

    -
    -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

fetchInvite

-
    -
  • fetchInvite(code: string): Promise<{ channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_flags?: null | number; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string }>
  • -
-
    -
  • - -
    -
    -

    Fetch information about a given invite code.

    -
    -
    -

    Parameters

    -
      -
    • -
      code: string
      -
      -

      The invite code.

      -
      -
    • -
    -

    Returns Promise<{ channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_flags?: null | number; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string }>

    -

    Invite information.

    -
  • -
-
-
- -

generateFileURL

-
    -
  • generateFileURL(attachment?: { _id: string; content_type?: string; metadata?: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; tag: string }, ...args: FileArgs): undefined | string
  • -
-
    -
  • - -
    -
    -

    Generates a URL to a given file with given options.

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional attachment: { _id: string; content_type?: string; metadata?: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; tag: string }
      -
      -

      Partial of attachment object

      -
      -
        -
      • -
        _id: string
        -
      • -
      • -
        Optional content_type?: string
        -
      • -
      • -
        Optional metadata?: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }
        -
      • -
      • -
        tag: string
        -
      • -
      -
    • -
    • -
      Rest ...args: FileArgs
      -
    • -
    -

    Returns undefined | string

    -

    Generated URL or nothing

    -
  • -
-
-
- -

joinInvite

-
    -
  • joinInvite(code: string): Promise<Server>
  • -
  • joinInvite(invite: { channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_flags?: null | number; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string }): Promise<Server>
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      code: string
      -
    • -
    -

    Returns Promise<Server>

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      invite: { channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_flags?: null | number; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string }
      -
    • -
    -

    Returns Promise<Server>

    -
  • -
-
-
- -

listenerCount

-
    -
  • listenerCount(event: string | symbol): number
  • -
-
    -
  • - -
    -
    -

    Return the number of listeners listening to a given event.

    -
    -
    -

    Parameters

    -
      -
    • -
      event: string | symbol
      -
    • -
    -

    Returns number

    -
  • -
-
-
- -

listeners

-
    -
  • listeners<T>(event: T): ((...args: any[]) => void)[]
  • -
-
    -
  • - -
    -
    -

    Return the listeners registered for a given event.

    -
    -
    -

    Type parameters

    -
      -
    • -

      T: string | symbol

      -
    • -
    -

    Parameters

    -
      -
    • -
      event: T
      -
    • -
    -

    Returns ((...args: any[]) => void)[]

    -
  • -
-
-
- -

login

-
    -
  • login(details: { email: string; friendly_name?: null | string; password: string } | { friendly_name?: null | string; mfa_response?: null | { password: string } | { recovery_code: string } | { totp_code: string }; mfa_ticket: string }): Promise<undefined | ((username: string, loginAfterSuccess?: boolean) => Promise<void>)>
  • -
-
    -
  • - -
    -
    -

    Log in with auth data, creating a new session in the process.

    -
    -
    -

    Parameters

    -
      -
    • -
      details: { email: string; friendly_name?: null | string; password: string } | { friendly_name?: null | string; mfa_response?: null | { password: string } | { recovery_code: string } | { totp_code: string }; mfa_ticket: string }
      -
      -

      Login data object

      -
      -
    • -
    -

    Returns Promise<undefined | ((username: string, loginAfterSuccess?: boolean) => Promise<void>)>

    -

    An onboarding function if onboarding is required, undefined otherwise

    -
  • -
-
-
- -

loginBot

-
    -
  • loginBot(token: string): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Log in as a bot.

    -
    -
    -

    Parameters

    -
      -
    • -
      token: string
      -
      -

      Bot token

      -
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

logout

-
    -
  • logout(avoidRequest?: boolean): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Log out of Revolt. Disconnect the WebSocket, request a session invalidation and reset the client.

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional avoidRequest: boolean
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

markdownToText

-
    -
  • markdownToText(source: string): string
  • -
-
    -
  • - -
    -
    -

    Prepare a markdown-based message to be displayed to the user as plain text.

    -
    -
    -

    Parameters

    -
      -
    • -
      source: string
      -
      -

      Source markdown text

      -
      -
    • -
    -

    Returns string

    -

    Modified plain text

    -
  • -
-
-
- -

off

-
    -
  • off<T>(event: T, fn?: (...args: any[]) => void, context?: any, once?: boolean): Client
  • -
-
    -
  • - -

    Type parameters

    -
      -
    • -

      T: string | symbol

      -
    • -
    -

    Parameters

    -
      -
    • -
      event: T
      -
    • -
    • -
      Optional fn: (...args: any[]) => void
      -
        -
      • -
          -
        • (...args: any[]): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            Rest ...args: any[]
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional context: any
      -
    • -
    • -
      Optional once: boolean
      -
    • -
    -

    Returns Client

    -
  • -
-
-
- -

on

-
    -
  • on(event: "connected", listener: () => void): Client
  • -
  • on(event: "connecting", listener: () => void): Client
  • -
  • on(event: "dropped", listener: () => void): Client
  • -
  • on(event: "ready", listener: () => void): Client
  • -
  • on(event: "logout", listener: () => void): Client
  • -
  • on(event: "packet", listener: (packet: ClientboundNotification) => void): Client
  • -
  • on(event: "message", listener: (message: Message) => void): Client
  • -
  • on(event: "message/update", listener: (message: Message) => void): Client
  • -
  • on(event: "message/delete", listener: (id: string, message?: Message) => void): Client
  • -
  • on(event: "message/updated", listener: (message: Message, packet: ClientboundNotification) => void): Client
  • -
  • on(event: "channel/create", listener: (channel: Channel) => void): Client
  • -
  • on(event: "channel/update", listener: (channel: Channel) => void): Client
  • -
  • on(event: "channel/delete", listener: (id: string, channel?: Channel) => void): Client
  • -
  • on(event: "server/update", listener: (server: Server) => void): Client
  • -
  • on(event: "server/delete", listener: (id: string, server?: Server) => void): Client
  • -
  • on(event: "role/update", listener: (roleId: string, role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number }, serverId: string) => void): Client
  • -
  • on(event: "role/delete", listener: (id: string, serverId: string) => void): Client
  • -
  • on(event: "member/join", listener: (member: Member) => void): Client
  • -
  • on(event: "member/update", listener: (member: Member) => void): Client
  • -
  • on(event: "member/leave", listener: (id: { server: string; user: string }) => void): Client
  • -
  • on(event: "user/relationship", listener: (user: User) => void): Client
  • -
  • on(event: "emoji/create", listener: (emoji: Emoji) => void): Client
  • -
  • on(event: "emoji/delete", listener: (id: string, emoji?: Emoji) => void): Client
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      event: "connected"
      -
    • -
    • -
      listener: () => void
      -
        -
      • -
          -
        • (): void
        • -
        -
          -
        • -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "connecting"
      -
    • -
    • -
      listener: () => void
      -
        -
      • -
          -
        • (): void
        • -
        -
          -
        • -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "dropped"
      -
    • -
    • -
      listener: () => void
      -
        -
      • -
          -
        • (): void
        • -
        -
          -
        • -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "ready"
      -
    • -
    • -
      listener: () => void
      -
        -
      • -
          -
        • (): void
        • -
        -
          -
        • -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "logout"
      -
    • -
    • -
      listener: () => void
      -
        -
      • -
          -
        • (): void
        • -
        -
          -
        • -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    - -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "message"
      -
    • -
    • -
      listener: (message: Message) => void
      -
        -
      • - -
          -
        • -

          Parameters

          - -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "message/update"
      -
    • -
    • -
      listener: (message: Message) => void
      -
        -
      • - -
          -
        • -

          Parameters

          - -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "message/delete"
      -
    • -
    • -
      listener: (id: string, message?: Message) => void
      -
        -
      • -
          -
        • (id: string, message?: Message): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            id: string
            -
          • -
          • -
            Optional message: Message
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    - -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "channel/create"
      -
    • -
    • -
      listener: (channel: Channel) => void
      -
        -
      • - -
          -
        • -

          Parameters

          - -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "channel/update"
      -
    • -
    • -
      listener: (channel: Channel) => void
      -
        -
      • - -
          -
        • -

          Parameters

          - -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "channel/delete"
      -
    • -
    • -
      listener: (id: string, channel?: Channel) => void
      -
        -
      • -
          -
        • (id: string, channel?: Channel): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            id: string
            -
          • -
          • -
            Optional channel: Channel
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "server/update"
      -
    • -
    • -
      listener: (server: Server) => void
      -
        -
      • - -
          -
        • -

          Parameters

          - -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "server/delete"
      -
    • -
    • -
      listener: (id: string, server?: Server) => void
      -
        -
      • -
          -
        • (id: string, server?: Server): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            id: string
            -
          • -
          • -
            Optional server: Server
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "role/update"
      -
    • -
    • -
      listener: (roleId: string, role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number }, serverId: string) => void
      -
        -
      • -
          -
        • (roleId: string, role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number }, serverId: string): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            roleId: string
            -
          • -
          • -
            role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number }
            -
              -
            • -
              Optional colour?: null | string
              -
              -
              -
              description
              -

              Colour used for this role

              -

              This can be any valid CSS colour

              -
              -
              -
              -
            • -
            • -
              Optional hoist?: boolean
              -
              -
              -
              description
              -

              Whether this role should be shown separately on the member sidebar

              -
              -
              -
              -
            • -
            • -
              name: string
              -
              -
              -
              description
              -

              Role name

              -
              -
              -
              -
            • -
            • -
              permissions: { a: number; d: number }
              -
              -
              -
              description
              -

              Permissions available to this role

              -
              -
              -
              -
                -
              • -
                a: number
                -
                -
                -

                Format: int64

                -
                -
                -
                description
                -

                Allow bit flags

                -
                -
                -
                -
              • -
              • -
                d: number
                -
                -
                -

                Format: int64

                -
                -
                -
                description
                -

                Disallow bit flags

                -
                -
                -
                -
              • -
              -
            • -
            • -
              Optional rank?: number
              -
              -
              -

              Format: int64

              -
              -
              -
              description
              -

              Ranking of this role

              -
              -
              -
              -
            • -
            -
          • -
          • -
            serverId: string
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "role/delete"
      -
    • -
    • -
      listener: (id: string, serverId: string) => void
      -
        -
      • -
          -
        • (id: string, serverId: string): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            id: string
            -
          • -
          • -
            serverId: string
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "member/join"
      -
    • -
    • -
      listener: (member: Member) => void
      -
        -
      • - -
          -
        • -

          Parameters

          - -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "member/update"
      -
    • -
    • -
      listener: (member: Member) => void
      -
        -
      • - -
          -
        • -

          Parameters

          - -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "member/leave"
      -
    • -
    • -
      listener: (id: { server: string; user: string }) => void
      -
        -
      • -
          -
        • (id: { server: string; user: string }): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            id: { server: string; user: string }
            -
              -
            • -
              server: string
              -
              -
              -
              description
              -

              Server Id

              -
              -
              -
              -
            • -
            • -
              user: string
              -
              -
              -
              description
              -

              User Id

              -
              -
              -
              -
            • -
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "user/relationship"
      -
    • -
    • -
      listener: (user: User) => void
      -
        -
      • -
          -
        • (user: User): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            user: User
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "emoji/create"
      -
    • -
    • -
      listener: (emoji: Emoji) => void
      -
        -
      • -
          -
        • (emoji: Emoji): void
        • -
        -
          -
        • -

          Parameters

          - -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
  • - -

    Parameters

    -
      -
    • -
      event: "emoji/delete"
      -
    • -
    • -
      listener: (id: string, emoji?: Emoji) => void
      -
        -
      • -
          -
        • (id: string, emoji?: Emoji): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            id: string
            -
          • -
          • -
            Optional emoji: Emoji
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    -

    Returns Client

    -
  • -
-
-
- -

once

-
    -
  • once<T>(event: T, fn: (...args: any[]) => void, context?: any): Client
  • -
-
    -
  • - -
    -
    -

    Add a one-time listener for a given event.

    -
    -
    -

    Type parameters

    -
      -
    • -

      T: string | symbol

      -
    • -
    -

    Parameters

    -
      -
    • -
      event: T
      -
    • -
    • -
      fn: (...args: any[]) => void
      -
        -
      • -
          -
        • (...args: any[]): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            Rest ...args: any[]
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional context: any
      -
    • -
    -

    Returns Client

    -
  • -
-
-
- -

proxyFile

-
    -
  • proxyFile(url: string): undefined | string
  • -
-
    -
  • - -
    -
    -

    Proxy a file through January.

    -
    -
    -

    Parameters

    -
      -
    • -
      url: string
      -
      -

      URL to proxy

      -
      -
    • -
    -

    Returns undefined | string

    -

    Proxied media URL

    -
  • -
-
-
- -

register

-
    -
  • register(data: { captcha?: null | string; email: string; invite?: null | string; password: string }): Promise<undefined>
  • -
-
    -
  • - -
    -
    -

    Register for a new account.

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { captcha?: null | string; email: string; invite?: null | string; password: string }
      -
      -

      Registration data object

      -
      -
        -
      • -
        Optional captcha?: null | string
        -
        -
        -
        description
        -

        Captcha verification code

        -
        -
        -
        -
      • -
      • -
        email: string
        -
        -
        -
        description
        -

        Valid email address

        -
        -
        -
        -
      • -
      • -
        Optional invite?: null | string
        -
        -
        -
        description
        -

        Invite code

        -
        -
        -
        -
      • -
      • -
        password: string
        -
        -
        -
        description
        -

        Password

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<undefined>

    -

    A promise containing a registration response object

    -
  • -
-
-
- -

removeAllListeners

-
    -
  • removeAllListeners(event?: string | symbol): Client
  • -
-
    -
  • - -
    -
    -

    Remove all listeners, or those of the specified event.

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional event: string | symbol
      -
    • -
    -

    Returns Client

    -
  • -
-
-
- -

removeListener

-
    -
  • removeListener<T>(event: T, fn?: (...args: any[]) => void, context?: any, once?: boolean): Client
  • -
-
    -
  • - -
    -
    -

    Remove the listeners of a given event.

    -
    -
    -

    Type parameters

    -
      -
    • -

      T: string | symbol

      -
    • -
    -

    Parameters

    -
      -
    • -
      event: T
      -
    • -
    • -
      Optional fn: (...args: any[]) => void
      -
        -
      • -
          -
        • (...args: any[]): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            Rest ...args: any[]
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional context: any
      -
    • -
    • -
      Optional once: boolean
      -
    • -
    -

    Returns Client

    -
  • -
-
-
- -

reset

-
    -
  • reset(): void
  • -
-
    -
  • - -
    -
    -

    Reset the client by setting properties to their original value or deleting them entirely. - Disconnects the current WebSocket.

    -
    -
    -

    Returns void

    -
  • -
-
-
- -

syncFetchSettings

-
    -
  • syncFetchSettings(keys: string[]): Promise<{}>
  • -
-
    -
  • - -
    -
    -

    Fetch user settings for current user.

    -
    -
    -

    Parameters

    -
      -
    • -
      keys: string[]
      -
      -

      Settings keys to fetch, leave blank to fetch full object.

      -
      -
    • -
    -

    Returns Promise<{}>

    -

    Key-value object of settings.

    -
  • -
-
-
- -

syncFetchUnreads

-
    -
  • syncFetchUnreads(): Promise<{ _id: { channel: string; user: string }; last_id?: null | string; mentions?: null | string[] }[]>
  • -
-
    -
  • - -
    -
    -

    Fetch user unreads for current user.

    -
    -
    -

    Returns Promise<{ _id: { channel: string; user: string }; last_id?: null | string; mentions?: null | string[] }[]>

    -

    Array of channel unreads.

    -
  • -
-
-
- -

syncSetSettings

-
    -
  • syncSetSettings(data: {}, timestamp?: number): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Set user settings for current user.

    -
    -
    -

    Parameters

    -
      -
    • -
      data: {}
      -
      -

      Data to set as an object. Any non-string values will be automatically serialised.

      -
      -
        -
      • -
        [key: string]: object | string
        -
      • -
      -
    • -
    • -
      Optional timestamp: number
      -
      -

      Timestamp to use for the current revision.

      -
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

useExistingSession

-
    -
  • useExistingSession(session: Session): Promise<undefined | ((username: string, loginAfterSuccess?: boolean) => Promise<void>)>
  • -
-
    -
  • - -
    -
    -

    Use an existing session to log into Revolt.

    -
    -
    -

    Parameters

    -
      -
    • -
      session: Session
      -
      -

      Session data object

      -
      -
    • -
    -

    Returns Promise<undefined | ((username: string, loginAfterSuccess?: boolean) => Promise<void>)>

    -

    An onboarding function if onboarding is required, undefined otherwise

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Property
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
    -
  • Private method
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/Client.html b/classes/Client.html new file mode 100644 index 00000000..af2cd9c2 --- /dev/null +++ b/classes/Client.html @@ -0,0 +1,1151 @@ +Client | revolt.js
+
+ +
+
+
+
+ +

Class Client

+
+

Revolt.js Clients

+
+
+

Hierarchy

+
    +
  • EventEmitter<Events> +
      +
    • Client
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#reconnectTimeout: undefined | number
+
+ +
#session: undefined | Session
+
+ +
#setConnectionFailureCount: Setter<number>
+
+ +
#setReady: Setter<boolean>
+
+ +
api: API
+
+ +
+
+ +
channelUnreads: ChannelUnreadCollection
+
+ +
+
+ +
configuration: undefined | {
    app: string;
    build: {
        commit_sha: string;
        commit_timestamp: string;
        origin_url: string;
        semver: string;
        timestamp: string;
    };
    features: {
        autumn: {
            enabled: boolean;
            url: string;
        };
        captcha: {
            enabled: boolean;
            key: string;
        };
        email: boolean;
        invite_only: boolean;
        january: {
            enabled: boolean;
            url: string;
        };
        voso: {
            enabled: boolean;
            url: string;
            ws: string;
        };
    };
    revolt: string;
    vapid: string;
    ws: string;
}
+
+ +
connectionFailureCount: Accessor<number>
+
+ +
+
+ +
events: EventClient<1>
+
+ +
+
+ +
options: ClientOptions
+
+ +
ready: Accessor<boolean>
+
+ +
serverMembers: ServerMemberCollection
+
+ +
+
+ +
user: undefined | User
+
+ +
+
+ +
prefixed: string | boolean
+
+

Methods

+
+ +
    + +
  • +

    Fetches the configuration of the server if it has not been already fetched.

    +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Update API object to use authentication.

    +
    +

    Returns void

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      fn: ((...args: ArgumentMap<Events>[Extract<T, keyof Events>]) => void)
      +
        +
      • +
          +
        • (...args: ArgumentMap<Events>[Extract<T, keyof Events>]): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...args: ArgumentMap<Events>[Extract<T, keyof Events>]
          +

          Returns void

    • +
    • +
      Optional context: any
    +

    Returns Client

+
+ +
    + +
  • +

    Connect to Revolt

    +
    +

    Returns void

+
+ +
    + +
  • +

    Calls each of the listeners registered for a given event.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      Rest ...args: ArgumentMap<Events>[Extract<T, keyof Events>]
    +

    Returns boolean

+
+ +
    + +
  • +

    Return an array listing the events for which the emitter has registered +listeners.

    +
    +

    Returns (keyof Events)[]

+
+ +
    + +
  • +

    Return the number of listeners listening to a given event.

    +
    +
    +

    Parameters

    +
      +
    • +
      event: keyof Events
    +

    Returns number

+
+ +
    + +
  • +

    Return the listeners registered for a given event.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events

    +
    +

    Parameters

    +
      +
    • +
      event: T
    +

    Returns ((...args: ArgumentMap<Events>[Extract<T, keyof Events>]) => void)[]

+
+ +
    + +
  • +

    Log in with auth data, creating a new session in the process.

    + +

    Returns

    An on-boarding function if on-boarding is required, undefined otherwise

    +
    +
    +

    Parameters

    +
      +
    • +
      details: {
          email: string;
          friendly_name?: null | string;
          password: string;
      } | {
          friendly_name?: null | string;
          mfa_response?: null | {
              password: string;
          } | {
              recovery_code: string;
          } | {
              totp_code: string;
          };
          mfa_ticket: string;
      }
      +

      Login data object

      +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Log in as a bot

    +
    +
    +

    Parameters

    +
      +
    • +
      token: string
      +

      Bot token

      +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Prepare a markdown-based message to be displayed to the user as plain text.

    + +

    Returns

    Modified plain text

    +
    +
    +

    Parameters

    +
      +
    • +
      source: string
      +

      Source markdown text

      +
    +

    Returns string

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      Optional fn: ((...args: ArgumentMap<Events>[Extract<T, keyof Events>]) => void)
      +
        +
      • +
          +
        • (...args: ArgumentMap<Events>[Extract<T, keyof Events>]): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...args: ArgumentMap<Events>[Extract<T, keyof Events>]
          +

          Returns void

    • +
    • +
      Optional context: any
    • +
    • +
      Optional once: boolean
    +

    Returns Client

+
+ +
    + +
  • +

    Add a listener for a given event.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      fn: ((...args: ArgumentMap<Events>[Extract<T, keyof Events>]) => void)
      +
        +
      • +
          +
        • (...args: ArgumentMap<Events>[Extract<T, keyof Events>]): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...args: ArgumentMap<Events>[Extract<T, keyof Events>]
          +

          Returns void

    • +
    • +
      Optional context: any
    +

    Returns Client

+
+ +
    + +
  • +

    Add a one-time listener for a given event.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      fn: ((...args: ArgumentMap<Events>[Extract<T, keyof Events>]) => void)
      +
        +
      • +
          +
        • (...args: ArgumentMap<Events>[Extract<T, keyof Events>]): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...args: ArgumentMap<Events>[Extract<T, keyof Events>]
          +

          Returns void

    • +
    • +
      Optional context: any
    +

    Returns Client

+
+ +
    + +
  • +

    Proxy a file through January.

    + +

    Returns

    Proxied media URL

    +
    +
    +

    Parameters

    +
      +
    • +
      url: string
      +

      URL to proxy

      +
    +

    Returns undefined | string

+
+ +
    + +
  • +

    Register for a new account

    + +

    Returns

    A promise containing a registration response object

    +
    +
    +

    Parameters

    +
      +
    • +
      data: {
          captcha?: null | string;
          email: string;
          invite?: null | string;
          password: string;
      }
      +

      Registration data object

      +
      +
        +
      • +
        Optional captcha?: null | string
        +
        +

        Description

        Captcha verification code

        +
      • +
      • +
        email: string
        +
        +

        Description

        Valid email address

        +
      • +
      • +
        Optional invite?: null | string
        +
        +

        Description

        Invite code

        +
      • +
      • +
        password: string
        +
        +

        Description

        Password

        +
    +

    Returns Promise<undefined>

+
+ +
    + +
  • +

    Remove all listeners, or those of the specified event.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional event: keyof Events
    +

    Returns Client

+
+ +
    + +
  • +

    Remove the listeners of a given event.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      Optional fn: ((...args: ArgumentMap<Events>[Extract<T, keyof Events>]) => void)
      +
        +
      • +
          +
        • (...args: ArgumentMap<Events>[Extract<T, keyof Events>]): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...args: ArgumentMap<Events>[Extract<T, keyof Events>]
          +

          Returns void

    • +
    • +
      Optional context: any
    • +
    • +
      Optional once: boolean
    +

    Returns Client

+
+ +
    + +
  • +

    Use an existing session to log into Revolt

    + +

    Returns

    An on-boarding function if on-boarding is required, undefined otherwise

    +
    +
    +

    Parameters

    +
      +
    • +
      session: Session
      +

      Session data object

      +
    +

    Returns Promise<void>

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Collection.html b/classes/Collection.html new file mode 100644 index 00000000..9dea17dc --- /dev/null +++ b/classes/Collection.html @@ -0,0 +1,802 @@ +Collection | revolt.js
+
+ +
+
+
+
+ +

Class Collection<T>Abstract

+
+

Abstract Collection type

+
+
+

Type Parameters

+
    +
  • +

    T

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Iterable of key, value pairs in the map

    + +

    Returns

    Iterable

    +
    +

    Returns IterableIterator<[string, T]>

+
+ +
    + +
  • +

    Filter the collection by a given predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: T, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: T, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns T[]

+
+ +
    + +
  • +

    Find some value based on a predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: T, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: T, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns undefined | T

+
+ +
    + +
  • +

    Execute a provided function over each key, value pair in the map

    +
    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: T, key: string, map: ReactiveMap<string, T>) => void)
      +

      Callback for each pair

      +
      +
        +
      • +
          +
        • (value: T, key: string, map: ReactiveMap<string, T>): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          • +
          • +
            map: ReactiveMap<string, T>
          +

          Returns void

    +

    Returns void

+
+ +
    + +
  • +

    Get an existing object

    + +

    Returns

    Object

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    +

    Returns undefined | T

+
+ +
    + +
  • +

    Check whether an id exists in the Collection

    + +

    Returns

    Whether it exists

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    +

    Returns boolean

+
+ +
    + +
  • +

    Iterable of keys in the map

    + +

    Returns

    Iterable

    +
    +

    Returns IterableIterator<string>

+
+ +
    + +
  • +

    Map the collection using a given callback

    +
    +
    +

    Type Parameters

    +
      +
    • +

      O

    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: T, key: string) => O)
      +

      Callback

      +
      +
        +
      • +
          +
        • (value: T, key: string): O
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          +

          Returns O

    +

    Returns O[]

+
+ +
+
+ +
+
+ +
    + +
  • +

    Iterable of values in the map

    + +

    Returns

    Iterable

    +
    +

    Returns IterableIterator<T>

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Emoji.html b/classes/Emoji.html new file mode 100644 index 00000000..b9c2e343 --- /dev/null +++ b/classes/Emoji.html @@ -0,0 +1,661 @@ +Emoji | revolt.js
+
+ +
+
+
+
+ +

Class Emoji

+
+

Emoji Class

+
+
+

Hierarchy

+
    +
  • Emoji
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#collection: EmojiCollection
+
+ +
id: string
+
+

Accessors

+
+ +
    +
  • get animated(): boolean
  • +
  • +

    Whether the emoji is animated

    +
    +

    Returns boolean

+
+ +
+
+ +
+
+ +
    +
  • get mature(): boolean
  • +
  • +

    Whether the emoji is marked as mature

    +
    +

    Returns boolean

+
+ +
+
+ +
    +
  • get parent(): {
        id: string;
        type: "Server";
    } | {
        type: "Detached";
    }
  • +
  • +

    Information about the parent of this emoji

    +
    +

    Returns {
        id: string;
        type: "Server";
    } | {
        type: "Detached";
    }

+
+

Methods

+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/EmojiCollection.html b/classes/EmojiCollection.html new file mode 100644 index 00000000..7b5bbe13 --- /dev/null +++ b/classes/EmojiCollection.html @@ -0,0 +1,1032 @@ +EmojiCollection | revolt.js
+
+ +
+
+
+
+ +

Class EmojiCollection

+
+

Collection of Emoji

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#objects: ReactiveMap<string, Emoji> = ...
+
+ +
#storage: ObjectStorage<HydratedEmoji> = ...
+
+ +
client: Client
+
+ +
getUnderlyingObject: ((id: string) => HydratedEmoji)
+
+

Type declaration

+
    +
  • +
      +
    • (id: string): HydratedEmoji
    • +
    • +
      +

      Parameters

      +
        +
      • +
        id: string
      +

      Returns HydratedEmoji

+
+ +
updateUnderlyingObject: SetStoreFunction<Record<string, HydratedEmoji>>
+
+

Methods

+
+ +
    + +
  • +

    Create a new instance of an object

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      type: "channel" | "user" | "server" | "bot" | "channelUnread" | "emoji" | "message" | "serverMember"
      +

      Type

      +
    • +
    • +
      instance: Emoji
      +

      Instance

      +
    • +
    • +
      context: unknown
      +

      Context

      +
    • +
    • +
      Optional data: unknown
      +

      Data

      +
    +

    Returns void

+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Filter the collection by a given predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: Emoji, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: Emoji, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Emoji
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns Emoji[]

+
+ +
    + +
  • +

    Find some value based on a predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: Emoji, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: Emoji, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Emoji
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns undefined | Emoji

+
+ +
    + +
  • +

    Execute a provided function over each key, value pair in the map

    + +

    Returns

    Iterable

    +
    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: Emoji, key: string, map: ReactiveMap<string, Emoji>) => void)
      +

      Callback for each pair

      +
      +
        +
      • +
          +
        • (value: Emoji, key: string, map: ReactiveMap<string, Emoji>): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Emoji
          • +
          • +
            key: string
          • +
          • +
            map: ReactiveMap<string, Emoji>
          +

          Returns void

    +

    Returns void

+
+ +
+
+ +
    + +
  • +

    Get or create

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      data: {
          _id: string;
          animated?: boolean;
          creator_id: string;
          name: string;
          nsfw?: boolean;
          parent: {
              id: string;
              type: "Server";
          } | {
              type: "Detached";
          };
      }
      +

      Data

      +
      +
        +
      • +
        _id: string
        +
        +

        Description

        Unique Id

        +
      • +
      • +
        Optional animated?: boolean
        +
        +

        Description

        Whether the emoji is animated

        +
      • +
      • +
        creator_id: string
        +
        +

        Description

        Uploader user id

        +
      • +
      • +
        name: string
        +
        +

        Description

        Emoji name

        +
      • +
      • +
        Optional nsfw?: boolean
        +
        +

        Description

        Whether the emoji is marked as nsfw

        +
      • +
      • +
        parent: {
            id: string;
            type: "Server";
        } | {
            type: "Detached";
        }
        +
        +

        Description

        What owns this emoji

        +
    • +
    • +
      isNew: boolean = false
      +

      Whether this object is new

      +
    +

    Returns Emoji

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Map the collection using a given callback

    +
    +
    +

    Type Parameters

    +
      +
    • +

      O

    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: Emoji, key: string) => O)
      +

      Callback

      +
      +
        +
      • +
          +
        • (value: Emoji, key: string): O
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Emoji
          • +
          • +
            key: string
          +

          Returns O

    +

    Returns O[]

+
+ +
+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/EventClient.html b/classes/EventClient.html new file mode 100644 index 00000000..1cb2f83a --- /dev/null +++ b/classes/EventClient.html @@ -0,0 +1,1021 @@ +EventClient | revolt.js
+
+ +
+
+
+
+ +

Class EventClient<T>

+
+

Simple wrapper around the Revolt websocket service.

+
+
+

Type Parameters

+
    +
  • +

    T extends AvailableProtocols

+
+

Hierarchy

+
    +
  • EventEmitter<Events<T, EventProtocol<T>>> +
      +
    • EventClient
+
+
+
+ +
+
+

Constructors

+
+ +
    + +
  • +

    Create a new event client.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends 1

    +
    +

    Parameters

    +
      +
    • +
      protocolVersion: T
      +

      Target protocol version

      +
    • +
    • +
      transportFormat: "json" = "json"
      +

      Communication format

      +
    • +
    • +
      Optional options: Partial<EventClientOptions>
      +

      Configuration options

      +
    +

    Returns EventClient<T>

+
+

Properties

+
+ +
#heartbeatIntervalReference: undefined | number
+
+ +
#pongTimeoutReference: undefined | number
+
+ +
#protocolVersion: T
+
+ +
#setPing: Setter<number>
+
+ +
#setStateSetter: Setter<ConnectionState>
+
+ +
#socket: undefined | WebSocket
+
+ +
#transportFormat: "json" | "msgpack"
+
+ +
options: EventClientOptions
+
+ +
ping: Accessor<number>
+
+ +
state: Accessor<ConnectionState>
+
+ +
prefixed: string | boolean
+
+

Methods

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events<T, EventProtocol<T>>

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      fn: ((...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]) => void)
      +
        +
      • +
          +
        • (...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]
          +

          Returns void

    • +
    • +
      Optional context: any
    +

    Returns EventClient<T>

+
+ +
    + +
  • +

    Connect to the websocket service.

    +
    +
    +

    Parameters

    +
      +
    • +
      uri: string
      +

      WebSocket URI

      +
    • +
    • +
      token: string
      +

      Authentication token

      +
    +

    Returns void

+
+ +
+
+ +
    + +
  • +

    Calls each of the listeners registered for a given event.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events<T, EventProtocol<T>>

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      Rest ...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]
    +

    Returns boolean

+
+ +
    + +
  • +

    Return an array listing the events for which the emitter has registered +listeners.

    +
    +

    Returns (keyof Events<T, EventProtocol<T>>)[]

+
+ +
    + +
  • +

    Handle events intended for client before passing them along.

    +
    +
    +

    Parameters

    +
      +
    • +
      event: EventProtocol<T>["server"]
      +

      Event

      +
    +

    Returns void

+
+ +
    + +
  • +

    Return the number of listeners listening to a given event.

    +
    +
    +

    Parameters

    +
      +
    • +
      event: keyof Events<T, EventProtocol<T>>
    +

    Returns number

+
+ +
    + +
  • +

    Return the listeners registered for a given event.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events<T, EventProtocol<T>>

    +
    +

    Parameters

    +
      +
    • +
      event: T
    +

    Returns ((...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]) => void)[]

+
+ +
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events<T, EventProtocol<T>>

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      Optional fn: ((...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]) => void)
      +
        +
      • +
          +
        • (...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]
          +

          Returns void

    • +
    • +
      Optional context: any
    • +
    • +
      Optional once: boolean
    +

    Returns EventClient<T>

+
+ +
    + +
  • +

    Add a listener for a given event.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events<T, EventProtocol<T>>

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      fn: ((...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]) => void)
      +
        +
      • +
          +
        • (...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]
          +

          Returns void

    • +
    • +
      Optional context: any
    +

    Returns EventClient<T>

+
+ +
    + +
  • +

    Add a one-time listener for a given event.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events<T, EventProtocol<T>>

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      fn: ((...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]) => void)
      +
        +
      • +
          +
        • (...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]
          +

          Returns void

    • +
    • +
      Optional context: any
    +

    Returns EventClient<T>

+
+ +
    + +
  • +

    Remove all listeners, or those of the specified event.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional event: keyof Events<T, EventProtocol<T>>
    +

    Returns EventClient<T>

+
+ +
    + +
  • +

    Remove the listeners of a given event.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T extends keyof Events<T, EventProtocol<T>>

    +
    +

    Parameters

    +
      +
    • +
      event: T
    • +
    • +
      Optional fn: ((...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]) => void)
      +
        +
      • +
          +
        • (...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Rest ...args: ArgumentMap<Events<T, EventProtocol<T>>>[Extract<T, keyof Events<T, EventProtocol<T>>>]
          +

          Returns void

    • +
    • +
      Optional context: any
    • +
    • +
      Optional once: boolean
    +

    Returns EventClient<T>

+
+ +
    + +
  • +

    Send an event to the server.

    +
    +
    +

    Parameters

    +
      +
    • +
      event: EventProtocol<T>["client"]
      +

      Event

      +
    +

    Returns void

+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/File.html b/classes/File.html new file mode 100644 index 00000000..e170b634 --- /dev/null +++ b/classes/File.html @@ -0,0 +1,745 @@ +File | revolt.js
+
+ +
+
+
+
+ +

Class File

+
+

Uploaded File

+
+
+

Hierarchy

+
    +
  • File
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +

    Construct File

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      file: {
          _id: string;
          content_type: string;
          deleted?: null | boolean;
          filename: string;
          message_id?: null | string;
          metadata: {
              type: "File";
          } | {
              type: "Text";
          } | {
              height: number;
              type: "Image";
              width: number;
          } | {
              height: number;
              type: "Video";
              width: number;
          } | {
              type: "Audio";
          };
          object_id?: null | string;
          reported?: null | boolean;
          server_id?: null | string;
          size: number;
          tag: string;
          user_id?: null | string;
      }
      +

      File

      +
      +
        +
      • +
        _id: string
        +
        +

        Description

        Unique Id

        +
      • +
      • +
        content_type: string
        +
        +

        Description

        Raw content type of this file

        +
      • +
      • +
        Optional deleted?: null | boolean
        +
        +

        Description

        Whether this file was deleted

        +
      • +
      • +
        filename: string
        +
        +

        Description

        Original filename

        +
      • +
      • +
        Optional message_id?: null | string
      • +
      • +
        metadata: {
            type: "File";
        } | {
            type: "Text";
        } | {
            height: number;
            type: "Image";
            width: number;
        } | {
            height: number;
            type: "Video";
            width: number;
        } | {
            type: "Audio";
        }
        +
        +

        Description

        Parsed metadata of this file

        +
      • +
      • +
        Optional object_id?: null | string
        +
        +

        Description

        Id of the object this file is associated with

        +
      • +
      • +
        Optional reported?: null | boolean
        +
        +

        Description

        Whether this file was reported

        +
      • +
      • +
        Optional server_id?: null | string
      • +
      • +
        size: number
        +

        Format: int

        + +

        Description

        Size of this file (in bytes)

        +
      • +
      • +
        tag: string
        +
        +

        Description

        Tag / bucket this file was uploaded to

        +
      • +
      • +
        Optional user_id?: null | string
    +

    Returns File

+
+

Properties

+
+ +
#client: Client
+
+ +
contentType: string
+

Raw content type of this file

+
+
+ +
filename: string
+

Original filename

+
+
+ +
id: string
+

File Id

+
+
+ +
metadata: {
    type: "File";
} | {
    type: "Text";
} | {
    height: number;
    type: "Image";
    width: number;
} | {
    height: number;
    type: "Video";
    width: number;
} | {
    type: "Audio";
}
+

Parsed metadata of the file

+
+
+ +
size: number
+

Size of the file (in bytes)

+
+
+ +
tag: string
+

File bucket

+
+
+

Accessors

+
+ +
    +
  • get downloadURL(): string
  • +
  • +

    Download URL for the file

    +
    +

    Returns string

+
+ +
    +
  • get humanReadableSize(): string
  • +
  • +

    Human readable file size

    +
    +

    Returns string

+
+ +
    +
  • get isSpoiler(): boolean
  • +
  • +

    Whether this file should have a spoiler

    +
    +

    Returns boolean

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Creates a URL to a given file with given options.

    + +

    Returns

    Generated URL or nothing

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional options: {
          height?: number;
          max_side?: number;
          size?: number;
          width?: number;
      }
      +

      Optional query parameters to modify object

      +
      +
        +
      • +
        Optional height?: number
      • +
      • +
        Optional max_side?: number
      • +
      • +
        Optional size?: number
      • +
      • +
        Optional width?: number
    • +
    • +
      Optional allowAnimation: boolean
      +

      Returns GIF if applicable, no operations occur on image

      +
    +

    Returns undefined | string

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ImageEmbed.html b/classes/ImageEmbed.html new file mode 100644 index 00000000..df7c3ebf --- /dev/null +++ b/classes/ImageEmbed.html @@ -0,0 +1,634 @@ +ImageEmbed | revolt.js
+
+ +
+
+
+
+ +

Class ImageEmbed

+
+

Image Embed

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
height: number
+
+ +
size: "Large" | "Preview"
+
+ +
type: "None" | "Website" | "Image" | "Video" | "Text"
+
+ +
url: string
+
+ +
width: number
+
+

Accessors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Create an Embed from an API Embed

    + +

    Returns

    Embed

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      embed: {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          image?: null | {
              height: number;
              size: "Large" | "Preview";
              url: string;
              width: number;
          };
          original_url?: null | string;
          site_name?: null | string;
          special?: null | {
              type: "None";
          } | {
              type: "GIF";
          } | {
              id: string;
              timestamp?: null | string;
              type: "YouTube";
          } | {
              content_type: "Channel";
              id: string;
              type: "Lightspeed";
          } | {
              content_type: "Channel" | "Video" | "Clip";
              id: string;
              type: "Twitch";
          } | {
              content_type: string;
              id: string;
              type: "Spotify";
          } | {
              type: "Soundcloud";
          } | {
              content_type: "Album" | "Track";
              id: string;
              type: "Bandcamp";
          } | {
              id: string;
              type: "Streamable";
          };
          title?: null | string;
          type: "Website";
          url?: null | string;
          video?: null | {
              height: number;
              url: string;
              width: number;
          };
      } | {
          height: number;
          size: "Large" | "Preview";
          type: "Image";
          url: string;
          width: number;
      } | {
          height: number;
          type: "Video";
          url: string;
          width: number;
      } | {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          media?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          title?: null | string;
          type: "Text";
          url?: null | string;
      } | {
          type: "None";
      }
      +

      Data

      +
    +

    Returns MessageEmbed

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Message.html b/classes/Message.html new file mode 100644 index 00000000..bd78f248 --- /dev/null +++ b/classes/Message.html @@ -0,0 +1,986 @@ +Message | revolt.js
+
+ +
+
+
+
+ +

Class Message

+
+

Message Class

+
+
+

Hierarchy

+
    +
  • Message
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#collection: MessageCollection
+
+ +
id: string
+
+

Accessors

+
+ +
    +
  • get animatedAvatarURL(): undefined | string
  • +
  • +

    Get the animated avatar URL for this message

    +
    +

    Returns undefined | string

+
+ +
+
+ +
+
+ +
    +
  • get authorId(): undefined | string
  • +
  • +

    Id of user this message was sent by

    +
    +

    Returns undefined | string

+
+ +
    +
  • get avatarURL(): undefined | string
  • +
  • +

    Get the avatar URL for this message

    +
    +

    Returns undefined | string

+
+ +
+
+ +
    +
  • get channelId(): string
  • +
  • +

    Id of channel this message was sent in

    +
    +

    Returns string

+
+ +
+
+ +
+
+ +
    +
  • get editedAt(): undefined | Date
  • +
  • +

    Time at which this message was edited

    +
    +

    Returns undefined | Date

+
+ +
+
+ +
    +
  • get interactions(): undefined | {
        reactions?: null | string[];
        restrict_reactions?: boolean;
    }
  • +
  • +

    Interactions

    +
    +

    Returns undefined | {
        reactions?: null | string[];
        restrict_reactions?: boolean;
    }

+
+ +
    +
  • get masquerade(): undefined | {
        avatar?: null | string;
        colour?: null | string;
        name?: null | string;
    }
  • +
  • +

    Masquerade

    +
    +

    Returns undefined | {
        avatar?: null | string;
        colour?: null | string;
        name?: null | string;
    }

+
+ +
    +
  • get masqueradeAvatarURL(): undefined | string
  • +
  • +

    Avatar URL from the masquerade

    +
    +

    Returns undefined | string

+
+ +
+
+ +
    +
  • get mentionIds(): undefined | string[]
  • +
  • +

    IDs of users this message mentions

    +
    +

    Returns undefined | string[]

+
+ +
+
+ +
    +
  • get path(): string
  • +
  • +

    Absolute pathname to this message in the client

    +
    +

    Returns string

+
+ +
    +
  • get reactions(): ReactiveMap<string, ReactiveSet<string>>
  • +
  • +

    Reactions

    +
    +

    Returns ReactiveMap<string, ReactiveSet<string>>

+
+ +
    +
  • get replyIds(): undefined | string[]
  • +
  • +

    IDs of messages this message replies to

    +
    +

    Returns undefined | string[]

+
+ +
    +
  • get roleColour(): undefined | null | string
  • +
  • +

    Get the role colour for this message

    +
    +

    Returns undefined | null | string

+
+ +
+
+ +
+
+ +
+
+ +
    +
  • get username(): undefined | string
  • +
  • +

    Get the username for this message

    +
    +

    Returns undefined | string

+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Clear all reactions from this message

    +
    +

    Returns Promise<undefined>

+
+ +
+
+ +
    + +
  • +

    Edit a message

    +
    +
    +

    Parameters

    +
      +
    • +
      data: {
          content?: null | string;
          embeds?: null | {
              colour?: null | string;
              description?: null | string;
              icon_url?: null | string;
              media?: null | string;
              title?: null | string;
              url?: null | string;
          }[];
      }
      +

      Message edit route data

      +
      +
        +
      • +
        Optional content?: null | string
        +
        +

        Description

        New message content

        +
      • +
      • +
        Optional embeds?: null | {
            colour?: null | string;
            description?: null | string;
            icon_url?: null | string;
            media?: null | string;
            title?: null | string;
            url?: null | string;
        }[]
        +
        +

        Description

        Embeds to include in the message

        +
    +

    Returns Promise<{
        _id: string;
        attachments?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }[];
        author: string;
        channel: string;
        content?: null | string;
        edited?: null | string;
        embeds?: null | ({
            colour?: null | string;
            description?: null | string;
            icon_url?: null | string;
            image?: null | {
                height: number;
                size: "Large" | "Preview";
                url: string;
                width: number;
            };
            original_url?: null | string;
            site_name?: null | string;
            special?: null | {
                type: "None";
            } | {
                type: "GIF";
            } | {
                id: string;
                timestamp?: null | string;
                type: "YouTube";
            } | {
                content_type: "Channel";
                id: string;
                type: "Lightspeed";
            } | {
                content_type: "Channel" | "Video" | "Clip";
                id: string;
                type: "Twitch";
            } | {
                content_type: string;
                id: string;
                type: "Spotify";
            } | {
                type: "Soundcloud";
            } | {
                content_type: "Album" | "Track";
                id: string;
                type: "Bandcamp";
            } | {
                id: string;
                type: "Streamable";
            };
            title?: null | string;
            type: "Website";
            url?: null | string;
            video?: null | {
                height: number;
                url: string;
                width: number;
            };
        } | {
            height: number;
            size: "Large" | "Preview";
            type: "Image";
            url: string;
            width: number;
        } | {
            height: number;
            type: "Video";
            url: string;
            width: number;
        } | {
            colour?: null | string;
            description?: null | string;
            icon_url?: null | string;
            media?: null | {
                _id: string;
                content_type: string;
                deleted?: null | boolean;
                filename: string;
                message_id?: null | string;
                metadata: {
                    type: "File";
                } | {
                    type: "Text";
                } | {
                    height: number;
                    type: "Image";
                    width: number;
                } | {
                    height: number;
                    type: "Video";
                    width: number;
                } | {
                    type: "Audio";
                };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            };
            title?: null | string;
            type: "Text";
            url?: null | string;
        } | {
            type: "None";
        })[];
        interactions?: {
            reactions?: null | string[];
            restrict_reactions?: boolean;
        };
        masquerade?: null | {
            avatar?: null | string;
            colour?: null | string;
            name?: null | string;
        };
        mentions?: null | string[];
        nonce?: null | string;
        reactions?: {
            [key: string]: string[];
        };
        replies?: null | string[];
        system?: null | {
            content: string;
            type: "text";
        } | {
            by: string;
            id: string;
            type: "user_added";
        } | {
            by: string;
            id: string;
            type: "user_remove";
        } | {
            id: string;
            type: "user_joined";
        } | {
            id: string;
            type: "user_left";
        } | {
            id: string;
            type: "user_kicked";
        } | {
            id: string;
            type: "user_banned";
        } | {
            by: string;
            name: string;
            type: "channel_renamed";
        } | {
            by: string;
            type: "channel_description_changed";
        } | {
            by: string;
            type: "channel_icon_changed";
        } | {
            from: string;
            to: string;
            type: "channel_ownership_changed";
        };
    }>

+
+ +
    + +
  • +

    React to a message

    +
    +
    +

    Parameters

    +
      +
    • +
      emoji: string
      +

      Unicode or emoji ID

      +
    +

    Returns Promise<undefined>

+
+ +
    + +
  • +

    Reply to Message

    +
    +
    +

    Parameters

    +
      +
    • +
      data: string | Omit<{
          attachments?: null | string[];
          content?: null | string;
          embeds?: null | {
              colour?: null | string;
              description?: null | string;
              icon_url?: null | string;
              media?: null | string;
              title?: null | string;
              url?: null | string;
          }[];
          interactions?: null | {
              reactions?: null | string[];
              restrict_reactions?: boolean;
          };
          masquerade?: null | {
              avatar?: null | string;
              colour?: null | string;
              name?: null | string;
          };
          nonce?: null | string;
          replies?: null | {
              id: string;
              mention: boolean;
          }[];
      }, "nonce"> & {
          nonce?: string;
      }
    • +
    • +
      mention: boolean = true
    +

    Returns undefined | Promise<Message>

+
+ +
    + +
  • +

    Un-react from a message

    +
    +
    +

    Parameters

    +
      +
    • +
      emoji: string
      +

      Unicode or emoji ID

      +
    +

    Returns Promise<undefined>

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/MessageCollection.html b/classes/MessageCollection.html new file mode 100644 index 00000000..55ae4194 --- /dev/null +++ b/classes/MessageCollection.html @@ -0,0 +1,1112 @@ +MessageCollection | revolt.js
+
+ +
+
+
+
+ +

Class MessageCollection

+
+

Collection of Messages

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#objects: ReactiveMap<string, Message> = ...
+
+ +
#storage: ObjectStorage<HydratedMessage> = ...
+
+ +
client: Client
+
+ +
getUnderlyingObject: ((id: string) => HydratedMessage)
+
+

Type declaration

+
    +
  • +
      +
    • (id: string): HydratedMessage
    • +
    • +
      +

      Parameters

      +
        +
      • +
        id: string
      +

      Returns HydratedMessage

+
+ +
updateUnderlyingObject: SetStoreFunction<Record<string, HydratedMessage>>
+
+

Methods

+
+ +
    + +
  • +

    Create a new instance of an object

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      type: "channel" | "user" | "server" | "bot" | "channelUnread" | "emoji" | "message" | "serverMember"
      +

      Type

      +
    • +
    • +
      instance: Message
      +

      Instance

      +
    • +
    • +
      context: unknown
      +

      Context

      +
    • +
    • +
      Optional data: unknown
      +

      Data

      +
    +

    Returns void

+
+ +
+
+ +
+
+ +
    + +
  • +

    Fetch message by Id

    + +

    Returns

    Message

    +
    +
    +

    Parameters

    +
      +
    • +
      channelId: string
      +

      Channel Id

      +
    • +
    • +
      messageId: string
      +

      Message Id

      +
    +

    Returns Promise<Message>

+
+ +
+
+ +
+
+ +
    + +
  • +

    Execute a provided function over each key, value pair in the map

    + +

    Returns

    Iterable

    +
    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: Message, key: string, map: ReactiveMap<string, Message>) => void)
      +

      Callback for each pair

      +
      +
        +
      • +
          +
        • (value: Message, key: string, map: ReactiveMap<string, Message>): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Message
          • +
          • +
            key: string
          • +
          • +
            map: ReactiveMap<string, Message>
          +

          Returns void

    +

    Returns void

+
+ +
+
+ +
    + +
  • +

    Get or create

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      data: {
          _id: string;
          attachments?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          }[];
          author: string;
          channel: string;
          content?: null | string;
          edited?: null | string;
          embeds?: null | ({
              colour?: null | string;
              description?: null | string;
              icon_url?: null | string;
              image?: null | {
                  height: number;
                  size: "Large" | "Preview";
                  url: string;
                  width: number;
              };
              original_url?: null | string;
              site_name?: null | string;
              special?: null | {
                  type: "None";
              } | {
                  type: "GIF";
              } | {
                  id: string;
                  timestamp?: null | string;
                  type: "YouTube";
              } | {
                  content_type: "Channel";
                  id: string;
                  type: "Lightspeed";
              } | {
                  content_type: "Channel" | "Video" | "Clip";
                  id: string;
                  type: "Twitch";
              } | {
                  content_type: string;
                  id: string;
                  type: "Spotify";
              } | {
                  type: "Soundcloud";
              } | {
                  content_type: "Album" | "Track";
                  id: string;
                  type: "Bandcamp";
              } | {
                  id: string;
                  type: "Streamable";
              };
              title?: null | string;
              type: "Website";
              url?: null | string;
              video?: null | {
                  height: number;
                  url: string;
                  width: number;
              };
          } | {
              height: number;
              size: "Large" | "Preview";
              type: "Image";
              url: string;
              width: number;
          } | {
              height: number;
              type: "Video";
              url: string;
              width: number;
          } | {
              colour?: null | string;
              description?: null | string;
              icon_url?: null | string;
              media?: null | {
                  _id: string;
                  content_type: string;
                  deleted?: null | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata: {
                      type: "File";
                  } | {
                      type: "Text";
                  } | {
                      height: number;
                      type: "Image";
                      width: number;
                  } | {
                      height: number;
                      type: "Video";
                      width: number;
                  } | {
                      type: "Audio";
                  };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              };
              title?: null | string;
              type: "Text";
              url?: null | string;
          } | {
              type: "None";
          })[];
          interactions?: {
              reactions?: null | string[];
              restrict_reactions?: boolean;
          };
          masquerade?: null | {
              avatar?: null | string;
              colour?: null | string;
              name?: null | string;
          };
          mentions?: null | string[];
          nonce?: null | string;
          reactions?: {
              [key: string]: string[];
          };
          replies?: null | string[];
          system?: null | {
              content: string;
              type: "text";
          } | {
              by: string;
              id: string;
              type: "user_added";
          } | {
              by: string;
              id: string;
              type: "user_remove";
          } | {
              id: string;
              type: "user_joined";
          } | {
              id: string;
              type: "user_left";
          } | {
              id: string;
              type: "user_kicked";
          } | {
              id: string;
              type: "user_banned";
          } | {
              by: string;
              name: string;
              type: "channel_renamed";
          } | {
              by: string;
              type: "channel_description_changed";
          } | {
              by: string;
              type: "channel_icon_changed";
          } | {
              from: string;
              to: string;
              type: "channel_ownership_changed";
          };
      }
      +

      Data

      +
      +
        +
      • +
        _id: string
        +
        +

        Description

        Unique Id

        +
      • +
      • +
        Optional attachments?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }[]
        +
        +

        Description

        Array of attachments

        +
      • +
      • +
        author: string
        +
        +

        Description

        Id of the user that sent this message

        +
      • +
      • +
        channel: string
        +
        +

        Description

        Id of the channel this message was sent in

        +
      • +
      • +
        Optional content?: null | string
        +
        +

        Description

        Message content

        +
      • +
      • +
        Optional edited?: null | string
        +
        +

        Description

        Time at which this message was last edited

        +
      • +
      • +
        Optional embeds?: null | ({
            colour?: null | string;
            description?: null | string;
            icon_url?: null | string;
            image?: null | {
                height: number;
                size: "Large" | "Preview";
                url: string;
                width: number;
            };
            original_url?: null | string;
            site_name?: null | string;
            special?: null | {
                type: "None";
            } | {
                type: "GIF";
            } | {
                id: string;
                timestamp?: null | string;
                type: "YouTube";
            } | {
                content_type: "Channel";
                id: string;
                type: "Lightspeed";
            } | {
                content_type: "Channel" | "Video" | "Clip";
                id: string;
                type: "Twitch";
            } | {
                content_type: string;
                id: string;
                type: "Spotify";
            } | {
                type: "Soundcloud";
            } | {
                content_type: "Album" | "Track";
                id: string;
                type: "Bandcamp";
            } | {
                id: string;
                type: "Streamable";
            };
            title?: null | string;
            type: "Website";
            url?: null | string;
            video?: null | {
                height: number;
                url: string;
                width: number;
            };
        } | {
            height: number;
            size: "Large" | "Preview";
            type: "Image";
            url: string;
            width: number;
        } | {
            height: number;
            type: "Video";
            url: string;
            width: number;
        } | {
            colour?: null | string;
            description?: null | string;
            icon_url?: null | string;
            media?: null | {
                _id: string;
                content_type: string;
                deleted?: null | boolean;
                filename: string;
                message_id?: null | string;
                metadata: {
                    type: "File";
                } | {
                    type: "Text";
                } | {
                    height: number;
                    type: "Image";
                    width: number;
                } | {
                    height: number;
                    type: "Video";
                    width: number;
                } | {
                    type: "Audio";
                };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            };
            title?: null | string;
            type: "Text";
            url?: null | string;
        } | {
            type: "None";
        })[]
        +
        +

        Description

        Attached embeds to this message

        +
      • +
      • +
        Optional interactions?: {
            reactions?: null | string[];
            restrict_reactions?: boolean;
        }
        +
        +

        Description

        Information about how this message should be interacted with

        +
        +
          +
        • +
          Optional reactions?: null | string[]
          +
          +

          Description

          Reactions which should always appear and be distinct

          +
        • +
        • +
          Optional restrict_reactions?: boolean
          +
          +

          Description

          Whether reactions should be restricted to the given list

          +

          Can only be set to true if reactions list is of at least length 1

          +
      • +
      • +
        Optional masquerade?: null | {
            avatar?: null | string;
            colour?: null | string;
            name?: null | string;
        }
        +
        +

        Description

        Name and / or avatar overrides for this message

        +
      • +
      • +
        Optional mentions?: null | string[]
        +
        +

        Description

        Array of user ids mentioned in this message

        +
      • +
      • +
        Optional nonce?: null | string
        +
        +

        Description

        Unique value generated by client sending this message

        +
      • +
      • +
        Optional reactions?: {
            [key: string]: string[];
        }
        +
        +

        Description

        Hashmap of emoji IDs to array of user IDs

        +
        +
          +
        • +
          [key: string]: string[]
      • +
      • +
        Optional replies?: null | string[]
        +
        +

        Description

        Array of message ids this message is replying to

        +
      • +
      • +
        Optional system?: null | {
            content: string;
            type: "text";
        } | {
            by: string;
            id: string;
            type: "user_added";
        } | {
            by: string;
            id: string;
            type: "user_remove";
        } | {
            id: string;
            type: "user_joined";
        } | {
            id: string;
            type: "user_left";
        } | {
            id: string;
            type: "user_kicked";
        } | {
            id: string;
            type: "user_banned";
        } | {
            by: string;
            name: string;
            type: "channel_renamed";
        } | {
            by: string;
            type: "channel_description_changed";
        } | {
            by: string;
            type: "channel_icon_changed";
        } | {
            from: string;
            to: string;
            type: "channel_ownership_changed";
        }
        +
        +

        Description

        System message

        +
    • +
    • +
      isNew: boolean = false
      +

      Whether this object is new

      +
    +

    Returns Message

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Map the collection using a given callback

    +
    +
    +

    Type Parameters

    +
      +
    • +

      O

    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: Message, key: string) => O)
      +

      Callback

      +
      +
        +
      • +
          +
        • (value: Message, key: string): O
        • +
        • +
          +

          Parameters

          +
          +

          Returns O

    +

    Returns O[]

+
+ +
    + +
  • +

    Globally fetch messages

    + +

    Requires

    Admin

    +
    +
    +

    Parameters

    +
      +
    • +
      query: Object
      +

      Message query

      +
    +

    Returns Promise<{
        _id: string;
        attachments?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }[];
        author: string;
        channel: string;
        content?: null | string;
        edited?: null | string;
        embeds?: null | ({
            colour?: null | string;
            description?: null | string;
            icon_url?: null | string;
            image?: null | {
                height: number;
                size: "Large" | "Preview";
                url: string;
                width: number;
            };
            original_url?: null | string;
            site_name?: null | string;
            special?: null | {
                type: "None";
            } | {
                type: "GIF";
            } | {
                id: string;
                timestamp?: null | string;
                type: "YouTube";
            } | {
                content_type: "Channel";
                id: string;
                type: "Lightspeed";
            } | {
                content_type: "Channel" | "Video" | "Clip";
                id: string;
                type: "Twitch";
            } | {
                content_type: string;
                id: string;
                type: "Spotify";
            } | {
                type: "Soundcloud";
            } | {
                content_type: "Album" | "Track";
                id: string;
                type: "Bandcamp";
            } | {
                id: string;
                type: "Streamable";
            };
            title?: null | string;
            type: "Website";
            url?: null | string;
            video?: null | {
                height: number;
                url: string;
                width: number;
            };
        } | {
            height: number;
            size: "Large" | "Preview";
            type: "Image";
            url: string;
            width: number;
        } | {
            height: number;
            type: "Video";
            url: string;
            width: number;
        } | {
            colour?: null | string;
            description?: null | string;
            icon_url?: null | string;
            media?: null | {
                _id: string;
                content_type: string;
                deleted?: null | boolean;
                filename: string;
                message_id?: null | string;
                metadata: {
                    type: "File";
                } | {
                    type: "Text";
                } | {
                    height: number;
                    type: "Image";
                    width: number;
                } | {
                    height: number;
                    type: "Video";
                    width: number;
                } | {
                    type: "Audio";
                };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            };
            title?: null | string;
            type: "Text";
            url?: null | string;
        } | {
            type: "None";
        })[];
        interactions?: {
            reactions?: null | string[];
            restrict_reactions?: boolean;
        };
        masquerade?: null | {
            avatar?: null | string;
            colour?: null | string;
            name?: null | string;
        };
        mentions?: null | string[];
        nonce?: null | string;
        reactions?: {
            [key: string]: string[];
        };
        replies?: null | string[];
        system?: null | {
            content: string;
            type: "text";
        } | {
            by: string;
            id: string;
            type: "user_added";
        } | {
            by: string;
            id: string;
            type: "user_remove";
        } | {
            id: string;
            type: "user_joined";
        } | {
            id: string;
            type: "user_left";
        } | {
            id: string;
            type: "user_kicked";
        } | {
            id: string;
            type: "user_banned";
        } | {
            by: string;
            name: string;
            type: "channel_renamed";
        } | {
            by: string;
            type: "channel_description_changed";
        } | {
            by: string;
            type: "channel_icon_changed";
        } | {
            from: string;
            to: string;
            type: "channel_ownership_changed";
        };
    }[] | {
        members?: null | {
            _id: {
                server: string;
                user: string;
            };
            avatar?: null | {
                _id: string;
                content_type: string;
                deleted?: null | boolean;
                filename: string;
                message_id?: null | string;
                metadata: {
                    type: "File";
                } | {
                    type: "Text";
                } | {
                    height: number;
                    type: "Image";
                    width: number;
                } | {
                    height: number;
                    type: "Video";
                    width: number;
                } | {
                    type: "Audio";
                };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            };
            joined_at: string;
            nickname?: null | string;
            roles?: string[];
            timeout?: null | string;
        }[];
        messages: {
            _id: string;
            attachments?: null | {
                _id: string;
                content_type: string;
                deleted?: null | boolean;
                filename: string;
                message_id?: null | string;
                metadata: {
                    type: "File";
                } | {
                    type: "Text";
                } | {
                    height: number;
                    type: "Image";
                    width: number;
                } | {
                    height: number;
                    type: "Video";
                    width: number;
                } | {
                    type: "Audio";
                };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            }[];
            author: string;
            channel: string;
            content?: null | string;
            edited?: null | string;
            embeds?: null | ({
                colour?: null | string;
                description?: null | string;
                icon_url?: null | string;
                image?: null | {
                    height: number;
                    size: "Large" | "Preview";
                    url: string;
                    width: number;
                };
                original_url?: null | string;
                site_name?: null | string;
                special?: null | {
                    type: "None";
                } | {
                    type: "GIF";
                } | {
                    id: string;
                    timestamp?: null | string;
                    type: "YouTube";
                } | {
                    content_type: "Channel";
                    id: string;
                    type: "Lightspeed";
                } | {
                    content_type: "Channel" | "Video" | "Clip";
                    id: string;
                    type: "Twitch";
                } | {
                    content_type: string;
                    id: string;
                    type: "Spotify";
                } | {
                    type: "Soundcloud";
                } | {
                    content_type: "Album" | "Track";
                    id: string;
                    type: "Bandcamp";
                } | {
                    id: string;
                    type: "Streamable";
                };
                title?: null | string;
                type: "Website";
                url?: null | string;
                video?: null | {
                    height: number;
                    url: string;
                    width: number;
                };
            } | {
                height: number;
                size: "Large" | "Preview";
                type: "Image";
                url: string;
                width: number;
            } | {
                height: number;
                type: "Video";
                url: string;
                width: number;
            } | {
                colour?: null | string;
                description?: null | string;
                icon_url?: null | string;
                media?: null | {
                    _id: string;
                    content_type: string;
                    deleted?: null | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata: {
                        type: "File";
                    } | {
                        type: "Text";
                    } | {
                        height: number;
                        type: "Image";
                        width: number;
                    } | {
                        height: number;
                        type: "Video";
                        width: number;
                    } | {
                        type: "Audio";
                    };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                };
                title?: null | string;
                type: "Text";
                url?: null | string;
            } | {
                type: "None";
            })[];
            interactions?: {
                reactions?: null | string[];
                restrict_reactions?: boolean;
            };
            masquerade?: null | {
                avatar?: null | string;
                colour?: null | string;
                name?: null | string;
            };
            mentions?: null | string[];
            nonce?: null | string;
            reactions?: {
                [key: string]: string[];
            };
            replies?: null | string[];
            system?: null | {
                content: string;
                type: "text";
            } | {
                by: string;
                id: string;
                type: "user_added";
            } | {
                by: string;
                id: string;
                type: "user_remove";
            } | {
                id: string;
                type: "user_joined";
            } | {
                id: string;
                type: "user_left";
            } | {
                id: string;
                type: "user_kicked";
            } | {
                id: string;
                type: "user_banned";
            } | {
                by: string;
                name: string;
                type: "channel_renamed";
            } | {
                by: string;
                type: "channel_description_changed";
            } | {
                by: string;
                type: "channel_icon_changed";
            } | {
                from: string;
                to: string;
                type: "channel_ownership_changed";
            };
        }[];
        users: {
            _id: string;
            avatar?: null | {
                _id: string;
                content_type: string;
                deleted?: null | boolean;
                filename: string;
                message_id?: null | string;
                metadata: {
                    type: "File";
                } | {
                    type: "Text";
                } | {
                    height: number;
                    type: "Image";
                    width: number;
                } | {
                    height: number;
                    type: "Video";
                    width: number;
                } | {
                    type: "Audio";
                };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            };
            badges?: null | number;
            bot?: null | {
                owner: string;
            };
            flags?: null | number;
            online?: null | boolean;
            privileged?: boolean;
            profile?: null | {
                background?: null | {
                    _id: string;
                    content_type: string;
                    deleted?: null | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata: {
                        type: "File";
                    } | {
                        type: "Text";
                    } | {
                        height: number;
                        type: "Image";
                        width: number;
                    } | {
                        height: number;
                        type: "Video";
                        width: number;
                    } | {
                        type: "Audio";
                    };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                };
                content?: null | string;
            };
            relations?: null | {
                _id: string;
                status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther";
            }[];
            relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther";
            status?: null | {
                presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible";
                text?: null | string;
            };
            username: string;
        }[];
    }>

+
+ +
+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/MessageEmbed.html b/classes/MessageEmbed.html new file mode 100644 index 00000000..746c548f --- /dev/null +++ b/classes/MessageEmbed.html @@ -0,0 +1,589 @@ +MessageEmbed | revolt.js
+
+ +
+
+
+
+ +

Class MessageEmbedAbstract

+
+

Message Embed

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
type: "None" | "Website" | "Image" | "Video" | "Text"
+
+

Methods

+
+ +
    + +
  • +

    Create an Embed from an API Embed

    + +

    Returns

    Embed

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      embed: {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          image?: null | {
              height: number;
              size: "Large" | "Preview";
              url: string;
              width: number;
          };
          original_url?: null | string;
          site_name?: null | string;
          special?: null | {
              type: "None";
          } | {
              type: "GIF";
          } | {
              id: string;
              timestamp?: null | string;
              type: "YouTube";
          } | {
              content_type: "Channel";
              id: string;
              type: "Lightspeed";
          } | {
              content_type: "Channel" | "Video" | "Clip";
              id: string;
              type: "Twitch";
          } | {
              content_type: string;
              id: string;
              type: "Spotify";
          } | {
              type: "Soundcloud";
          } | {
              content_type: "Album" | "Track";
              id: string;
              type: "Bandcamp";
          } | {
              id: string;
              type: "Streamable";
          };
          title?: null | string;
          type: "Website";
          url?: null | string;
          video?: null | {
              height: number;
              url: string;
              width: number;
          };
      } | {
          height: number;
          size: "Large" | "Preview";
          type: "Image";
          url: string;
          width: number;
      } | {
          height: number;
          type: "Video";
          url: string;
          width: number;
      } | {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          media?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          title?: null | string;
          type: "Text";
          url?: null | string;
      } | {
          type: "None";
      }
      +

      Data

      +
    +

    Returns MessageEmbed

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/PublicBot.html b/classes/PublicBot.html new file mode 100644 index 00000000..b0a2a089 --- /dev/null +++ b/classes/PublicBot.html @@ -0,0 +1,638 @@ +PublicBot | revolt.js
+
+ +
+
+
+
+ +

Class PublicBot

+
+

Public Bot Class

+
+
+

Hierarchy

+
    +
  • PublicBot
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +

    Construct Public Bot

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      data: {
          _id: string;
          avatar?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          description?: null | string;
          username: string;
      }
      +

      Data

      +
      +
        +
      • +
        _id: string
        +
        +

        Description

        Bot Id

        +
      • +
      • +
        Optional avatar?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }
        +
        +

        Description

        Profile Avatar

        +
      • +
      • +
        Optional description?: null | string
        +
        +

        Description

        Profile Description

        +
      • +
      • +
        username: string
        +
        +

        Description

        Bot Username

        +
    +

    Returns PublicBot

+
+

Properties

+
+ +
#client: Client
+
+ +
avatar?: File
+
+ +
description?: string
+
+ +
id: string
+
+ +
username: string
+
+

Methods

+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/PublicChannelInvite.html b/classes/PublicChannelInvite.html new file mode 100644 index 00000000..efdc792f --- /dev/null +++ b/classes/PublicChannelInvite.html @@ -0,0 +1,586 @@ +PublicChannelInvite | revolt.js
+
+ +
+
+
+
+ +

Class PublicChannelInviteAbstract

+
+

Public Channel Invite

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
type: "Server" | "None" | "Group"
+
+

Methods

+
+ +
    + +
  • +

    Create an Invite from an API Invite Response

    + +

    Returns

    Invite

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      invite: {
          channel_description?: null | string;
          channel_id: string;
          channel_name: string;
          code: string;
          member_count: number;
          server_banner?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          server_flags?: null | number;
          server_icon?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          server_id: string;
          server_name: string;
          type: "Server";
          user_avatar?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          user_name: string;
      } | {
          channel_description?: null | string;
          channel_id: string;
          channel_name: string;
          code: string;
          type: "Group";
          user_avatar?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          user_name: string;
      }
      +

      Data

      +
    +

    Returns PublicChannelInvite

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/Server.html b/classes/Server.html new file mode 100644 index 00000000..a064c136 --- /dev/null +++ b/classes/Server.html @@ -0,0 +1,1374 @@ +Server | revolt.js
+
+ +
+
+
+
+ +

Class Server

+
+

Server Class

+
+
+

Hierarchy

+
    +
  • Server
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#collection: ServerCollection
+
+ +
id: string
+
+

Accessors

+
+ +
    +
  • get analytics(): boolean
  • +
  • +

    Whether analytics are enabled for this server

    +
    +

    Returns boolean

+
+ +
    +
  • get animatedIconURL(): undefined | string
  • +
  • +

    URL to the server's animated icon

    +
    +

    Returns undefined | string

+
+ +
+
+ +
    +
  • get bannerURL(): undefined | string
  • +
  • +

    URL to the server's banner

    +
    +

    Returns undefined | string

+
+ +
    +
  • get categories(): undefined | {
        channels: string[];
        id: string;
        title: string;
    }[]
  • +
  • +

    Categories

    +
    +

    Returns undefined | {
        channels: string[];
        id: string;
        title: string;
    }[]

+
+ +
    +
  • get channelIds(): ReactiveSet<string>
  • +
  • +

    Channel IDs

    +
    +

    Returns ReactiveSet<string>

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    +
  • get description(): undefined | string
  • +
  • +

    Description

    +
    +

    Returns undefined | string

+
+ +
    +
  • get discoverable(): boolean
  • +
  • +

    Whether this server is publicly discoverable

    +
    +

    Returns boolean

+
+ +
+
+ +
+
+ +
    +
  • get iconURL(): undefined | string
  • +
  • +

    URL to the server's icon

    +
    +

    Returns undefined | string

+
+ +
    +
  • get mature(): boolean
  • +
  • +

    Whether this server is marked as mature

    +
    +

    Returns boolean

+
+ +
+
+ +
    +
  • get mentions(): string[]
  • +
  • +

    Find all message IDs of unread messages

    + +

    Returns

    Array of message IDs which are unread

    +
    +

    Returns string[]

+
+ +
+
+ +
    +
  • get orderedChannels(): (Omit<{
        channels: string[];
        id: string;
        title: string;
    }, "channels"> & {
        channels: Channel[];
    })[]
  • +
  • +

    Get an array of ordered categories with their respective channels. +Uncategorised channels are returned in id="default" category.

    +
    +

    Returns (Omit<{
        channels: string[];
        id: string;
        title: string;
    }, "channels"> & {
        channels: Channel[];
    })[]

+
+ +
    +
  • get orderedRoles(): {
        colour?: null | string;
        hoist?: boolean;
        id: string;
        name: string;
        permissions: {
            a: number;
            d: number;
        };
        rank?: number;
    }[]
  • +
  • +

    Get an ordered array of roles with their IDs attached. +The highest ranking roles will be first followed by lower +ranking roles. This is dictated by the "rank" property +which is smaller for higher priority roles.

    +
    +

    Returns {
        colour?: null | string;
        hoist?: boolean;
        id: string;
        name: string;
        permissions: {
            a: number;
            d: number;
        };
        rank?: number;
    }[]

+
+ +
+
+ +
+
+ +
    +
  • get permission(): number
  • +
  • +

    Permission the currently authenticated user has against this server

    +
    +

    Returns number

+
+ +
    +
  • get roles(): ReactiveMap<string, {
        colour?: null | string;
        hoist?: boolean;
        name: string;
        permissions: {
            a: number;
            d: number;
        };
        rank?: number;
    }>
  • +
  • +

    Roles

    +
    +

    Returns ReactiveMap<string, {
        colour?: null | string;
        hoist?: boolean;
        name: string;
        permissions: {
            a: number;
            d: number;
        };
        rank?: number;
    }>

+
+ +
    +
  • get systemMessages(): undefined | {
        user_banned?: null | string;
        user_joined?: null | string;
        user_kicked?: null | string;
        user_left?: null | string;
    }
  • +
  • +

    System message channels

    +
    +

    Returns undefined | {
        user_banned?: null | string;
        user_joined?: null | string;
        user_kicked?: null | string;
        user_left?: null | string;
    }

+
+ +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Ban user from this server

    +
    +
    +

    Parameters

    +
      +
    • +
      user: string | User | ServerMember
      +

      User

      +
    • +
    • +
      options: {
          reason?: null | string;
      } = {}
      +

      Ban options

      +
      +
        +
      • +
        Optional reason?: null | string
        +
        +

        Description

        Ban reason

        +
    +

    Returns Promise<ServerBan>

+
+ +
    + +
  • +

    Create a channel

    + +

    Returns

    The newly-created channel

    +
    +
    +

    Parameters

    +
      +
    • +
      data: {
          description?: null | string;
          name: string;
          nsfw?: null | boolean;
          type?: "Text" | "Voice";
      }
      +

      Channel create route data

      +
      +
        +
      • +
        Optional description?: null | string
        +
        +

        Description

        Channel description

        +
      • +
      • +
        name: string
        +
        +

        Description

        Channel name

        +
      • +
      • +
        Optional nsfw?: null | boolean
        +
        +

        Description

        Whether this channel is age restricted

        +
      • +
      • +
        Optional type?: "Text" | "Voice"
        +
        +

        Description

        Channel type

        + +

        Default

        Text
        +
        +
    +

    Returns Promise<Channel>

+
+ +
    + +
  • +

    Create an emoji on the server

    +
    +
    +

    Parameters

    +
      +
    • +
      autumnId: string
      +

      Autumn Id

      +
    • +
    • +
      options: Omit<{
          name: string;
          nsfw?: boolean;
          parent: {
              id: string;
              type: "Server";
          } | {
              type: "Detached";
          };
      }, "parent">
      +

      Options

      +
    +

    Returns Promise<Emoji>

+
+ +
    + +
  • +

    Create role

    +
    +
    +

    Parameters

    +
      +
    • +
      name: string
      +

      Role name

      +
    +

    Returns Promise<{
        id: string;
        role: {
            colour?: null | string;
            hoist?: boolean;
            name: string;
            permissions: {
                a: number;
                d: number;
            };
            rank?: number;
        };
    }>

+
+ +
    + +
  • +

    Delete or leave a server

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional leaveSilently: boolean
      +

      Whether to not send a message on leave

      +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Delete role

    +
    +
    +

    Parameters

    +
      +
    • +
      roleId: string
      +

      Role ID

      +
    +

    Returns Promise<undefined>

+
+ +
    + +
  • +

    Edit a server

    +
    +
    +

    Parameters

    +
      +
    • +
      data: {
          analytics?: null | boolean;
          banner?: null | string;
          categories?: null | {
              channels: string[];
              id: string;
              title: string;
          }[];
          description?: null | string;
          discoverable?: null | boolean;
          flags?: null | number;
          icon?: null | string;
          name?: null | string;
          remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[];
          system_messages?: null | {
              user_banned?: null | string;
              user_joined?: null | string;
              user_kicked?: null | string;
              user_left?: null | string;
          };
      }
      +

      Changes

      +
      +
        +
      • +
        Optional analytics?: null | boolean
        +
        +

        Description

        Whether analytics should be collected for this server

        +

        Must be enabled in order to show up on Revolt Discover.

        +
      • +
      • +
        Optional banner?: null | string
        +
        +

        Description

        Attachment Id for banner

        +
      • +
      • +
        Optional categories?: null | {
            channels: string[];
            id: string;
            title: string;
        }[]
        +
        +

        Description

        Category structure for server

        +
      • +
      • +
        Optional description?: null | string
        +
        +

        Description

        Server description

        +
      • +
      • +
        Optional discoverable?: null | boolean
        +
        +

        Description

        Whether this server is public and should show up on Revolt Discover

        +
      • +
      • +
        Optional flags?: null | number
        +

        Format: int32

        + +

        Description

        Bitfield of server flags

        +
      • +
      • +
        Optional icon?: null | string
        +
        +

        Description

        Attachment Id for icon

        +
      • +
      • +
        Optional name?: null | string
        +
        +

        Description

        Server name

        +
      • +
      • +
        Optional remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]
        +
        +

        Description

        Fields to remove from server object

        +
      • +
      • +
        Optional system_messages?: null | {
            user_banned?: null | string;
            user_joined?: null | string;
            user_kicked?: null | string;
            user_left?: null | string;
        }
        +
        +

        Description

        System message configuration

        +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Edit a role

    +
    +
    +

    Parameters

    +
      +
    • +
      roleId: string
      +

      Role ID

      +
    • +
    • +
      data: {
          colour?: null | string;
          hoist?: null | boolean;
          name?: null | string;
          rank?: null | number;
          remove?: null | "Colour"[];
      }
      +

      Role editing route data

      +
      +
        +
      • +
        Optional colour?: null | string
        +
        +

        Description

        Role colour

        +
      • +
      • +
        Optional hoist?: null | boolean
        +
        +

        Description

        Whether this role should be displayed separately

        +
      • +
      • +
        Optional name?: null | string
        +
        +

        Description

        Role name

        +
      • +
      • +
        Optional rank?: null | number
        +

        Format: int64

        + +

        Description

        Ranking position

        +

        Smaller values take priority.

        +
      • +
      • +
        Optional remove?: null | "Colour"[]
        +
        +

        Description

        Fields to remove from role object

        +
    +

    Returns Promise<{
        colour?: null | string;
        hoist?: boolean;
        name: string;
        permissions: {
            a: number;
            d: number;
        };
        rank?: number;
    }>

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Fetch a server's members

    + +

    Returns

    List of the server's members and their user objects

    +
    +

    Returns Promise<{
        members: ServerMember[];
        users: User[];
    }>

+
+ +
    + +
  • +

    Check whether we have a given permission in a server

    + +

    Returns

    Whether we have this permission

    +
    +
    +

    Parameters

    +
      +
    • +
      Rest ...permission: ("Masquerade" | "Video" | "ManageChannel" | "ManageServer" | "ManagePermissions" | "ManageRole" | "ManageCustomisation" | "KickMembers" | "BanMembers" | "TimeoutMembers" | "AssignRoles" | "ChangeNickname" | "ManageNicknames" | "ChangeAvatar" | "RemoveAvatars" | "ViewChannel" | "ReadMessageHistory" | "SendMessage" | "ManageMessages" | "ManageWebhooks" | "InviteOthers" | "SendEmbeds" | "UploadFiles" | "React" | "Connect" | "Speak" | "MuteMembers" | "DeafenMembers" | "MoveMembers" | "GrantAllSafe")[]
      +

      Permission Names

      +
    +

    Returns boolean

+
+ +
+
+ +
    + +
  • +

    Set role permissions

    +
    +
    +

    Parameters

    +
      +
    • +
      roleId: string = "default"
      +

      Role Id, set to 'default' to affect all users

      +
    • +
    • +
      permissions: number | {
          allow: number;
          deny: number;
      }
      +

      Permission value

      +
    +

    Returns Promise<{
        _id: string;
        analytics?: boolean;
        banner?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        };
        categories?: null | {
            channels: string[];
            id: string;
            title: string;
        }[];
        channels: string[];
        default_permissions: number;
        description?: null | string;
        discoverable?: boolean;
        flags?: null | number;
        icon?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        };
        name: string;
        nsfw?: boolean;
        owner: string;
        roles?: {
            [key: string]: components["schemas"]["Role"];
        };
        system_messages?: null | {
            user_banned?: null | string;
            user_joined?: null | string;
            user_kicked?: null | string;
            user_left?: null | string;
        };
    }>

+
+ +
    + +
  • +

    Optimised member fetch route

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional excludeOffline: boolean
    +

    Returns Promise<void>

+
+ +
+
+ +
    + +
  • +

    Pardon user's ban

    +
    +
    +

    Parameters

    +
      +
    • +
      user: string | User
      +

      User

      +
    +

    Returns Promise<undefined>

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ServerBan.html b/classes/ServerBan.html new file mode 100644 index 00000000..195206e1 --- /dev/null +++ b/classes/ServerBan.html @@ -0,0 +1,641 @@ +ServerBan | revolt.js
+
+ +
+
+
+
+ +

Class ServerBan

+
+

Server Ban

+
+
+

Hierarchy

+
    +
  • ServerBan
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +

    Construct Server Ban

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      data: {
          _id: {
              server: string;
              user: string;
          };
          reason?: null | string;
      }
      +

      Data

      +
      +
        +
      • +
        _id: {
            server: string;
            user: string;
        }
        +
        +

        Description

        Unique member id

        +
        +
          +
        • +
          server: string
          +
          +

          Description

          Server Id

          +
        • +
        • +
          user: string
          +
          +

          Description

          User Id

          +
      • +
      • +
        Optional reason?: null | string
        +
        +

        Description

        Reason for ban creation

        +
    +

    Returns ServerBan

+
+

Properties

+
+ +
client: Client
+
+ +
id: {
    server: string;
    user: string;
}
+
+

Type declaration

+
    +
  • +
    server: string
    +
    +

    Description

    Server Id

    +
  • +
  • +
    user: string
    +
    +

    Description

    User Id

    +
+
+ +
reason?: string
+
+

Accessors

+
+ +
+
+ +
+
+

Methods

+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ServerCollection.html b/classes/ServerCollection.html new file mode 100644 index 00000000..2b106df0 --- /dev/null +++ b/classes/ServerCollection.html @@ -0,0 +1,1120 @@ +ServerCollection | revolt.js
+
+ +
+
+
+
+ +

Class ServerCollection

+
+

Collection of Servers

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#objects: ReactiveMap<string, Server> = ...
+
+ +
#storage: ObjectStorage<HydratedServer> = ...
+
+ +
client: Client
+
+ +
getUnderlyingObject: ((id: string) => HydratedServer)
+
+

Type declaration

+
    +
  • +
      +
    • (id: string): HydratedServer
    • +
    • +
      +

      Parameters

      +
        +
      • +
        id: string
      +

      Returns HydratedServer

+
+ +
updateUnderlyingObject: SetStoreFunction<Record<string, HydratedServer>>
+
+

Methods

+
+ +
    + +
  • +

    Create a new instance of an object

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      type: "channel" | "user" | "server" | "bot" | "channelUnread" | "emoji" | "message" | "serverMember"
      +

      Type

      +
    • +
    • +
      instance: Server
      +

      Instance

      +
    • +
    • +
      context: unknown
      +

      Context

      +
    • +
    • +
      Optional data: unknown
      +

      Data

      +
    +

    Returns void

+
+ +
    + +
  • +

    Create a server

    + +

    Returns

    The newly-created server

    +
    +
    +

    Parameters

    +
      +
    • +
      data: {
          description?: null | string;
          name: string;
          nsfw?: null | boolean;
      }
      +

      Server options

      +
      +
        +
      • +
        Optional description?: null | string
        +
        +

        Description

        Server description

        +
      • +
      • +
        name: string
        +
        +

        Description

        Server name

        +
      • +
      • +
        Optional nsfw?: null | boolean
        +
        +

        Description

        Whether this server is age-restricted

        +
    +

    Returns Promise<Server>

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Find some value based on a predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: Server, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: Server, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Server
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns undefined | Server

+
+ +
    + +
  • +

    Execute a provided function over each key, value pair in the map

    + +

    Returns

    Iterable

    +
    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: Server, key: string, map: ReactiveMap<string, Server>) => void)
      +

      Callback for each pair

      +
      +
        +
      • +
          +
        • (value: Server, key: string, map: ReactiveMap<string, Server>): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Server
          • +
          • +
            key: string
          • +
          • +
            map: ReactiveMap<string, Server>
          +

          Returns void

    +

    Returns void

+
+ +
+
+ +
    + +
  • +

    Get or create

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      data: {
          _id: string;
          analytics?: boolean;
          banner?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          categories?: null | {
              channels: string[];
              id: string;
              title: string;
          }[];
          channels: string[];
          default_permissions: number;
          description?: null | string;
          discoverable?: boolean;
          flags?: null | number;
          icon?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          name: string;
          nsfw?: boolean;
          owner: string;
          roles?: {
              [key: string]: components["schemas"]["Role"];
          };
          system_messages?: null | {
              user_banned?: null | string;
              user_joined?: null | string;
              user_kicked?: null | string;
              user_left?: null | string;
          };
      }
      +

      Data

      +
      +
        +
      • +
        _id: string
        +
        +

        Description

        Unique Id

        +
      • +
      • +
        Optional analytics?: boolean
        +
        +

        Description

        Whether to enable analytics

        +
      • +
      • +
        Optional banner?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }
        +
        +

        Description

        Banner attachment

        +
      • +
      • +
        Optional categories?: null | {
            channels: string[];
            id: string;
            title: string;
        }[]
        +
        +

        Description

        Categories for this server

        +
      • +
      • +
        channels: string[]
        +
        +

        Description

        Channels within this server

        +
      • +
      • +
        default_permissions: number
        +

        Format: int64

        + +

        Description

        Default set of server and channel permissions

        +
      • +
      • +
        Optional description?: null | string
        +
        +

        Description

        Description for the server

        +
      • +
      • +
        Optional discoverable?: boolean
        +
        +

        Description

        Whether this server should be publicly discoverable

        +
      • +
      • +
        Optional flags?: null | number
        +

        Format: int32

        + +

        Description

        Bitfield of server flags

        +
      • +
      • +
        Optional icon?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }
        +
        +

        Description

        Icon attachment

        +
      • +
      • +
        name: string
        +
        +

        Description

        Name of the server

        +
      • +
      • +
        Optional nsfw?: boolean
        +
        +

        Description

        Whether this server is flagged as not safe for work

        +
      • +
      • +
        owner: string
        +
        +

        Description

        User id of the owner

        +
      • +
      • +
        Optional roles?: {
            [key: string]: components["schemas"]["Role"];
        }
        +
        +

        Description

        Roles for this server

        +
        +
          +
        • +
          [key: string]: components["schemas"]["Role"]
      • +
      • +
        Optional system_messages?: null | {
            user_banned?: null | string;
            user_joined?: null | string;
            user_kicked?: null | string;
            user_left?: null | string;
        }
        +
        +

        Description

        Configuration for sending system event messages

        +
    • +
    • +
      isNew: boolean = false
      +

      Whether this object is new

      +
    +

    Returns Server

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Map the collection using a given callback

    +
    +
    +

    Type Parameters

    +
      +
    • +

      O

    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: Server, key: string) => O)
      +

      Callback

      +
      +
        +
      • +
          +
        • (value: Server, key: string): O
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: Server
          • +
          • +
            key: string
          +

          Returns O

    +

    Returns O[]

+
+ +
+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ServerInvite.html b/classes/ServerInvite.html new file mode 100644 index 00000000..fc289955 --- /dev/null +++ b/classes/ServerInvite.html @@ -0,0 +1,670 @@ +ServerInvite | revolt.js
+
+ +
+
+
+
+ +

Class ServerInvite

+
+

Server Invite

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
channelId: string
+
+ +
client?: Client
+
+ +
creatorId: string
+
+ +
id: string
+
+ +
serverId: string
+
+ +
type: "Server" | "None" | "Group"
+
+

Accessors

+
+ +
+
+ +
+
+ +
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Create an Invite from an API Invite

    + +

    Returns

    Invite

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      invite: {
          _id: string;
          channel: string;
          creator: string;
          server: string;
          type: "Server";
      } | {
          _id: string;
          channel: string;
          creator: string;
          type: "Group";
      }
      +

      Data

      +
    +

    Returns ChannelInvite

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ServerMember.html b/classes/ServerMember.html new file mode 100644 index 00000000..55d8479e --- /dev/null +++ b/classes/ServerMember.html @@ -0,0 +1,907 @@ +ServerMember | revolt.js
+
+ +
+
+
+
+ +

Class ServerMember

+
+

Server Member Class

+
+
+

Hierarchy

+
    +
  • ServerMember
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
+
+ +
id: {
    server: string;
    user: string;
}
+
+

Type declaration

+
    +
  • +
    server: string
    +
    +

    Description

    Server Id

    +
  • +
  • +
    user: string
    +
    +

    Description

    User Id

    +
+
+

Accessors

+
+ +
    +
  • get animatedAvatarURL(): undefined | string
  • +
  • +

    URL to the member's animated avatar

    +
    +

    Returns undefined | string

+
+ +
+
+ +
+
+ +
    +
  • get hoistedRole(): null | {
        colour?: null | string;
        hoist?: boolean;
        id: string;
        name?: string;
        permissions?: {
            a: number;
            d: number;
        };
        rank?: number;
    }
  • +
  • +

    Member's currently hoisted role.

    +
    +

    Returns null | {
        colour?: null | string;
        hoist?: boolean;
        id: string;
        name?: string;
        permissions?: {
            a: number;
            d: number;
        };
        rank?: number;
    }

+
+ +
+
+ +
+
+ +
    +
  • get orderedRoles(): {
        colour?: null | string;
        hoist?: boolean;
        id: string;
        name?: string;
        permissions?: {
            a: number;
            d: number;
        };
        rank?: number;
    }[]
  • +
  • +

    Ordered list of roles for this member, from lowest to highest priority.

    +
    +

    Returns {
        colour?: null | string;
        hoist?: boolean;
        id: string;
        name?: string;
        permissions?: {
            a: number;
            d: number;
        };
        rank?: number;
    }[]

+
+ +
+
+ +
    +
  • get roleColour(): undefined | null | string
  • +
  • +

    Member's current role colour.

    +
    +

    Returns undefined | null | string

+
+ +
+
+ +
+
+ +
+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Ban this member from the server

    +
    +
    +

    Parameters

    +
      +
    • +
      options: {
          reason?: null | string;
      }
      +

      Ban options

      +
      +
        +
      • +
        Optional reason?: null | string
        +
        +

        Description

        Ban reason

        +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Edit a member

    +
    +
    +

    Parameters

    +
      +
    • +
      data: {
          avatar?: null | string;
          nickname?: null | string;
          remove?: null | ("Nickname" | "Avatar" | "Roles" | "Timeout")[];
          roles?: null | string[];
          timeout?: null | string;
      }
      +

      Changes

      +
      +
        +
      • +
        Optional avatar?: null | string
        +
        +

        Description

        Attachment Id to set for avatar

        +
      • +
      • +
        Optional nickname?: null | string
        +
        +

        Description

        Member nickname

        +
      • +
      • +
        Optional remove?: null | ("Nickname" | "Avatar" | "Roles" | "Timeout")[]
        +
        +

        Description

        Fields to remove from channel object

        +
      • +
      • +
        Optional roles?: null | string[]
        +
        +

        Description

        Array of role ids

        +
      • +
      • +
        Optional timeout?: null | string
        +
        +

        Description

        Timestamp this member is timed out until

        +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Get the permissions that this member has against a certain object

    + +

    Returns

    Permissions that this member has

    +
    +
    +

    Parameters

    +
      +
    • +
      target: Server | Channel
      +

      Target object to check permissions against

      +
    +

    Returns number

+
+ +
    + +
  • +

    Check whether a member has a certain permission against a certain object

    + +

    Returns

    Whether the member has this permission

    +
    +
    +

    Parameters

    +
      +
    • +
      target: Server | Channel
      +

      Target object to check permissions against

      +
    • +
    • +
      Rest ...permission: ("Masquerade" | "Video" | "ManageChannel" | "ManageServer" | "ManagePermissions" | "ManageRole" | "ManageCustomisation" | "KickMembers" | "BanMembers" | "TimeoutMembers" | "AssignRoles" | "ChangeNickname" | "ManageNicknames" | "ChangeAvatar" | "RemoveAvatars" | "ViewChannel" | "ReadMessageHistory" | "SendMessage" | "ManageMessages" | "ManageWebhooks" | "InviteOthers" | "SendEmbeds" | "UploadFiles" | "React" | "Connect" | "Speak" | "MuteMembers" | "DeafenMembers" | "MoveMembers" | "GrantAllSafe")[]
      +

      Permission names to check for

      +
    +

    Returns boolean

+
+ +
    + +
  • +

    Checks whether the target member has a higher rank than this member.

    + +

    Returns

    Whether this member is inferior to the target

    +
    +
    +

    Parameters

    +
    +

    Returns boolean

+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ServerMemberCollection.html b/classes/ServerMemberCollection.html new file mode 100644 index 00000000..6923004a --- /dev/null +++ b/classes/ServerMemberCollection.html @@ -0,0 +1,1129 @@ +ServerMemberCollection | revolt.js
+
+ +
+
+
+
+ +

Class ServerMemberCollection

+
+

Collection of Server Members

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#objects: ReactiveMap<string, ServerMember> = ...
+
+ +
#storage: ObjectStorage<HydratedServerMember> = ...
+
+ +
client: Client
+
+ +
getUnderlyingObject: ((id: string) => HydratedServerMember)
+
+

Type declaration

+
    +
  • +
      +
    • (id: string): HydratedServerMember
    • +
    • +
      +

      Parameters

      +
        +
      • +
        id: string
      +

      Returns HydratedServerMember

+
+ +
updateUnderlyingObject: SetStoreFunction<Record<string, HydratedServerMember>>
+
+

Methods

+
+ +
    + +
  • +

    Create a new instance of an object

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      type: "channel" | "user" | "server" | "bot" | "channelUnread" | "emoji" | "message" | "serverMember"
      +

      Type

      +
    • +
    • +
      instance: ServerMember
      +

      Instance

      +
    • +
    • +
      context: unknown
      +

      Context

      +
    • +
    • +
      Optional data: unknown
      +

      Data

      +
    +

    Returns void

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Get member by composite key

    + +

    Returns

    Member

    +
    +
    +

    Parameters

    +
      +
    • +
      id: {
          server: string;
          user: string;
      }
      +

      Id

      +
      +
        +
      • +
        server: string
        +
        +

        Description

        Server Id

        +
      • +
      • +
        user: string
        +
        +

        Description

        User Id

        +
    +

    Returns undefined | ServerMember

+
+ +
    + +
  • +

    Get or create

    +
    +
    +

    Parameters

    +
      +
    • +
      id: {
          server: string;
          user: string;
      }
      +

      Id

      +
      +
        +
      • +
        server: string
        +
        +

        Description

        Server Id

        +
      • +
      • +
        user: string
        +
        +

        Description

        User Id

        +
    • +
    • +
      data: {
          _id: {
              server: string;
              user: string;
          };
          avatar?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          joined_at: string;
          nickname?: null | string;
          roles?: string[];
          timeout?: null | string;
      }
      +

      Data

      +
      +
        +
      • +
        _id: {
            server: string;
            user: string;
        }
        +
        +

        Description

        Unique member id

        +
        +
          +
        • +
          server: string
          +
          +

          Description

          Server Id

          +
        • +
        • +
          user: string
          +
          +

          Description

          User Id

          +
      • +
      • +
        Optional avatar?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }
        +
        +

        Description

        Avatar attachment

        +
      • +
      • +
        joined_at: string
        +
        +

        Description

        Time at which this user joined the server

        +
      • +
      • +
        Optional nickname?: null | string
        +
        +

        Description

        Member's nickname

        +
      • +
      • +
        Optional roles?: string[]
        +
        +

        Description

        Member's roles

        +
      • +
      • +
        Optional timeout?: null | string
        +
        +

        Description

        Timestamp this member is timed out until

        +
    +

    Returns ServerMember

+
+ +
    + +
  • +

    Get or return partial

    +
    +
    +

    Parameters

    +
      +
    • +
      id: {
          server: string;
          user: string;
      }
      +

      Id

      +
      +
        +
      • +
        server: string
        +
        +

        Description

        Server Id

        +
      • +
      • +
        user: string
        +
        +

        Description

        User Id

        +
    +

    Returns undefined | ServerMember

+
+ +
+
+ +
    + +
  • +

    Check if member exists by composite key

    + +

    Returns

    Whether it exists

    +
    +
    +

    Parameters

    +
      +
    • +
      id: {
          server: string;
          user: string;
      }
      +

      Id

      +
      +
        +
      • +
        server: string
        +
        +

        Description

        Server Id

        +
      • +
      • +
        user: string
        +
        +

        Description

        User Id

        +
    +

    Returns boolean

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/ServerPublicInvite.html b/classes/ServerPublicInvite.html new file mode 100644 index 00000000..1586ae4b --- /dev/null +++ b/classes/ServerPublicInvite.html @@ -0,0 +1,685 @@ +ServerPublicInvite | revolt.js
+
+ +
+
+
+
+ +

Class ServerPublicInvite

+
+

Public Server Invite

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
channelDescription?: string
+
+ +
channelId: string
+
+ +
channelName: string
+
+ +
client?: Client
+
+ +
code: string
+
+ +
memberCount: number
+
+ +
serverBanner?: File
+
+ +
serverFlags: ServerFlags
+
+ +
serverIcon?: File
+
+ +
serverId: string
+
+ +
serverName: string
+
+ +
type: "Server" | "None" | "Group"
+
+ +
userAvatar?: File
+
+ +
userName: string
+
+

Methods

+
+ +
+
+ +
    + +
  • +

    Create an Invite from an API Invite Response

    + +

    Returns

    Invite

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      invite: {
          channel_description?: null | string;
          channel_id: string;
          channel_name: string;
          code: string;
          member_count: number;
          server_banner?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          server_flags?: null | number;
          server_icon?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          server_id: string;
          server_name: string;
          type: "Server";
          user_avatar?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          user_name: string;
      } | {
          channel_description?: null | string;
          channel_id: string;
          channel_name: string;
          code: string;
          type: "Group";
          user_avatar?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          user_name: string;
      }
      +

      Data

      +
    +

    Returns PublicChannelInvite

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/StoreCollection.html b/classes/StoreCollection.html new file mode 100644 index 00000000..e42cf711 --- /dev/null +++ b/classes/StoreCollection.html @@ -0,0 +1,929 @@ +StoreCollection | revolt.js
+
+ +
+
+
+
+ +

Class StoreCollection<T, V>Abstract

+
+

Collection backed by a Solid.js Store

+
+
+

Type Parameters

+
    +
  • +

    T

  • +
  • +

    V

+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#objects: ReactiveMap<string, T> = ...
+
+ +
#storage: ObjectStorage<V> = ...
+
+ +
getUnderlyingObject: ((id: string) => V)
+
+

Type declaration

+
    +
  • +
      +
    • (id: string): V
    • +
    • +
      +

      Parameters

      +
        +
      • +
        id: string
      +

      Returns V

+
+ +
updateUnderlyingObject: SetStoreFunction<Record<string, V>>
+
+

Methods

+
+ +
    + +
  • +

    Create a new instance of an object

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      type: "channel" | "user" | "server" | "bot" | "channelUnread" | "emoji" | "message" | "serverMember"
      +

      Type

      +
    • +
    • +
      instance: T
      +

      Instance

      +
    • +
    • +
      context: unknown
      +

      Context

      +
    • +
    • +
      Optional data: unknown
      +

      Data

      +
    +

    Returns void

+
+ +
+
+ +
+
+ +
    + +
  • +

    Filter the collection by a given predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: T, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: T, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns T[]

+
+ +
    + +
  • +

    Find some value based on a predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: T, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: T, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns undefined | T

+
+ +
    + +
  • +

    Execute a provided function over each key, value pair in the map

    + +

    Returns

    Iterable

    +
    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: T, key: string, map: ReactiveMap<string, T>) => void)
      +

      Callback for each pair

      +
      +
        +
      • +
          +
        • (value: T, key: string, map: ReactiveMap<string, T>): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          • +
          • +
            map: ReactiveMap<string, T>
          +

          Returns void

    +

    Returns void

+
+ +
+
+ +
    + +
  • +

    Check whether an id exists in the Collection

    + +

    Returns

    Whether it exists

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    +

    Returns boolean

+
+ +
    + +
  • +

    Check whether an object is partially defined

    + +

    Returns

    Whether it is a partial

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    +

    Returns boolean

+
+ +
+
+ +
    + +
  • +

    Map the collection using a given callback

    +
    +
    +

    Type Parameters

    +
      +
    • +

      O

    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: T, key: string) => O)
      +

      Callback

      +
      +
        +
      • +
          +
        • (value: T, key: string): O
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: T
          • +
          • +
            key: string
          +

          Returns O

    +

    Returns O[]

+
+ +
+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/SystemMessage.html b/classes/SystemMessage.html new file mode 100644 index 00000000..b2f6ed2c --- /dev/null +++ b/classes/SystemMessage.html @@ -0,0 +1,586 @@ +SystemMessage | revolt.js
+
+ +
+
+
+
+ +

Class SystemMessageAbstract

+
+

System Message

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +

    Construct System Message

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"
      +

      Type

      +
    +

    Returns SystemMessage

+
+

Properties

+
+ +
client?: Client
+
+ +
type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"
+
+

Methods

+
+ +
    + +
  • +

    Create an System Message from an API System Message

    + +

    Returns

    System Message

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      message: {
          content: string;
          type: "text";
      } | {
          by: string;
          id: string;
          type: "user_added";
      } | {
          by: string;
          id: string;
          type: "user_remove";
      } | {
          id: string;
          type: "user_joined";
      } | {
          id: string;
          type: "user_left";
      } | {
          id: string;
          type: "user_kicked";
      } | {
          id: string;
          type: "user_banned";
      } | {
          by: string;
          name: string;
          type: "channel_renamed";
      } | {
          by: string;
          type: "channel_description_changed";
      } | {
          by: string;
          type: "channel_icon_changed";
      } | {
          from: string;
          to: string;
          type: "channel_ownership_changed";
      }
    +

    Returns SystemMessage

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/TextEmbed.html b/classes/TextEmbed.html new file mode 100644 index 00000000..8dc2fcb2 --- /dev/null +++ b/classes/TextEmbed.html @@ -0,0 +1,648 @@ +TextEmbed | revolt.js
+
+ +
+
+
+
+ +

Class TextEmbed

+
+

Text Embed

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
colour?: string
+
+ +
description?: string
+
+ +
iconUrl?: string
+
+ +
media?: File
+
+ +
title?: string
+
+ +
type: "None" | "Website" | "Image" | "Video" | "Text"
+
+ +
url?: string
+
+

Accessors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Create an Embed from an API Embed

    + +

    Returns

    Embed

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      embed: {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          image?: null | {
              height: number;
              size: "Large" | "Preview";
              url: string;
              width: number;
          };
          original_url?: null | string;
          site_name?: null | string;
          special?: null | {
              type: "None";
          } | {
              type: "GIF";
          } | {
              id: string;
              timestamp?: null | string;
              type: "YouTube";
          } | {
              content_type: "Channel";
              id: string;
              type: "Lightspeed";
          } | {
              content_type: "Channel" | "Video" | "Clip";
              id: string;
              type: "Twitch";
          } | {
              content_type: string;
              id: string;
              type: "Spotify";
          } | {
              type: "Soundcloud";
          } | {
              content_type: "Album" | "Track";
              id: string;
              type: "Bandcamp";
          } | {
              id: string;
              type: "Streamable";
          };
          title?: null | string;
          type: "Website";
          url?: null | string;
          video?: null | {
              height: number;
              url: string;
              width: number;
          };
      } | {
          height: number;
          size: "Large" | "Preview";
          type: "Image";
          url: string;
          width: number;
      } | {
          height: number;
          type: "Video";
          url: string;
          width: number;
      } | {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          media?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          title?: null | string;
          type: "Text";
          url?: null | string;
      } | {
          type: "None";
      }
      +

      Data

      +
    +

    Returns MessageEmbed

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/TextSystemMessage.html b/classes/TextSystemMessage.html new file mode 100644 index 00000000..70ed133b --- /dev/null +++ b/classes/TextSystemMessage.html @@ -0,0 +1,594 @@ +TextSystemMessage | revolt.js
+
+ +
+
+
+
+ +

Class TextSystemMessage

+
+

Text System Message

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
content: string
+
+ +
type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"
+
+

Methods

+
+ +
    + +
  • +

    Create an System Message from an API System Message

    + +

    Returns

    System Message

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      message: {
          content: string;
          type: "text";
      } | {
          by: string;
          id: string;
          type: "user_added";
      } | {
          by: string;
          id: string;
          type: "user_remove";
      } | {
          id: string;
          type: "user_joined";
      } | {
          id: string;
          type: "user_left";
      } | {
          id: string;
          type: "user_kicked";
      } | {
          id: string;
          type: "user_banned";
      } | {
          by: string;
          name: string;
          type: "channel_renamed";
      } | {
          by: string;
          type: "channel_description_changed";
      } | {
          by: string;
          type: "channel_icon_changed";
      } | {
          from: string;
          to: string;
          type: "channel_ownership_changed";
      }
    +

    Returns SystemMessage

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/UnknownEmbed.html b/classes/UnknownEmbed.html new file mode 100644 index 00000000..c04ca503 --- /dev/null +++ b/classes/UnknownEmbed.html @@ -0,0 +1,589 @@ +UnknownEmbed | revolt.js
+
+ +
+
+
+
+ +

Class UnknownEmbed

+
+

Embed of unknown type

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
type: "None" | "Website" | "Image" | "Video" | "Text"
+
+

Methods

+
+ +
    + +
  • +

    Create an Embed from an API Embed

    + +

    Returns

    Embed

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      embed: {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          image?: null | {
              height: number;
              size: "Large" | "Preview";
              url: string;
              width: number;
          };
          original_url?: null | string;
          site_name?: null | string;
          special?: null | {
              type: "None";
          } | {
              type: "GIF";
          } | {
              id: string;
              timestamp?: null | string;
              type: "YouTube";
          } | {
              content_type: "Channel";
              id: string;
              type: "Lightspeed";
          } | {
              content_type: "Channel" | "Video" | "Clip";
              id: string;
              type: "Twitch";
          } | {
              content_type: string;
              id: string;
              type: "Spotify";
          } | {
              type: "Soundcloud";
          } | {
              content_type: "Album" | "Track";
              id: string;
              type: "Bandcamp";
          } | {
              id: string;
              type: "Streamable";
          };
          title?: null | string;
          type: "Website";
          url?: null | string;
          video?: null | {
              height: number;
              url: string;
              width: number;
          };
      } | {
          height: number;
          size: "Large" | "Preview";
          type: "Image";
          url: string;
          width: number;
      } | {
          height: number;
          type: "Video";
          url: string;
          width: number;
      } | {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          media?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          title?: null | string;
          type: "Text";
          url?: null | string;
      } | {
          type: "None";
      }
      +

      Data

      +
    +

    Returns MessageEmbed

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/UnknownInvite.html b/classes/UnknownInvite.html new file mode 100644 index 00000000..b59d8c4b --- /dev/null +++ b/classes/UnknownInvite.html @@ -0,0 +1,589 @@ +UnknownInvite | revolt.js
+
+ +
+
+
+
+ +

Class UnknownInvite

+
+

Invite of unknown type

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
type: "Server" | "None" | "Group"
+
+

Methods

+
+ +
    + +
  • +

    Create an Invite from an API Invite

    + +

    Returns

    Invite

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      invite: {
          _id: string;
          channel: string;
          creator: string;
          server: string;
          type: "Server";
      } | {
          _id: string;
          channel: string;
          creator: string;
          type: "Group";
      }
      +

      Data

      +
    +

    Returns ChannelInvite

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/UnknownPublicInvite.html b/classes/UnknownPublicInvite.html new file mode 100644 index 00000000..e4c8e8c5 --- /dev/null +++ b/classes/UnknownPublicInvite.html @@ -0,0 +1,589 @@ +UnknownPublicInvite | revolt.js
+
+ +
+
+
+
+ +

Class UnknownPublicInvite

+
+

Public invite of unknown type

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
type: "Server" | "None" | "Group"
+
+

Methods

+
+ +
    + +
  • +

    Create an Invite from an API Invite Response

    + +

    Returns

    Invite

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      invite: {
          channel_description?: null | string;
          channel_id: string;
          channel_name: string;
          code: string;
          member_count: number;
          server_banner?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          server_flags?: null | number;
          server_icon?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          server_id: string;
          server_name: string;
          type: "Server";
          user_avatar?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          user_name: string;
      } | {
          channel_description?: null | string;
          channel_id: string;
          channel_name: string;
          code: string;
          type: "Group";
          user_avatar?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          user_name: string;
      }
      +

      Data

      +
    +

    Returns PublicChannelInvite

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/User.html b/classes/User.html new file mode 100644 index 00000000..b5d294a1 --- /dev/null +++ b/classes/User.html @@ -0,0 +1,911 @@ +User | revolt.js
+
+ +
+
+
+
+ +

Class User

+
+

User Class

+
+
+

Hierarchy

+
    +
  • User
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#collection: UserCollection
+
+ +
id: string
+
+

Accessors

+
+ +
    +
  • get animatedAvatarURL(): string
  • +
  • +

    URL to the user's animated avatar

    +
    +

    Returns string

+
+ +
+
+ +
+
+ +
+
+ +
    +
  • get bot(): undefined | {
        owner: string;
    }
  • +
  • +

    Bot information

    +
    +

    Returns undefined | {
        owner: string;
    }

+
+ +
    +
  • get createdAt(): Date
  • +
  • +

    Time when this user created their account

    +
    +

    Returns Date

+
+ +
    +
  • get defaultAvatarURL(): string
  • +
  • +

    URL to the user's default avatar

    +
    +

    Returns string

+
+ +
+
+ +
+
+ +
    +
  • get permission(): number
  • +
  • +

    Permissions against this user

    +
    +

    Returns number

+
+ +
    +
  • get privileged(): boolean
  • +
  • +

    Whether the user is privileged

    +
    +

    Returns boolean

+
+ +
    +
  • get relationship(): "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"
  • +
  • +

    Relationship with user

    +
    +

    Returns "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"

+
+ +
    +
  • get status(): undefined | {
        presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible";
        text?: null | string;
    }
  • +
  • +

    User Status

    +
    +

    Returns undefined | {
        presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible";
        text?: null | string;
    }

+
+ +
+
+

Methods

+
+ +
+
+ +
+
+ +
    + +
  • +

    Change the username of the current user

    +
    +
    +

    Parameters

    +
      +
    • +
      username: string
      +

      New username

      +
    • +
    • +
      password: string
      +

      Current password

      +
    +

    Returns Promise<{
        _id: string;
        avatar?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        };
        badges?: null | number;
        bot?: null | {
            owner: string;
        };
        flags?: null | number;
        online?: null | boolean;
        privileged?: boolean;
        profile?: null | {
            background?: null | {
                _id: string;
                content_type: string;
                deleted?: null | boolean;
                filename: string;
                message_id?: null | string;
                metadata: {
                    type: "File";
                } | {
                    type: "Text";
                } | {
                    height: number;
                    type: "Image";
                    width: number;
                } | {
                    height: number;
                    type: "Video";
                    width: number;
                } | {
                    type: "Audio";
                };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            };
            content?: null | string;
        };
        relations?: null | {
            _id: string;
            status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther";
        }[];
        relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther";
        status?: null | {
            presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible";
            text?: null | string;
        };
        username: string;
    }>

+
+ +
    + +
  • +

    Edit the user

    +
    +
    +

    Parameters

    +
      +
    • +
      data: {
          avatar?: null | string;
          badges?: null | number;
          flags?: null | number;
          profile?: null | {
              background?: null | string;
              content?: null | string;
          };
          remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[];
          status?: null | {
              presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible";
              text?: null | string;
          };
      }
      +

      Changes

      +
      +
        +
      • +
        Optional avatar?: null | string
        +
        +

        Description

        Attachment Id for avatar

        +
      • +
      • +
        Optional badges?: null | number
        +

        Format: int32

        + +

        Description

        Bitfield of user badges

        +
      • +
      • +
        Optional flags?: null | number
        +

        Format: int32

        + +

        Description

        Enum of user flags

        +
      • +
      • +
        Optional profile?: null | {
            background?: null | string;
            content?: null | string;
        }
        +
        +

        Description

        New user profile data

        +

        This is applied as a partial.

        +
      • +
      • +
        Optional remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]
        +
        +

        Description

        Fields to remove from user object

        +
      • +
      • +
        Optional status?: null | {
            presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible";
            text?: null | string;
        }
        +
        +

        Description

        New user status

        +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Fetch the mutual connections of the current user and a target user

    + +

    Returns

    The mutual connections of the current user and a target user

    +
    +

    Returns Promise<{
        servers: string[];
        users: string[];
    }>

+
+ +
    + +
  • +

    Fetch the profile of a user

    + +

    Returns

    The profile of the user

    +
    +

    Returns Promise<{
        background?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        };
        content?: null | string;
    }>

+
+ +
+
+ +
    + +
  • +

    Remove a user from the friend list

    +
    +

    Returns Promise<void>

+
+ +
    + +
  • +

    Write to string as a user mention

    + +

    Returns

    Formatted String

    +
    +

    Returns string

+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/UserCollection.html b/classes/UserCollection.html new file mode 100644 index 00000000..18c3acc9 --- /dev/null +++ b/classes/UserCollection.html @@ -0,0 +1,1060 @@ +UserCollection | revolt.js
+
+ +
+
+
+
+ +

Class UserCollection

+
+

Collection of Users

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
#objects: ReactiveMap<string, User> = ...
+
+ +
#storage: ObjectStorage<HydratedUser> = ...
+
+ +
client: Client
+
+ +
getUnderlyingObject: ((id: string) => HydratedUser)
+
+

Type declaration

+
    +
  • +
      +
    • (id: string): HydratedUser
    • +
    • +
      +

      Parameters

      +
        +
      • +
        id: string
      +

      Returns HydratedUser

+
+ +
updateUnderlyingObject: SetStoreFunction<Record<string, HydratedUser>>
+
+

Methods

+
+ +
    + +
  • +

    Create a new instance of an object

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      type: "channel" | "user" | "server" | "bot" | "channelUnread" | "emoji" | "message" | "serverMember"
      +

      Type

      +
    • +
    • +
      instance: User
      +

      Instance

      +
    • +
    • +
      context: unknown
      +

      Context

      +
    • +
    • +
      Optional data: unknown
      +

      Data

      +
    +

    Returns void

+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Filter the collection by a given predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: User, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: User, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: User
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns User[]

+
+ +
    + +
  • +

    Find some value based on a predicate

    +
    +
    +

    Parameters

    +
      +
    • +
      predicate: ((value: User, key: string) => boolean)
      +

      Predicate to satisfy

      +
      +
        +
      • +
          +
        • (value: User, key: string): boolean
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: User
          • +
          • +
            key: string
          +

          Returns boolean

    +

    Returns undefined | User

+
+ +
    + +
  • +

    Execute a provided function over each key, value pair in the map

    + +

    Returns

    Iterable

    +
    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: User, key: string, map: ReactiveMap<string, User>) => void)
      +

      Callback for each pair

      +
      +
        +
      • +
          +
        • (value: User, key: string, map: ReactiveMap<string, User>): void
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: User
          • +
          • +
            key: string
          • +
          • +
            map: ReactiveMap<string, User>
          +

          Returns void

    +

    Returns void

+
+ +
+
+ +
    + +
  • +

    Get or create

    +
    +
    +

    Parameters

    +
      +
    • +
      id: string
      +

      Id

      +
    • +
    • +
      data: {
          _id: string;
          avatar?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          badges?: null | number;
          bot?: null | {
              owner: string;
          };
          flags?: null | number;
          online?: null | boolean;
          privileged?: boolean;
          profile?: null | {
              background?: null | {
                  _id: string;
                  content_type: string;
                  deleted?: null | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata: {
                      type: "File";
                  } | {
                      type: "Text";
                  } | {
                      height: number;
                      type: "Image";
                      width: number;
                  } | {
                      height: number;
                      type: "Video";
                      width: number;
                  } | {
                      type: "Audio";
                  };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              };
              content?: null | string;
          };
          relations?: null | {
              _id: string;
              status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther";
          }[];
          relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther";
          status?: null | {
              presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible";
              text?: null | string;
          };
          username: string;
      }
      +

      Data

      +
      +
        +
      • +
        _id: string
        +
        +

        Description

        Unique Id

        +
      • +
      • +
        Optional avatar?: null | {
            _id: string;
            content_type: string;
            deleted?: null | boolean;
            filename: string;
            message_id?: null | string;
            metadata: {
                type: "File";
            } | {
                type: "Text";
            } | {
                height: number;
                type: "Image";
                width: number;
            } | {
                height: number;
                type: "Video";
                width: number;
            } | {
                type: "Audio";
            };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }
        +
        +

        Description

        Avatar attachment

        +
      • +
      • +
        Optional badges?: null | number
        +

        Format: int32

        + +

        Description

        Bitfield of user badges

        +
      • +
      • +
        Optional bot?: null | {
            owner: string;
        }
        +
        +

        Description

        Bot information

        +
      • +
      • +
        Optional flags?: null | number
        +

        Format: int32

        + +

        Description

        Enum of user flags

        +
      • +
      • +
        Optional online?: null | boolean
        +
        +

        Description

        Whether this user is currently online

        +
      • +
      • +
        Optional privileged?: boolean
        +
        +

        Description

        Whether this user is privileged

        +
      • +
      • +
        Optional profile?: null | {
            background?: null | {
                _id: string;
                content_type: string;
                deleted?: null | boolean;
                filename: string;
                message_id?: null | string;
                metadata: {
                    type: "File";
                } | {
                    type: "Text";
                } | {
                    height: number;
                    type: "Image";
                    width: number;
                } | {
                    height: number;
                    type: "Video";
                    width: number;
                } | {
                    type: "Audio";
                };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            };
            content?: null | string;
        }
        +
        +

        Description

        User's profile page

        +
      • +
      • +
        Optional relations?: null | {
            _id: string;
            status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther";
        }[]
        +
        +

        Description

        Relationships with other users

        +
      • +
      • +
        Optional relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"
        +
        +

        Description

        Current session user's relationship with this user

        +
      • +
      • +
        Optional status?: null | {
            presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible";
            text?: null | string;
        }
        +
        +

        Description

        User's current status

        +
      • +
      • +
        username: string
        +
        +

        Description

        Username

        +
    +

    Returns User

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
    + +
  • +

    Map the collection using a given callback

    +
    +
    +

    Type Parameters

    +
      +
    • +

      O

    +
    +

    Parameters

    +
      +
    • +
      cb: ((value: User, key: string) => O)
      +

      Callback

      +
      +
        +
      • +
          +
        • (value: User, key: string): O
        • +
        • +
          +

          Parameters

          +
            +
          • +
            value: User
          • +
          • +
            key: string
          +

          Returns O

    +

    Returns O[]

+
+ +
+
+ +
+
+ +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/UserModeratedSystemMessage.html b/classes/UserModeratedSystemMessage.html new file mode 100644 index 00000000..2da7164e --- /dev/null +++ b/classes/UserModeratedSystemMessage.html @@ -0,0 +1,632 @@ +UserModeratedSystemMessage | revolt.js
+
+ +
+
+
+
+ +

Class UserModeratedSystemMessage

+
+

User Moderated System Message

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
by +user +
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +

    Construct System Message

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      systemMessage: ({
          content: string;
          type: "text";
      } | {
          by: string;
          id: string;
          type: "user_added";
      } | {
          by: string;
          id: string;
          type: "user_remove";
      } | {
          id: string;
          type: "user_joined";
      } | {
          id: string;
          type: "user_left";
      } | {
          id: string;
          type: "user_kicked";
      } | {
          id: string;
          type: "user_banned";
      } | {
          by: string;
          name: string;
          type: "channel_renamed";
      } | {
          by: string;
          type: "channel_description_changed";
      } | {
          by: string;
          type: "channel_icon_changed";
      } | {
          from: string;
          to: string;
          type: "channel_ownership_changed";
      }) & {
          type: "user_added" | "user_remove";
      }
      +

      System Message

      +
    +

    Returns UserModeratedSystemMessage

+
+

Properties

+
+ +
byId: string
+
+ +
client?: Client
+
+ +
type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"
+
+ +
userId: string
+
+

Accessors

+
+ +
+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Create an System Message from an API System Message

    + +

    Returns

    System Message

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      message: {
          content: string;
          type: "text";
      } | {
          by: string;
          id: string;
          type: "user_added";
      } | {
          by: string;
          id: string;
          type: "user_remove";
      } | {
          id: string;
          type: "user_joined";
      } | {
          id: string;
          type: "user_left";
      } | {
          id: string;
          type: "user_kicked";
      } | {
          id: string;
          type: "user_banned";
      } | {
          by: string;
          name: string;
          type: "channel_renamed";
      } | {
          by: string;
          type: "channel_description_changed";
      } | {
          by: string;
          type: "channel_icon_changed";
      } | {
          from: string;
          to: string;
          type: "channel_ownership_changed";
      }
    +

    Returns SystemMessage

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/UserSystemMessage.html b/classes/UserSystemMessage.html new file mode 100644 index 00000000..0f297b87 --- /dev/null +++ b/classes/UserSystemMessage.html @@ -0,0 +1,613 @@ +UserSystemMessage | revolt.js
+
+ +
+
+
+
+ +

Class UserSystemMessage

+
+

User System Message

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
    + +
  • +

    Construct System Message

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      systemMessage: ({
          content: string;
          type: "text";
      } | {
          by: string;
          id: string;
          type: "user_added";
      } | {
          by: string;
          id: string;
          type: "user_remove";
      } | {
          id: string;
          type: "user_joined";
      } | {
          id: string;
          type: "user_left";
      } | {
          id: string;
          type: "user_kicked";
      } | {
          id: string;
          type: "user_banned";
      } | {
          by: string;
          name: string;
          type: "channel_renamed";
      } | {
          by: string;
          type: "channel_description_changed";
      } | {
          by: string;
          type: "channel_icon_changed";
      } | {
          from: string;
          to: string;
          type: "channel_ownership_changed";
      }) & {
          type: "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned";
      }
      +

      System Message

      +
    +

    Returns UserSystemMessage

+
+

Properties

+
+ +
client?: Client
+
+ +
type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"
+
+ +
userId: string
+
+

Accessors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Create an System Message from an API System Message

    + +

    Returns

    System Message

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      message: {
          content: string;
          type: "text";
      } | {
          by: string;
          id: string;
          type: "user_added";
      } | {
          by: string;
          id: string;
          type: "user_remove";
      } | {
          id: string;
          type: "user_joined";
      } | {
          id: string;
          type: "user_left";
      } | {
          id: string;
          type: "user_kicked";
      } | {
          id: string;
          type: "user_banned";
      } | {
          by: string;
          name: string;
          type: "channel_renamed";
      } | {
          by: string;
          type: "channel_description_changed";
      } | {
          by: string;
          type: "channel_icon_changed";
      } | {
          from: string;
          to: string;
          type: "channel_ownership_changed";
      }
    +

    Returns SystemMessage

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/VideoEmbed.html b/classes/VideoEmbed.html new file mode 100644 index 00000000..794d0fc9 --- /dev/null +++ b/classes/VideoEmbed.html @@ -0,0 +1,627 @@ +VideoEmbed | revolt.js
+
+ +
+
+
+
+ +

Class VideoEmbed

+
+

Video Embed

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
height: number
+
+ +
type: "None" | "Website" | "Image" | "Video" | "Text"
+
+ +
url: string
+
+ +
width: number
+
+

Accessors

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Create an Embed from an API Embed

    + +

    Returns

    Embed

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      embed: {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          image?: null | {
              height: number;
              size: "Large" | "Preview";
              url: string;
              width: number;
          };
          original_url?: null | string;
          site_name?: null | string;
          special?: null | {
              type: "None";
          } | {
              type: "GIF";
          } | {
              id: string;
              timestamp?: null | string;
              type: "YouTube";
          } | {
              content_type: "Channel";
              id: string;
              type: "Lightspeed";
          } | {
              content_type: "Channel" | "Video" | "Clip";
              id: string;
              type: "Twitch";
          } | {
              content_type: string;
              id: string;
              type: "Spotify";
          } | {
              type: "Soundcloud";
          } | {
              content_type: "Album" | "Track";
              id: string;
              type: "Bandcamp";
          } | {
              id: string;
              type: "Streamable";
          };
          title?: null | string;
          type: "Website";
          url?: null | string;
          video?: null | {
              height: number;
              url: string;
              width: number;
          };
      } | {
          height: number;
          size: "Large" | "Preview";
          type: "Image";
          url: string;
          width: number;
      } | {
          height: number;
          type: "Video";
          url: string;
          width: number;
      } | {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          media?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          title?: null | string;
          type: "Text";
          url?: null | string;
      } | {
          type: "None";
      }
      +

      Data

      +
    +

    Returns MessageEmbed

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/WebsiteEmbed.html b/classes/WebsiteEmbed.html new file mode 100644 index 00000000..b3fd18de --- /dev/null +++ b/classes/WebsiteEmbed.html @@ -0,0 +1,688 @@ +WebsiteEmbed | revolt.js
+
+ +
+
+
+
+ +

Class WebsiteEmbed

+
+

Website Embed

+
+
+

Hierarchy

+
+
+
+
+ +
+
+

Constructors

+
+
+

Properties

+
+
+

Accessors

+
+
+

Methods

+
+
+

Constructors

+
+ +
+
+

Properties

+
+ +
client?: Client
+
+ +
colour?: string
+
+ +
description?: string
+
+ +
iconUrl?: string
+
+ +
image?: ImageEmbed
+
+ +
originalUrl?: string
+
+ +
siteName?: string
+
+ +
specialContent?: {
    type: "None";
} | {
    type: "GIF";
} | {
    id: string;
    timestamp?: null | string;
    type: "YouTube";
} | {
    content_type: "Channel";
    id: string;
    type: "Lightspeed";
} | {
    content_type: "Channel" | "Video" | "Clip";
    id: string;
    type: "Twitch";
} | {
    content_type: string;
    id: string;
    type: "Spotify";
} | {
    type: "Soundcloud";
} | {
    content_type: "Album" | "Track";
    id: string;
    type: "Bandcamp";
} | {
    id: string;
    type: "Streamable";
}
+
+ +
title?: string
+
+ +
type: "None" | "Website" | "Image" | "Video" | "Text"
+
+ +
url?: string
+
+ +
video?: VideoEmbed
+
+

Accessors

+
+ +
    +
  • get embedURL(): undefined | string
  • +
  • +

    If special content is present, generate the embed URL

    +
    +

    Returns undefined | string

+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Create an Embed from an API Embed

    + +

    Returns

    Embed

    +
    +
    +

    Parameters

    +
      +
    • +
      client: Client
      +

      Client

      +
    • +
    • +
      embed: {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          image?: null | {
              height: number;
              size: "Large" | "Preview";
              url: string;
              width: number;
          };
          original_url?: null | string;
          site_name?: null | string;
          special?: null | {
              type: "None";
          } | {
              type: "GIF";
          } | {
              id: string;
              timestamp?: null | string;
              type: "YouTube";
          } | {
              content_type: "Channel";
              id: string;
              type: "Lightspeed";
          } | {
              content_type: "Channel" | "Video" | "Clip";
              id: string;
              type: "Twitch";
          } | {
              content_type: string;
              id: string;
              type: "Spotify";
          } | {
              type: "Soundcloud";
          } | {
              content_type: "Album" | "Track";
              id: string;
              type: "Bandcamp";
          } | {
              id: string;
              type: "Streamable";
          };
          title?: null | string;
          type: "Website";
          url?: null | string;
          video?: null | {
              height: number;
              url: string;
              width: number;
          };
      } | {
          height: number;
          size: "Large" | "Preview";
          type: "Image";
          url: string;
          width: number;
      } | {
          height: number;
          type: "Video";
          url: string;
          width: number;
      } | {
          colour?: null | string;
          description?: null | string;
          icon_url?: null | string;
          media?: null | {
              _id: string;
              content_type: string;
              deleted?: null | boolean;
              filename: string;
              message_id?: null | string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          };
          title?: null | string;
          type: "Text";
          url?: null | string;
      } | {
          type: "None";
      }
      +

      Data

      +
    +

    Returns MessageEmbed

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/classes/index.API.API.html b/classes/index.API.API.html deleted file mode 100644 index aab3ad36..00000000 --- a/classes/index.API.API.html +++ /dev/null @@ -1,871 +0,0 @@ - - - - - - API | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class API

-
-
-
-
-
-
-
-
-
-

API Client

-
-
-
-
-

Hierarchy

-
    -
  • - API -
  • -
-
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Accessors

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

-
    -
  • new API(__namedParameters?: Partial<Options>): API
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      Optional __namedParameters: Partial<Options>
      -
    • -
    -

    Returns API

    -
  • -
-
-
-
-

Properties

-
- -

Private authentication

-
authentication: any
- -
-
- -

Private baseURL

-
baseURL: any
- -
-
-
-

Accessors

-
- -

auth

-
    -
  • get auth(): AxiosRequestConfig<any>
  • -
-
    -
  • - -
    -
    -

    Generate authentication options.

    -
    -
    -

    Returns AxiosRequestConfig<any>

    -
  • -
-
-
- -

config

-
    -
  • get config(): AxiosRequestConfig<any>
  • -
-
    -
  • - -
    -
    -

    Generate config to pass through to API.

    -
    -
    -

    Returns AxiosRequestConfig<any>

    -
  • -
-
-
-
-

Methods

-
- -

delete

-
    -
  • delete<Path, Route>(path: Path, params?: any, config?: AxiosRequestConfig<any>): Promise<Route["response"]>
  • -
  • delete<Path, Route>(path: Path, params?: any): Promise<Route["response"]>
  • -
-
    -
  • - -
    -
    -

    Send HTTP DELETE request.

    -
    -
    -

    Type parameters

    -
      -
    • -

      Path: "/auth/mfa/totp" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/invites/${string}` | "-/invites/{target}" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/users/${string}/friend` | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/messages/bulk` | "-/channels/{target}/messages/bulk" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/messages/${string}/reactions/${string}` | "-/channels/{target}/messages/{msg}/reactions/{emoji}" | `/channels/${string}/messages/${string}/reactions` | "-/channels/{target}/messages/{msg}/reactions" | `/servers/${string}/bans/${string}` | "-/servers/{server}/bans/{target}" | `/servers/${string}/roles/${string}` | "-/servers/{target}/roles/{role_id}" | `/auth/session/${string}` | "-/auth/session/{id}"

      -
    • -
    • -

      Route: APIRoutes & { method: "delete" } & { parts: Count<Path, "/", []>; path: Path }

      -
    • -
    -

    Parameters

    -
      -
    • -
      path: Path
      -
      -

      Path

      -
      -
    • -
    • -
      Optional params: any
      -
      -

      Body or Query Parameters

      -
      -
    • -
    • -
      Optional config: AxiosRequestConfig<any>
      -
      -

      Axios configuration

      -
      -
    • -
    -

    Returns Promise<Route["response"]>

    -

    Typed Response Data

    -
  • -
  • - -
    -
    -

    Send HTTP DELETE request.

    -
    -
    -

    Type parameters

    -
      -
    • -

      Path: "/auth/mfa/totp" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/invites/${string}` | "-/invites/{target}" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/users/${string}/friend` | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/messages/${string}/reactions` | "-/channels/{target}/messages/{msg}/reactions" | `/servers/${string}/bans/${string}` | "-/servers/{server}/bans/{target}" | `/servers/${string}/roles/${string}` | "-/servers/{target}/roles/{role_id}" | `/auth/session/${string}` | "-/auth/session/{id}"

      -
    • -
    • -

      Route: APIRoutes & { method: "delete" } & { parts: Count<Path, "/", []>; path: Path }

      -
    • -
    -

    Parameters

    -
      -
    • -
      path: Path
      -
      -

      Path

      -
      -
    • -
    • -
      Optional params: any
      -
      -

      Body or Query Parameters

      -
      -
    • -
    -

    Returns Promise<Route["response"]>

    -

    Typed Response Data

    -
  • -
-
-
- -

get

-
    -
  • get<Path, Route>(path: Path, params: Route["params"], config?: AxiosRequestConfig<any>): Promise<Route["response"]>
  • -
  • get<Path, Route>(path: Path): Promise<Route["response"]>
  • -
-
    -
  • - -
    -
    -

    Send HTTP GET request.

    -
    -
    -

    Type parameters

    -
      -
    • -

      Path: "/auth/session/all" | "/" | "/admin/stats" | `/users/${string}` | "-/users/{target}" | `/users/${string}/flags` | "-/users/{target}/flags" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/servers/${string}/emojis` | "-/servers/{target}/emojis" | `/invites/${string}` | "-/invites/{target}" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/safety/report/${string}` | "-/safety/report/{id}" | "/safety/reports" | `/safety/snapshot/${string}` | "-/safety/snapshot/{report_id}" | "/auth/account/" | "/auth/mfa/" | "/auth/mfa/methods" | "/onboard/hello" | "/sync/unreads" | `/channels/${string}/messages` | "-/channels/{target}/messages" | `/servers/${string}/members` | "-/servers/{target}/members"

      -
    • -
    • -

      Route: APIRoutes & { method: "get" } & { parts: Count<Path, "/", []>; path: Path }

      -
    • -
    -

    Parameters

    -
      -
    • -
      path: Path
      -
      -

      Path

      -
      -
    • -
    • -
      params: Route["params"]
      -
      -

      Body or Query Parameters

      -
      -
    • -
    • -
      Optional config: AxiosRequestConfig<any>
      -
      -

      Axios configuration

      -
      -
    • -
    -

    Returns Promise<Route["response"]>

    -

    Typed Response Data

    -
  • -
  • - -
    -
    -

    Send HTTP GET request.

    -
    -
    -

    Type parameters

    -
      -
    • -

      Path: "/auth/session/all" | "/" | "/admin/stats" | `/users/${string}` | "-/users/{target}" | `/users/${string}/flags` | "-/users/{target}/flags" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/servers/${string}/emojis` | "-/servers/{target}/emojis" | `/invites/${string}` | "-/invites/{target}" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/safety/report/${string}` | "-/safety/report/{id}" | "/safety/reports" | `/safety/snapshot/${string}` | "-/safety/snapshot/{report_id}" | "/auth/account/" | "/auth/mfa/" | "/auth/mfa/methods" | "/onboard/hello" | "/sync/unreads"

      -
    • -
    • -

      Route: APIRoutes & { method: "get" } & { parts: Count<Path, "/", []>; path: Path }

      -
    • -
    -

    Parameters

    -
      -
    • -
      path: Path
      -
      -

      Path

      -
      -
    • -
    -

    Returns Promise<Route["response"]>

    -

    Typed Response Data

    -
  • -
-
-
- -

patch

-
    -
  • patch<Path, Route>(path: Path, params: Route["params"], config?: AxiosRequestConfig<any>): Promise<Route["response"]>
  • -
  • patch<Path, Route>(path: Path): Promise<Route["response"]>
  • -
-
    -
  • - -
    -
    -

    Send HTTP PATCH request.

    -
    -
    -

    Type parameters

    -
      -
    • -

      Path: "/auth/account/change/password" | "/auth/account/change/email" | "/auth/account/reset_password" | `/users/${string}` | "-/users/{target}" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{server}/members/{target}" | `/servers/${string}/roles/${string}` | "-/servers/{target}/roles/{role_id}" | `/safety/reports/${string}` | "-/safety/reports/{report}" | `/auth/session/${string}` | "-/auth/session/{id}" | "/auth/mfa/recovery"

      -
    • -
    • -

      Route: APIRoutes & { method: "patch" } & { parts: Count<Path, "/", []>; path: Path }

      -
    • -
    -

    Parameters

    -
      -
    • -
      path: Path
      -
      -

      Path

      -
      -
    • -
    • -
      params: Route["params"]
      -
      -

      Body or Query Parameters

      -
      -
    • -
    • -
      Optional config: AxiosRequestConfig<any>
      -
      -

      Axios configuration

      -
      -
    • -
    -

    Returns Promise<Route["response"]>

    -

    Typed Response Data

    -
  • -
  • - -
    -
    -

    Send HTTP PATCH request.

    -
    -
    -

    Type parameters

    -
      -
    • -

      Path: "/auth/mfa/recovery"

      -
    • -
    • -

      Route: APIRoutes & { method: "patch" } & { parts: Count<Path, "/", []>; path: Path }

      -
    • -
    -

    Parameters

    -
      -
    • -
      path: Path
      -
      -

      Path

      -
      -
    • -
    -

    Returns Promise<Route["response"]>

    -

    Typed Response Data

    -
  • -
-
-
- -

post

-
    -
  • post<Path, Route>(path: Path, params: Route["params"], config?: AxiosRequestConfig<any>): Promise<Route["response"]>
  • -
  • post<Path, Route>(path: Path): Promise<Route["response"]>
  • -
-
    -
  • - -
    -
    -

    Send HTTP POST request.

    -
    -
    -

    Type parameters

    -
      -
    • -

      Path: "/admin/messages" | "/users/friend" | "/bots/create" | "/channels/create" | "/servers/create" | "/safety/report" | "/auth/account/create" | "/auth/account/reverify" | "/auth/account/delete" | "/auth/account/reset_password" | "/auth/session/login" | "/auth/mfa/totp" | "/onboard/complete" | "/push/subscribe" | "/sync/settings/fetch" | "/sync/settings/set" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/invites/${string}` | "-/invites/{target}" | `/channels/${string}/invites` | "-/channels/{target}/invites" | `/channels/${string}/messages` | "-/channels/{target}/messages" | `/channels/${string}/search` | "-/channels/{target}/search" | `/channels/${string}/messages/stale` | "-/channels/{_target}/messages/stale" | `/channels/${string}/join_call` | "-/channels/{target}/join_call" | `/servers/${string}/channels` | "-/servers/{target}/channels" | `/servers/${string}/roles` | "-/servers/{target}/roles" | "/auth/account/disable" | `/auth/account/verify/${string}` | "-/auth/account/verify/{code}" | "/auth/session/logout" | "/auth/mfa/recovery" | "/push/unsubscribe"

      -
    • -
    • -

      Route: APIRoutes & { method: "post" } & { parts: Count<Path, "/", []>; path: Path }

      -
    • -
    -

    Parameters

    -
      -
    • -
      path: Path
      -
      -

      Path

      -
      -
    • -
    • -
      params: Route["params"]
      -
      -

      Body or Query Parameters

      -
      -
    • -
    • -
      Optional config: AxiosRequestConfig<any>
      -
      -

      Axios configuration

      -
      -
    • -
    -

    Returns Promise<Route["response"]>

    -

    Typed Response Data

    -
  • -
  • - -
    -
    -

    Send HTTP POST request.

    -
    -
    -

    Type parameters

    -
      -
    • -

      Path: "/auth/account/delete" | "/auth/mfa/totp" | `/invites/${string}` | "-/invites/{target}" | `/channels/${string}/invites` | "-/channels/{target}/invites" | `/channels/${string}/join_call` | "-/channels/{target}/join_call" | "/auth/account/disable" | `/auth/account/verify/${string}` | "-/auth/account/verify/{code}" | "/auth/session/logout" | "/auth/mfa/recovery" | "/push/unsubscribe"

      -
    • -
    • -

      Route: APIRoutes & { method: "post" } & { parts: Count<Path, "/", []>; path: Path }

      -
    • -
    -

    Parameters

    -
      -
    • -
      path: Path
      -
      -

      Path

      -
      -
    • -
    -

    Returns Promise<Route["response"]>

    -

    Typed Response Data

    -
  • -
-
-
- -

put

-
    -
  • put<Path, Route>(path: Path, params: Route["params"], config?: AxiosRequestConfig<any>): Promise<Route["response"]>
  • -
  • put<Path, Route>(path: Path): Promise<Route["response"]>
  • -
-
    -
  • - -
    -
    -

    Send HTTP PUT request.

    -
    -
    -

    Type parameters

    -
      -
    • -

      Path: "/auth/account/delete" | "/auth/mfa/ticket" | "/auth/mfa/totp" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/users/${string}/friend` | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/ack/${string}` | "-/channels/{target}/ack/{message}" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/permissions/${string}` | "-/channels/{target}/permissions/{role_id}" | `/channels/${string}/permissions/default` | "-/channels/{target}/permissions/default" | `/channels/${string}/messages/${string}/reactions/${string}` | "-/channels/{target}/messages/{msg}/reactions/{emoji}" | `/servers/${string}/ack` | "-/servers/{target}/ack" | `/servers/${string}/bans/${string}` | "-/servers/{server}/bans/{target}" | `/servers/${string}/permissions/${string}` | "-/servers/{target}/permissions/{role_id}" | `/servers/${string}/permissions/default` | "-/servers/{target}/permissions/default"

      -
    • -
    • -

      Route: APIRoutes & { method: "put" } & { parts: Count<Path, "/", []>; path: Path }

      -
    • -
    -

    Parameters

    -
      -
    • -
      path: Path
      -
      -

      Path

      -
      -
    • -
    • -
      params: Route["params"]
      -
      -

      Body or Query Parameters

      -
      -
    • -
    • -
      Optional config: AxiosRequestConfig<any>
      -
      -

      Axios configuration

      -
      -
    • -
    -

    Returns Promise<Route["response"]>

    -

    Typed Response Data

    -
  • -
  • - -
    -
    -

    Send HTTP PUT request.

    -
    -
    -

    Type parameters

    -
      -
    • -

      Path: `/users/${string}/friend` | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/ack/${string}` | "-/channels/{target}/ack/{message}" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/messages/${string}/reactions/${string}` | "-/channels/{target}/messages/{msg}/reactions/{emoji}" | `/servers/${string}/ack` | "-/servers/{target}/ack"

      -
    • -
    • -

      Route: APIRoutes & { method: "put" } & { parts: Count<Path, "/", []>; path: Path }

      -
    • -
    -

    Parameters

    -
      -
    • -
      path: Path
      -
      -

      Path

      -
      -
    • -
    -

    Returns Promise<Route["response"]>

    -

    Typed Response Data

    -
  • -
-
-
- -

req

-
    -
  • req<Method, Routes, Path, Route>(method: Method, path: Path, params: Route["params"], config?: AxiosRequestConfig<any>): Promise<Route["response"]>
  • -
-
    -
  • - -
    -
    -

    Send any arbitrary request.

    -
    -
    -

    Type parameters

    -
      -
    • -

      Method: "get" | "post" | "patch" | "put" | "delete"

      -
    • -
    • -

      Routes: PickRoutes<Method>

      -
    • -
    • -

      Path: "/admin/messages" | "/safety/report" | "/auth/account/create" | "/auth/account/reverify" | "/auth/account/delete" | "/auth/account/change/password" | "/auth/account/change/email" | "/auth/account/reset_password" | "/auth/mfa/ticket" | "/auth/mfa/totp" | "/onboard/complete" | "/push/subscribe" | "/sync/settings/fetch" | "/sync/settings/set" | "/" | "/admin/stats" | `/users/${string}` | "-/users/{target}" | `/users/${string}/flags` | "-/users/{target}/flags" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/servers/${string}/emojis` | "-/servers/{target}/emojis" | `/invites/${string}` | "-/invites/{target}" | `/custom/emoji/${string}` | "-/custom/emoji/{id}" | `/safety/report/${string}` | "-/safety/report/{id}" | "/safety/reports" | `/safety/snapshot/${string}` | "-/safety/snapshot/{report_id}" | "/auth/account/" | "/auth/mfa/" | "/auth/mfa/methods" | "/onboard/hello" | "/sync/unreads" | `/users/${string}/friend` | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/ack/${string}` | "-/channels/{target}/ack/{message}" | `/channels/${string}/invites` | "-/channels/{target}/invites" | `/channels/${string}/messages` | "-/channels/{target}/messages" | `/channels/${string}/search` | "-/channels/{target}/search" | `/channels/${string}/messages/stale` | "-/channels/{_target}/messages/stale" | `/channels/${string}/messages/bulk` | "-/channels/{target}/messages/bulk" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/join_call` | "-/channels/{target}/join_call" | `/channels/${string}/permissions/${string}` | "-/channels/{target}/permissions/{role_id}" | `/channels/${string}/permissions/default` | "-/channels/{target}/permissions/default" | `/channels/${string}/messages/${string}/reactions/${string}` | "-/channels/{target}/messages/{msg}/reactions/{emoji}" | `/channels/${string}/messages/${string}/reactions` | "-/channels/{target}/messages/{msg}/reactions" | `/servers/${string}/ack` | "-/servers/{target}/ack" | `/servers/${string}/channels` | "-/servers/{target}/channels" | `/servers/${string}/members` | "-/servers/{target}/members" | "-/servers/{server}/members/{target}" | `/servers/${string}/bans/${string}` | "-/servers/{server}/bans/{target}" | `/servers/${string}/roles` | "-/servers/{target}/roles" | `/servers/${string}/roles/${string}` | "-/servers/{target}/roles/{role_id}" | `/servers/${string}/permissions/${string}` | "-/servers/{target}/permissions/{role_id}" | `/servers/${string}/permissions/default` | "-/servers/{target}/permissions/default" | `/safety/reports/${string}` | "-/safety/reports/{report}" | "/auth/account/disable" | `/auth/account/verify/${string}` | "-/auth/account/verify/{code}" | `/auth/session/${string}` | "-/auth/session/{id}" | "/auth/mfa/recovery" | "/push/unsubscribe"

      -
    • -
    • -

      Route: { method: "get"; params: undefined; parts: 1; path: "/"; response: { app: string; build: { commit_sha: string; commit_timestamp: string; origin_url: string; semver: string; timestamp: string }; features: { autumn: { enabled: boolean; url: string }; captcha: { enabled: boolean; key: string }; email: boolean; invite_only: boolean; january: { enabled: boolean; url: string }; voso: { enabled: boolean; url: string; ws: string } }; revolt: string; vapid: string; ws: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/admin/stats"; response: { coll_stats: {}; indices: {} } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { nearby: string } & { author?: null | string; channel?: null | string; limit?: null | number; query?: null | string } & { after?: null | string; before?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" } & { author?: null | string; channel?: null | string; limit?: null | number; query?: null | string }; parts: 2; path: "/admin/messages"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/users/@me"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/users/${string}`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/users/{target}"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { avatar?: null | string; badges?: null | number; flags?: null | number; profile?: null | { background?: null | string; content?: null | string }; remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string } }; parts: 2; path: `/users/${string}`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { avatar?: null | string; badges?: null | number; flags?: null | number; profile?: null | { background?: null | string; content?: null | string }; remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string } }; parts: 2; path: "-/users/{target}"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/flags`; response: { flags: number } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/flags"; response: { flags: number } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { password: string; username: string }; parts: 3; path: "/users/@me/username"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/default_avatar`; response: string } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/default_avatar"; response: string } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/profile`; response: { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/profile"; response: { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/users/dms"; response: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/dm`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/dm"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/mutual`; response: { servers: string[]; users: string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/mutual"; response: { servers: string[]; users: string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: `/users/${string}/friend`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: "-/users/{target}/friend"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: `/users/${string}/friend`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: "-/users/{target}/friend"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: `/users/${string}/block`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: "-/users/{target}/block"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: `/users/${string}/block`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: "-/users/{target}/block"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { username: string }; parts: 2; path: "/users/friend"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { name: string }; parts: 2; path: "/bots/create"; response: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/bots/${string}/invite`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; description?: null | string; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/bots/{target}/invite"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; description?: null | string; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { server: string } | { group: string }; parts: 3; path: `/bots/${string}/invite`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { server: string } | { group: string }; parts: 3; path: "-/bots/{target}/invite"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/bots/${string}`; response: { bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string }; user: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/bots/{target}"; response: { bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string }; user: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: `/bots/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: "-/bots/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; interactions_url?: null | string; name?: null | string; public?: null | boolean; remove?: null | ("Token" | "InteractionsURL")[] }; parts: 2; path: `/bots/${string}`; response: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; interactions_url?: null | string; name?: null | string; public?: null | boolean; remove?: null | ("Token" | "InteractionsURL")[] }; parts: 2; path: "-/bots/{target}"; response: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/bots/@me"; response: { bots: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: `/channels/${string}/ack/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: "-/channels/{target}/ack/{message}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/channels/${string}`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/channels/{target}"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { leave_silently?: null | boolean }; parts: 2; path: `/channels/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { leave_silently?: null | boolean }; parts: 2; path: "-/channels/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { archived?: null | boolean; description?: null | string; icon?: null | string; name?: null | string; nsfw?: null | boolean; owner?: null | string; remove?: null | ("Description" | "Icon" | "DefaultPermissions")[] }; parts: 2; path: `/channels/${string}`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { archived?: null | boolean; description?: null | string; icon?: null | string; name?: null | string; nsfw?: null | boolean; owner?: null | string; remove?: null | ("Description" | "Icon" | "DefaultPermissions")[] }; parts: 2; path: "-/channels/{target}"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/channels/${string}/members`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/channels/{target}/members"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: `/channels/${string}/invites`; response: { _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "-/channels/{target}/invites"; response: { _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }; parts: 3; path: `/channels/${string}/messages`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }; parts: 3; path: "-/channels/{target}/messages"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; interactions?: null | { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }; parts: 3; path: `/channels/${string}/messages`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; interactions?: null | { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }; parts: 3; path: "-/channels/{target}/messages"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }; parts: 3; path: `/channels/${string}/search`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }; parts: 3; path: "-/channels/{target}/search"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { ids: string[] }; parts: 4; path: `/channels/${string}/messages/stale`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { ids: string[] }; parts: 4; path: "-/channels/{_target}/messages/stale"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: `/channels/${string}/messages/${string}`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: "-/channels/{target}/messages/{msg}"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/channels/${string}/messages/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/channels/{target}/messages/{msg}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[] }; parts: 4; path: `/channels/${string}/messages/${string}`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[] }; parts: 4; path: "-/channels/{target}/messages/{msg}"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { ids: string[] }; parts: 4; path: `/channels/${string}/messages/bulk`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { ids: string[] }; parts: 4; path: "-/channels/{target}/messages/bulk"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean; users: string[] }; parts: 2; path: "/channels/create"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: `/channels/${string}/recipients/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: "-/channels/{target}/recipients/{member}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/channels/${string}/recipients/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/channels/{target}/recipients/{member}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: `/channels/${string}/join_call`; response: { token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "-/channels/{target}/join_call"; response: { token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: `/channels/${string}/permissions/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: "-/channels/{target}/permissions/{role_id}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: `/channels/${string}/permissions/default`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: "-/channels/{target}/permissions/default"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 6; path: `/channels/${string}/messages/${string}/reactions/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 6; path: "-/channels/{target}/messages/{msg}/reactions/{emoji}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { remove_all?: null | boolean; user_id?: null | string }; parts: 6; path: `/channels/${string}/messages/${string}/reactions/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { remove_all?: null | boolean; user_id?: null | string }; parts: 6; path: "-/channels/{target}/messages/{msg}/reactions/{emoji}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 5; path: `/channels/${string}/messages/${string}/reactions`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 5; path: "-/channels/{target}/messages/{msg}/reactions"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean }; parts: 2; path: "/servers/create"; response: { channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]; server: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/servers/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/servers/{target}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { leave_silently?: null | boolean }; parts: 2; path: `/servers/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { leave_silently?: null | boolean }; parts: 2; path: "-/servers/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; banner?: null | string; categories?: null | { channels: string[]; id: string; title: string }[]; description?: null | string; discoverable?: null | boolean; flags?: null | number; icon?: null | string; name?: null | string; remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; parts: 2; path: `/servers/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; banner?: null | string; categories?: null | { channels: string[]; id: string; title: string }[]; description?: null | string; discoverable?: null | boolean; flags?: null | number; icon?: null | string; name?: null | string; remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; parts: 2; path: "-/servers/{target}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: `/servers/${string}/ack`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: "-/servers/{target}/ack"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean; type?: "Text" | "Voice" }; parts: 3; path: `/servers/${string}/channels`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean; type?: "Text" | "Voice" }; parts: 3; path: "-/servers/{target}/channels"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { exclude_offline?: null | boolean }; parts: 3; path: `/servers/${string}/members`; response: { members: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { exclude_offline?: null | boolean }; parts: 3; path: "-/servers/{target}/members"; response: { members: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: `/servers/${string}/members/${string}`; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: "-/servers/{target}/members/{member}"; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/servers/${string}/members/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/servers/{target}/members/{member}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { avatar?: null | string; nickname?: null | string; remove?: null | ("Nickname" | "Avatar" | "Roles" | "Timeout")[]; roles?: null | string[]; timeout?: null | string }; parts: 4; path: `/servers/${string}/members/${string}`; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { avatar?: null | string; nickname?: null | string; remove?: null | ("Nickname" | "Avatar" | "Roles" | "Timeout")[]; roles?: null | string[]; timeout?: null | string }; parts: 4; path: "-/servers/{server}/members/{target}"; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { reason?: null | string }; parts: 4; path: `/servers/${string}/bans/${string}`; response: { _id: { server: string; user: string }; reason?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { reason?: null | string }; parts: 4; path: "-/servers/{server}/bans/{target}"; response: { _id: { server: string; user: string }; reason?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/servers/${string}/bans/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/servers/{server}/bans/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/servers/${string}/bans`; response: { bans: { _id: { server: string; user: string }; reason?: null | string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/servers/{target}/bans"; response: { bans: { _id: { server: string; user: string }; reason?: null | string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/servers/${string}/invites`; response: ({ _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" })[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/servers/{target}/invites"; response: ({ _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" })[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { name: string; rank?: null | number }; parts: 3; path: `/servers/${string}/roles`; response: { id: string; role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { name: string; rank?: null | number }; parts: 3; path: "-/servers/{target}/roles"; response: { id: string; role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/servers/${string}/roles/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/servers/{target}/roles/{role_id}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { colour?: null | string; hoist?: null | boolean; name?: null | string; rank?: null | number; remove?: null | "Colour"[] }; parts: 4; path: `/servers/${string}/roles/${string}`; response: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { colour?: null | string; hoist?: null | boolean; name?: null | string; rank?: null | number; remove?: null | "Colour"[] }; parts: 4; path: "-/servers/{target}/roles/{role_id}"; response: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: `/servers/${string}/permissions/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: "-/servers/{target}/permissions/{role_id}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: `/servers/${string}/permissions/default`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: "-/servers/{target}/permissions/default"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/servers/${string}/emojis`; response: { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/servers/{target}/emojis"; response: { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/invites/${string}`; response: { channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_flags?: null | number; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/invites/{target}"; response: { channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_flags?: null | number; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 2; path: `/invites/${string}`; response: { channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]; server: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; type: "Server" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 2; path: "-/invites/{target}"; response: { channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]; server: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; type: "Server" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: `/invites/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: "-/invites/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/custom/emoji/${string}`; response: { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/custom/emoji/{id}"; response: { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } }; parts: 3; path: `/custom/emoji/${string}`; response: { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } }; parts: 3; path: "-/custom/emoji/{id}"; response: { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: `/custom/emoji/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: "-/custom/emoji/{id}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { notes?: null | string; status?: null | { status: "Created" } | { rejection_reason: string; status: "Rejected" } | { status: "Resolved" } }; parts: 3; path: `/safety/reports/${string}`; response: { status: "Created" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } & { rejection_reason: string; status: "Rejected" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } & { status: "Resolved" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { notes?: null | string; status?: null | { status: "Created" } | { rejection_reason: string; status: "Rejected" } | { status: "Resolved" } }; parts: 3; path: "-/safety/reports/{report}"; response: { status: "Created" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } & { rejection_reason: string; status: "Rejected" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } & { status: "Resolved" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/safety/report/${string}`; response: { status: "Created" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } & { rejection_reason: string; status: "Rejected" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } & { status: "Resolved" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/safety/report/{id}"; response: { status: "Created" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } & { rejection_reason: string; status: "Rejected" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } & { status: "Resolved" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/safety/reports"; response: ({ status: "Created" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } & { rejection_reason: string; status: "Rejected" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string } & { status: "Resolved" } & { _id: string; additional_context: string; author_id: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" }; notes?: string })[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { additional_context?: string; content: { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Message" } | { id: string; report_reason: "NoneSpecified" | "Illegal" | "PromotesHarm" | "SpamAbuse" | "Malware" | "Harassment"; type: "Server" } | { id: string; report_reason: "NoneSpecified" | "SpamAbuse" | "InappropriateProfile" | "Impersonation" | "BanEvasion" | "Underage"; type: "User" } }; parts: 2; path: "/safety/report"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/safety/snapshot/${string}`; response: { _channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]; _id: string; _server?: null | { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; _users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[]; content: { _id: string; _leading_context?: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[]; _prior_context?: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[]; _type: "Message"; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } } | { _id: string; _type: "Server"; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } | { _id: string; _type: "User"; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }; report_id: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/safety/snapshot/{report_id}"; response: { _channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]; _id: string; _server?: null | { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; _users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }[]; content: { _id: string; _leading_context?: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[]; _prior_context?: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }[]; _type: "Message"; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } } | { _id: string; _type: "Server"; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } | { _id: string; _type: "User"; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }; report_id: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { captcha?: null | string; email: string; invite?: null | string; password: string }; parts: 3; path: "/auth/account/create"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { captcha?: null | string; email: string }; parts: 3; path: "/auth/account/reverify"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { token: string }; parts: 3; path: "/auth/account/delete"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "/auth/account/delete"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "/auth/account/"; response: { _id: string; email: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "/auth/account/disable"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { current_password: string; password: string }; parts: 4; path: "/auth/account/change/password"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { current_password: string; email: string }; parts: 4; path: "/auth/account/change/email"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 4; path: `/auth/account/verify/${string}`; response: unknown } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 4; path: "-/auth/account/verify/{code}"; response: unknown } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { captcha?: null | string; email: string }; parts: 3; path: "/auth/account/reset_password"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { password: string; remove_sessions?: boolean; token: string }; parts: 3; path: "/auth/account/reset_password"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { email: string; friendly_name?: null | string; password: string } | { friendly_name?: null | string; mfa_response?: null | { password: string } | { recovery_code: string } | { totp_code: string }; mfa_ticket: string }; parts: 3; path: "/auth/session/login"; response: { _id: string; name: string; result: "Success"; subscription?: null | { auth: string; endpoint: string; p256dh: string }; token: string; user_id: string } | { allowed_methods: ("Password" | "Recovery" | "Totp")[]; result: "MFA"; ticket: string } | { result: "Disabled"; user_id: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "/auth/session/logout"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "/auth/session/all"; response: { _id: string; name: string }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { revoke_self?: null | boolean }; parts: 3; path: "/auth/session/all"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: `/auth/session/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: "-/auth/session/{id}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { friendly_name: string }; parts: 3; path: `/auth/session/${string}`; response: { _id: string; name: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { friendly_name: string }; parts: 3; path: "-/auth/session/{id}"; response: { _id: string; name: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { password: string } | { recovery_code: string } | { totp_code: string }; parts: 3; path: "/auth/mfa/ticket"; response: { _id: string; account_id: string; authorised: boolean; last_totp_code?: null | string; token: string; validated: boolean } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "/auth/mfa/"; response: { email_mfa: boolean; email_otp: boolean; recovery_active: boolean; security_key_mfa: boolean; totp_mfa: boolean; trusted_handover: boolean } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "/auth/mfa/recovery"; response: string[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: undefined; parts: 3; path: "/auth/mfa/recovery"; response: string[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "/auth/mfa/methods"; response: ("Password" | "Recovery" | "Totp")[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { password: string } | { recovery_code: string } | { totp_code: string }; parts: 3; path: "/auth/mfa/totp"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "/auth/mfa/totp"; response: { secret: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: "/auth/mfa/totp"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/onboard/hello"; response: { onboarding: boolean } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { username: string }; parts: 2; path: "/onboard/complete"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { auth: string; endpoint: string; p256dh: string }; parts: 2; path: "/push/subscribe"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 2; path: "/push/unsubscribe"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { keys: string[] }; parts: 3; path: "/sync/settings/fetch"; response: {} } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { timestamp?: null | number } | {}; parts: 3; path: "/sync/settings/set"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/sync/unreads"; response: { _id: { channel: string; user: string }; last_id?: null | string; mentions?: null | string[] }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path }

      -
    • -
    -

    Parameters

    -
      -
    • -
      method: Method
      -
      -

      HTTP Method

      -
      -
    • -
    • -
      path: Path
      -
      -

      Path

      -
      -
    • -
    • -
      params: Route["params"]
      -
      -

      Body or Query Parameters

      -
      -
    • -
    • -
      Optional config: AxiosRequestConfig<any>
      -
      -

      Axios configuration

      -
      -
    • -
    -

    Returns Promise<Route["response"]>

    -

    Typed Response Data

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Bots.default.html b/classes/maps_Bots.default.html deleted file mode 100644 index b57cf682..00000000 --- a/classes/maps_Bots.default.html +++ /dev/null @@ -1,576 +0,0 @@ - - - - - - default | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class default

-
-
-
-
-
-
-
-

Hierarchy

-
    -
  • - default -
  • -
-
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

- - -
-
-
-

Properties

-
- -

client

-
client: Client
- -
-
-
-

Methods

-
- -

create

-
    -
  • create(data: { name: string }): Promise<{ bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string }; user: User }>
  • -
-
    -
  • - -
    -
    -

    Create a bot

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { name: string }
      -
      -

      Bot creation data

      -
      -
        -
      • -
        name: string
        -
        -
        -
        description
        -

        Bot username

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<{ bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string }; user: User }>

    -
  • -
-
-
- -

delete

-
    -
  • delete(id: string): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Delete a bot

    -
    -
    -

    Parameters

    -
      -
    • -
      id: string
      -
      -

      Bot ID

      -
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

edit

-
    -
  • edit(id: string, data: { analytics?: null | boolean; interactions_url?: null | string; name?: null | string; public?: null | boolean; remove?: null | ("Token" | "InteractionsURL")[] }): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Edit a bot

    -
    -
    -

    Parameters

    -
      -
    • -
      id: string
      -
      -

      Bot ID

      -
      -
    • -
    • -
      data: { analytics?: null | boolean; interactions_url?: null | string; name?: null | string; public?: null | boolean; remove?: null | ("Token" | "InteractionsURL")[] }
      -
      -

      Bot edit data object

      -
      -
        -
      • -
        Optional analytics?: null | boolean
        -
        -
        -
        description
        -

        Whether analytics should be gathered for this bot

        -

        Must be enabled in order to show up on Revolt Discover.

        -
        -
        -
        -
      • -
      • -
        Optional interactions_url?: null | string
        -
        -
        -
        description
        -

        Interactions URL

        -
        -
        -
        -
      • -
      • -
        Optional name?: null | string
        -
        -
        -
        description
        -

        Bot username

        -
        -
        -
        -
      • -
      • -
        Optional public?: null | boolean
        -
        -
        -
        description
        -

        Whether the bot can be added by anyone

        -
        -
        -
        -
      • -
      • -
        Optional remove?: null | ("Token" | "InteractionsURL")[]
        -
        -
        -
        description
        -

        Fields to remove from bot object

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

fetch

-
    -
  • fetch(id: string): Promise<{ bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string }; user: User }>
  • -
-
    -
  • - -
    -
    -

    Fetch a bot

    -
    -
    -

    Parameters

    -
      -
    • -
      id: string
      -
      -

      Bot ID

      -
      -
    • -
    -

    Returns Promise<{ bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string }; user: User }>

    -

    Bot and User object

    -
  • -
-
-
- -

fetchOwned

-
    -
  • fetchOwned(): Promise<{ bots: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string }[]; users: User[] }>
  • -
-
    -
  • - -
    -
    -

    Fetch a bot

    -
    -
    -

    Returns Promise<{ bots: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; privacy_policy_url?: null | string; public: boolean; terms_of_service_url?: null | string; token: string }[]; users: User[] }>

    -

    Bot and User objects

    -
  • -
-
-
- -

fetchPublic

-
    -
  • fetchPublic(id: string): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; description?: null | string; username: string }>
  • -
-
    -
  • - -
    -
    -

    Fetch a public bot

    -
    -
    -

    Parameters

    -
      -
    • -
      id: string
      -
      -

      Bot ID

      -
      -
    • -
    -

    Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; description?: null | string; username: string }>

    -

    Public Bot object

    -
  • -
-
-
- -

invite

-
    -
  • invite(id: string, destination: { server: string } | { group: string }): Promise<undefined>
  • -
-
    -
  • - -
    -
    -

    Invite a public bot

    -
    -
    -

    Parameters

    -
      -
    • -
      id: string
      -
      -

      Bot ID

      -
      -
    • -
    • -
      destination: { server: string } | { group: string }
      -
      -

      The group or server to add to

      -
      -
    • -
    -

    Returns Promise<undefined>

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Property
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Channels.Channel.html b/classes/maps_Channels.Channel.html deleted file mode 100644 index 9c0e642f..00000000 --- a/classes/maps_Channels.Channel.html +++ /dev/null @@ -1,2053 +0,0 @@ - - - - - - Channel | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class Channel

-
-
-
-
-
-
-
-

Hierarchy

-
    -
  • - Channel -
  • -
-
-
-

Index

-
- -
-
-
-

Constructors

-
- -

constructor

-
    -
  • new Channel(client: Client, data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }): Channel
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      client: Client
      -
    • -
    • -
      data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }
      -
    • -
    -

    Returns Channel

    -
  • -
-
-
-
-

Properties

-
- -

_id

-
_id: string
- -
-
- -

Private Optional ackLimit

-
ackLimit: number
- -
-
- -

Private Optional ackTimeout

-
ackTimeout: number
- -
-
- -

active

-
active: Nullable<boolean> = null
- -
-
-

Whether this DM is active.

-
-
-
requires
-

DirectMessage

-
-
-
-
-
- -

channel_type

-
channel_type: "Group" | "SavedMessages" | "DirectMessage" | "TextChannel" | "VoiceChannel"
- -
-
- -

client

-
client: Client
- -
-
- -

default_permissions

-
default_permissions: Nullable<{ a: number; d: number }> = null
- -
-
-

Default server channel permissions.

-
-
-
requires
-

TextChannel, VoiceChannel

-
-
-
-
-
- -

description

-
description: Nullable<string> = null
- -
-
-

Channel description.

-
-
-
requires
-

Group, TextChannel, VoiceChannel

-
-
-
-
-
- -

icon

-
icon: Nullable<{ _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }> = null
- -
-
-

Channel icon.

-
-
-
requires
-

Group, TextChannel, VoiceChannel

-
-
-
-
-
- -

last_message_id

-
last_message_id: Nullable<string> = null
- -
-
-

Id of last message in channel.

-
-
-
requires
-

Group, DM, TextChannel, VoiceChannel

-
-
-
-
-
- -

name

-
name: Nullable<string> = null
- -
-
-

Channel name.

-
-
-
requires
-

Group, TextChannel, VoiceChannel

-
-
-
-
-
- -

nsfw

-
nsfw: Nullable<boolean> = null
- -
-
-

Channel is not safe for work.

-
-
-
requires
-

Group, TextChannel, VoiceChannel

-
-
-
-
-
- -

owner_id

-
owner_id: Nullable<string> = null
- -
-
-

The ID of the group owner.

-
-
-
requires
-

Group

-
-
-
-
-
- -

permissions

-
permissions: Nullable<number> = null
- -
-
-

Permissions for group members.

-
-
-
requires
-

Group

-
-
-
-
-
- -

recipient_ids

-
recipient_ids: Nullable<string[]> = null
- -
-
-

Group / DM members.

-
-
-
requires
-

Group, DM

-
-
-
-
-
- -

role_permissions

-
role_permissions: Nullable<{}> = null
- -
-
-

Channel permissions for each role.

-
-
-
requires
-

TextChannel, VoiceChannel

-
-
-
-
-
- -

server_id

-
server_id: Nullable<string> = null
- -
-
-

The ID of the server this channel is in.

-
-
-
requires
-

TextChannel, VoiceChannel

-
-
-
-
-
- -

typing_ids

-
typing_ids: Set<string> = ...
- -
-
-

Users typing in channel.

-
-
-
-
-
-

Accessors

-
- -

createdAt

-
    -
  • get createdAt(): number
  • -
-
    -
  • - -
    -
    -

    Get timestamp when this channel was created.

    -
    -
    -

    Returns number

    -
  • -
-
-
- -

last_message

-
    -
  • get last_message(): undefined | Message
  • -
-
    -
  • - -
    -
    -

    Last message sent in this channel.

    -
    -
    -
    requires
    -

    Group, DM, TextChannel, VoiceChannel

    -
    -
    -
    -

    Returns undefined | Message

    -
  • -
-
-
- -

last_message_id_or_past

-
    -
  • get last_message_id_or_past(): string
  • -
-
    -
  • - -
    -
    -

    Get the last message ID if it is present or the origin timestamp. - TODO: deprecate

    -
    -
    -

    Returns string

    -
  • -
-
-
- -

mentions

-
    -
  • get mentions(): string[]
  • -
-
    -
  • - -
    -
    -

    Get mentions in this channel for user.

    -
    -
    -

    Returns string[]

    -
  • -
-
-
- -

owner

-
    -
  • get owner(): undefined | User
  • -
- -
-
- -

path

-
    -
  • get path(): string
  • -
-
    -
  • - -
    -
    -

    Absolute pathname to this channel in the client.

    -
    -
    -

    Returns string

    -
  • -
-
-
- -

permission

-
    -
  • get permission(): number
  • -
-
    -
  • - -
    -
    -

    Permission the currently authenticated user has against this channel

    -
    -
    -

    Returns number

    -
  • -
-
-
- -

recipient

-
    -
  • get recipient(): undefined | User
  • -
- -
-
- -

recipients

-
    -
  • get recipients(): undefined | (undefined | User)[]
  • -
-
    -
  • - -
    -
    -

    Group recipients.

    -
    -
    -
    requires
    -

    Group

    -
    -
    -
    -

    Returns undefined | (undefined | User)[]

    -
  • -
-
-
- -

server

-
    -
  • get server(): undefined | Server
  • -
-
    -
  • - -
    -
    -

    Server this channel belongs to.

    -
    -
    -
    requires
    -

    Server

    -
    -
    -
    -

    Returns undefined | Server

    -
  • -
-
-
- -

typing

-
    -
  • get typing(): (undefined | User)[]
  • -
- -
-
- -

unread

-
    -
  • get unread(): boolean
  • -
- -
-
- -

updatedAt

-
    -
  • get updatedAt(): number
  • -
-
    -
  • - -
    -
    -

    Get timestamp when this channel last had a message sent or when it was created

    -
    -
    -

    Returns number

    -
  • -
-
-
- -

url

-
    -
  • get url(): string
  • -
- -
-
-
-

Methods

-
- -

ack

-
    -
  • ack(message?: string | Message, skipRateLimiter?: boolean): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Mark a channel as read

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional message: string | Message
      -
      -

      Last read message or its ID

      -
      -
    • -
    • -
      Optional skipRateLimiter: boolean
      -
      -

      Whether to skip the internal rate limiter

      -
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

addMember

-
    -
  • addMember(user_id: string): Promise<undefined>
  • -
-
    -
  • - -
    -
    -

    Add a user to a group

    -
    -
    -

    Parameters

    -
      -
    • -
      user_id: string
      -
      -

      ID of the target user

      -
      -
    • -
    -

    Returns Promise<undefined>

    -
  • -
-
-
- -

createInvite

-
    -
  • createInvite(): Promise<{ _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" }>
  • -
-
    -
  • - -
    -
    -

    Create an invite to the channel

    -
    -
    -

    Returns Promise<{ _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" }>

    -

    Newly created invite code

    -
  • -
-
-
- -

delete

-
    -
  • delete(leave_silently?: boolean, avoidReq?: boolean): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Delete a channel

    -
    -
    -
    requires
    -

    DM, Group, TextChannel, VoiceChannel

    -
    -
    -
    -

    Parameters

    -
      -
    • -
      Optional leave_silently: boolean
      -
    • -
    • -
      Optional avoidReq: boolean
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

deleteMessages

-
    -
  • deleteMessages(ids: string[]): Promise<void>
  • -
- -
-
- -

edit

-
    -
  • edit(data: { archived?: null | boolean; description?: null | string; icon?: null | string; name?: null | string; nsfw?: null | boolean; owner?: null | string; remove?: null | ("Description" | "Icon" | "DefaultPermissions")[] }): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Edit a channel

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { archived?: null | boolean; description?: null | string; icon?: null | string; name?: null | string; nsfw?: null | boolean; owner?: null | string; remove?: null | ("Description" | "Icon" | "DefaultPermissions")[] }
      -
      -

      Edit data

      -
      -
        -
      • -
        Optional archived?: null | boolean
        -
        -
        -
        description
        -

        Whether this channel is archived

        -
        -
        -
        -
      • -
      • -
        Optional description?: null | string
        -
        -
        -
        description
        -

        Channel description

        -
        -
        -
        -
      • -
      • -
        Optional icon?: null | string
        -
        -
        -
        description
        -

        Icon

        -

        Provide an Autumn attachment Id.

        -
        -
        -
        -
      • -
      • -
        Optional name?: null | string
        -
        -
        -
        description
        -

        Channel name

        -
        -
        -
        -
      • -
      • -
        Optional nsfw?: null | boolean
        -
        -
        -
        description
        -

        Whether this channel is age-restricted

        -
        -
        -
        -
      • -
      • -
        Optional owner?: null | string
        -
        -
        -
        description
        -

        Group owner

        -
        -
        -
        -
      • -
      • -
        Optional remove?: null | ("Description" | "Icon" | "DefaultPermissions")[]
        -
      • -
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

fetchMembers

-
    -
  • fetchMembers(): Promise<User[]>
  • -
-
    -
  • - -
    -
    -

    Fetch a channel's members.

    -
    -
    -
    requires
    -

    Group

    -
    -
    -
    -

    Returns Promise<User[]>

    -

    An array of the channel's members.

    -
  • -
-
-
- -

fetchMessage

-
    -
  • fetchMessage(message_id: string): Promise<Message>
  • -
-
    -
  • - -
    -
    -

    Fetch a message by its ID

    -
    -
    -

    Parameters

    -
      -
    • -
      message_id: string
      -
      -

      ID of the target message

      -
      -
    • -
    -

    Returns Promise<Message>

    -

    The message

    -
  • -
-
-
- -

fetchMessages

-
    -
  • fetchMessages(params?: Omit<undefined | { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<Message[]>
  • -
-
    -
  • - -
    -
    -

    Fetch multiple messages from a channel

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional params: Omit<undefined | { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }, "include_users">
      -
      -

      Message fetching route data

      -
      -
    • -
    -

    Returns Promise<Message[]>

    -

    The messages

    -
  • -
-
-
- -

fetchMessagesWithUsers

-
    -
  • fetchMessagesWithUsers(params?: Omit<undefined | { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>
  • -
-
    -
  • - -
    -
    -

    Fetch multiple messages from a channel including the users that sent them

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional params: Omit<undefined | { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }, "include_users">
      -
      -

      Message fetching route data

      -
      -
    • -
    -

    Returns Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>

    -

    Object including messages and users

    -
  • -
-
-
- -

fetchStale

-
    -
  • fetchStale(ids: string[]): Promise<{ deprecated: string[] }>
  • -
-
    -
  • - -
    -
    -

    Fetch stale messages

    -
    -
    -

    Parameters

    -
      -
    • -
      ids: string[]
      -
      -

      IDs of the target messages

      -
      -
    • -
    -

    Returns Promise<{ deprecated: string[] }>

    -

    The stale messages

    -
  • -
-
-
- -

generateIconURL

-
    -
  • generateIconURL(...args: FileArgs): undefined | string
  • -
-
    -
  • - -
    -
    -

    Generate URL to icon for this channel

    -
    -
    -

    Parameters

    -
      -
    • -
      Rest ...args: FileArgs
      -
      -

      File parameters

      -
      -
    • -
    -

    Returns undefined | string

    -

    File URL

    -
  • -
-
-
- -

getMentions

- -
    -
  • - -
    -
    -

    Find all message IDs of unread messages

    -
    -
    -

    Parameters

    -
      -
    • -
      permit: INotificationChecker
      -
      -

      Callback function to determine whether a channel has certain properties

      -
      -
    • -
    -

    Returns string[]

    -

    Array of message IDs which are unread

    -
  • -
-
-
- -

havePermission

-
    -
  • havePermission(...permission: ("Video" | "Masquerade" | "ManageChannel" | "ManageServer" | "ManagePermissions" | "ManageRole" | "ManageCustomisation" | "KickMembers" | "BanMembers" | "TimeoutMembers" | "AssignRoles" | "ChangeNickname" | "ManageNicknames" | "ChangeAvatar" | "RemoveAvatars" | "ViewChannel" | "ReadMessageHistory" | "SendMessage" | "ManageMessages" | "ManageWebhooks" | "InviteOthers" | "SendEmbeds" | "UploadFiles" | "React" | "Connect" | "Speak" | "MuteMembers" | "DeafenMembers" | "MoveMembers" | "GrantAllSafe")[]): boolean
  • -
-
    -
  • - -
    -
    -

    Check whether we have a given permission in a channel

    -
    -
    -

    Parameters

    -
      -
    • -
      Rest ...permission: ("Video" | "Masquerade" | "ManageChannel" | "ManageServer" | "ManagePermissions" | "ManageRole" | "ManageCustomisation" | "KickMembers" | "BanMembers" | "TimeoutMembers" | "AssignRoles" | "ChangeNickname" | "ManageNicknames" | "ChangeAvatar" | "RemoveAvatars" | "ViewChannel" | "ReadMessageHistory" | "SendMessage" | "ManageMessages" | "ManageWebhooks" | "InviteOthers" | "SendEmbeds" | "UploadFiles" | "React" | "Connect" | "Speak" | "MuteMembers" | "DeafenMembers" | "MoveMembers" | "GrantAllSafe")[]
      -
      -

      Permission Names

      -
      -
    • -
    -

    Returns boolean

    -

    Whether we have this permission

    -
  • -
-
-
- -

isUnread

- -
    -
  • - -
    -
    -

    Check whether the channel is currently unread

    -
    -
    -

    Parameters

    -
      -
    • -
      permit: INotificationChecker
      -
      -

      Callback function to determine whether a channel has certain properties

      -
      -
    • -
    -

    Returns boolean

    -

    Whether the channel is unread

    -
  • -
-
-
- -

joinCall

-
    -
  • joinCall(): Promise<{ token: string }>
  • -
-
    -
  • - -
    -
    -

    Join a call in a channel

    -
    -
    -

    Returns Promise<{ token: string }>

    -

    Join call response data

    -
  • -
-
-
- -

removeMember

-
    -
  • removeMember(user_id: string): Promise<undefined>
  • -
-
    -
  • - -
    -
    -

    Remove a user from a group

    -
    -
    -

    Parameters

    -
      -
    • -
      user_id: string
      -
      -

      ID of the target user

      -
      -
    • -
    -

    Returns Promise<undefined>

    -
  • -
-
-
- -

search

-
    -
  • search(params: Omit<{ after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<Message[]>
  • -
-
    -
  • - -
    -
    -

    Search for messages

    -
    -
    -

    Parameters

    -
      -
    • -
      params: Omit<{ after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }, "include_users">
      -
      -

      Message searching route data

      -
      -
    • -
    -

    Returns Promise<Message[]>

    -

    The messages

    -
  • -
-
-
- -

searchWithUsers

-
    -
  • searchWithUsers(params: Omit<{ after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>
  • -
-
    -
  • - -
    -
    -

    Search for messages including the users that sent them

    -
    -
    -

    Parameters

    -
      -
    • -
      params: Omit<{ after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }, "include_users">
      -
      -

      Message searching route data

      -
      -
    • -
    -

    Returns Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>

    -

    The messages

    -
  • -
-
-
- -

sendMessage

-
    -
  • sendMessage(data: string | { attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; interactions?: null | { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }, idempotencyKey?: string): Promise<Message>
  • -
-
    -
  • - -
    -
    -

    Send a message

    -
    -
    -

    Parameters

    -
      -
    • -
      data: string | { attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; interactions?: null | { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }
      -
      -

      Either the message as a string or message sending route data

      -
      -
    • -
    • -
      idempotencyKey: string = ...
      -
    • -
    -

    Returns Promise<Message>

    -

    The message

    -
  • -
-
-
- -

setPermissions

-
    -
  • setPermissions(role_id?: string, permissions: { allow: number; deny: number }): Promise<{ _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }>
  • -
-
    -
  • - -
    -
    -

    Set role permissions

    -
    -
    -

    Parameters

    -
      -
    • -
      role_id: string = "default"
      -
      -

      Role Id, set to 'default' to affect all users

      -
      -
    • -
    • -
      permissions: { allow: number; deny: number }
      -
      -

      Permission value

      -
      -
        -
      • -
        allow: number
        -
        -
        -

        Format: uint64

        -
        -
        -
        description
        -

        Allow bit flags

        -
        -
        -
        -
      • -
      • -
        deny: number
        -
        -
        -

        Format: uint64

        -
        -
        -
        description
        -

        Disallow bit flags

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<{ _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }>

    -
  • -
-
-
- -

startTyping

-
    -
  • startTyping(): void
  • -
- -
-
- -

stopTyping

-
    -
  • stopTyping(): void
  • -
- -
-
- -

update

-
    -
  • update(data: Partial<{ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }>, clear?: ("Description" | "Icon" | "DefaultPermissions")[]): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      data: Partial<{ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }>
      -
    • -
    • -
      clear: ("Description" | "Icon" | "DefaultPermissions")[] = []
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

updateGroupJoin

-
    -
  • updateGroupJoin(user: string): void
  • -
- -
-
- -

updateGroupLeave

-
    -
  • updateGroupLeave(user: string): void
  • -
- -
-
- -

updateStartTyping

-
    -
  • updateStartTyping(id: string): void
  • -
- -
-
- -

updateStopTyping

-
    -
  • updateStopTyping(id: string): void
  • -
- -
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Property
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
    -
  • Private property
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Channels.default.html b/classes/maps_Channels.default.html deleted file mode 100644 index 7c4ea066..00000000 --- a/classes/maps_Channels.default.html +++ /dev/null @@ -1,1155 +0,0 @@ - - - - - - default | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class default

-
-
-
-
-
-
-
-

Hierarchy

- -
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Accessors

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

- - -
-
-
-

Properties

-
- -

[$mobx]

-
[$mobx]: {}
- -
-

Type declaration

-
    -
-
-
-
- -

changeListeners_

-
changeListeners_: any
- -
-
- -

client

-
client: Client
- -
-
- -

data_

-
data_: Map<string, ObservableValue<Channel>>
- -
-
- -

dehancer

-
dehancer: any
- -
-
- -

enhancer_

-
enhancer_: IEnhancer<Channel>
- -
-
- -

hasMap_

-
hasMap_: Map<string, ObservableValue<boolean>>
- -
-
- -

interceptors_

-
interceptors_: any
- -
-
- -

keysAtom_

-
keysAtom_: IAtom
- -
-
- -

name_

-
name_: string
- -
-
-
-

Accessors

-
- -

[toStringTag]

-
    -
  • get [toStringTag](): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

size

-
    -
  • get size(): number
  • -
-
    -
  • - -

    Returns number

    -
  • -
-
-
-
-

Methods

-
- -

$get

-
    -
  • $get(id: string, data?: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }): Channel
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      id: string
      -
    • -
    • -
      Optional data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }
      -
    • -
    -

    Returns Channel

    -
  • -
-
-
- -

[iterator]

-
    -
  • [iterator](): IterableIterator<IMapEntry<string, Channel>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, Channel>>

    -
  • -
-
-
- -

clear

-
    -
  • clear(): void
  • -
-
    -
  • - -

    Returns void

    -
  • -
-
-
- -

createGroup

-
    -
  • createGroup(data: { description?: null | string; name: string; nsfw?: null | boolean; users: string[] }): Promise<Channel>
  • -
-
    -
  • - -
    -
    -

    Create a group

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { description?: null | string; name: string; nsfw?: null | boolean; users: string[] }
      -
      -

      Group create route data

      -
      -
        -
      • -
        Optional description?: null | string
        -
        -
        -
        description
        -

        Group description

        -
        -
        -
        -
      • -
      • -
        name: string
        -
        -
        -
        description
        -

        Group name

        -
        -
        -
        -
      • -
      • -
        Optional nsfw?: null | boolean
        -
        -
        -
        description
        -

        Whether this group is age-restricted

        -
        -
        -
        -
      • -
      • -
        users: string[]
        -
        -
        -
        description
        -

        Array of user IDs to add to the group

        -

        Must be friends with these users.

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<Channel>

    -

    The newly-created group

    -
  • -
-
-
- -

createObj

-
    -
  • createObj(data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }, emit?: number | boolean): Channel
  • -
-
    -
  • - -
    -
    -

    Create a channel object. - This is meant for internal use only.

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }
      -
    • -
    • -
      Optional emit: number | boolean
      -
      -

      Whether to emit creation event

      -
      -
    • -
    -

    Returns Channel

    -

    Channel

    -
  • -
-
-
- -

delete

-
    -
  • delete(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

entries

-
    -
  • entries(): IterableIterator<IMapEntry<string, Channel>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, Channel>>

    -
  • -
-
-
- -

exists

-
    -
  • exists(id: string): Nullable<boolean>
  • -
-
    -
  • - -
    -
    -

    Check whether a channel should currently exist

    -
    -
    -

    Parameters

    -
      -
    • -
      id: string
      -
      -

      Channel ID

      -
      -
    • -
    -

    Returns Nullable<boolean>

    -

    Whether it should current exist

    -
  • -
-
-
- -

fetch

-
    -
  • fetch(id: string, data?: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }): Promise<Channel>
  • -
-
    -
  • - -
    -
    -

    Fetch a channel

    -
    -
    -

    Parameters

    -
      -
    • -
      id: string
      -
      -

      Channel ID

      -
      -
    • -
    • -
      Optional data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }
      -
    • -
    -

    Returns Promise<Channel>

    -

    The channel

    -
  • -
-
-
- -

forEach

-
    -
  • forEach(callback: (value: Channel, key: string, object: Map<string, Channel>) => void, thisArg?: any): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      callback: (value: Channel, key: string, object: Map<string, Channel>) => void
      -
        -
      • -
          -
        • (value: Channel, key: string, object: Map<string, Channel>): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            value: Channel
            -
          • -
          • -
            key: string
            -
          • -
          • -
            object: Map<string, Channel>
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional thisArg: any
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

get

-
    -
  • get(key: string): undefined | Channel
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns undefined | Channel

    -
  • -
-
-
- -

has

-
    -
  • has(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

intercept_

-
    -
  • intercept_(handler: IInterceptor<IMapWillChange<string, Channel>>): Lambda
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      handler: IInterceptor<IMapWillChange<string, Channel>>
      -
    • -
    -

    Returns Lambda

    -
  • -
-
-
- -

keys

-
    -
  • keys(): IterableIterator<string>
  • -
-
    -
  • - -

    Returns IterableIterator<string>

    -
  • -
-
-
- -

merge

-
    -
  • merge(other: any): ObservableMap<string, Channel>
  • -
-
    -
  • - -
    -
    -

    Merge another object into this object, returns this.

    -
    -
    -

    Parameters

    -
      -
    • -
      other: any
      -
    • -
    -

    Returns ObservableMap<string, Channel>

    -
  • -
-
-
- -

observe_

-
    -
  • observe_(listener: (changes: IMapDidChange<string, Channel>) => void, fireImmediately?: boolean): Lambda
  • -
- -
-
- -

replace

-
    -
  • replace(values: any): ObservableMap<string, Channel>
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      values: any
      -
    • -
    -

    Returns ObservableMap<string, Channel>

    -
  • -
-
-
- -

set

- -
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    • -
      value: Channel
      -
    • -
    -

    Returns default

    -
  • -
-
-
- -

toJSON

-
    -
  • toJSON(): [string, Channel][]
  • -
-
    -
  • - -

    Returns [string, Channel][]

    -
  • -
-
-
- -

toString

-
    -
  • toString(): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

values

-
    -
  • values(): IterableIterator<Channel>
  • -
-
    -
  • - -

    Returns IterableIterator<Channel>

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
    -
  • Inherited property
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Collection.default.html b/classes/maps_Collection.default.html deleted file mode 100644 index 4d8464c3..00000000 --- a/classes/maps_Collection.default.html +++ /dev/null @@ -1,963 +0,0 @@ - - - - - - default | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class default<K, V>

-
-
-
-
-
-
-
-

Type parameters

-
    -
  • -

    K

    -
  • -
  • -

    V

    -
  • -
-
-
-

Hierarchy

- -
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Accessors

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

- -
    -
  • - -

    Type parameters

    -
      -
    • -

      K

      -
    • -
    • -

      V

      -
    • -
    -

    Parameters

    - -

    Returns default<K, V>

    -
  • -
-
-
-
-

Properties

-
- -

[$mobx]

-
[$mobx]: {}
- -
-

Type declaration

-
    -
-
-
-
- -

changeListeners_

-
changeListeners_: any
- -
-
- -

client

-
client: Client
- -
-
- -

data_

-
data_: Map<K, ObservableValue<V>>
- -
-
- -

dehancer

-
dehancer: any
- -
-
- -

enhancer_

-
enhancer_: IEnhancer<V>
- -
-
- -

hasMap_

-
hasMap_: Map<K, ObservableValue<boolean>>
- -
-
- -

interceptors_

-
interceptors_: any
- -
-
- -

keysAtom_

-
keysAtom_: IAtom
- -
-
- -

name_

-
name_: string
- -
-
-
-

Accessors

-
- -

[toStringTag]

-
    -
  • get [toStringTag](): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

size

-
    -
  • get size(): number
  • -
-
    -
  • - -

    Returns number

    -
  • -
-
-
-
-

Methods

-
- -

[iterator]

-
    -
  • [iterator](): IterableIterator<IMapEntry<K, V>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<K, V>>

    -
  • -
-
-
- -

clear

-
    -
  • clear(): void
  • -
-
    -
  • - -

    Returns void

    -
  • -
-
-
- -

delete

-
    -
  • delete(key: K): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: K
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

entries

-
    -
  • entries(): IterableIterator<IMapEntry<K, V>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<K, V>>

    -
  • -
-
-
- -

forEach

-
    -
  • forEach(callback: (value: V, key: K, object: Map<K, V>) => void, thisArg?: any): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      callback: (value: V, key: K, object: Map<K, V>) => void
      -
        -
      • -
          -
        • (value: V, key: K, object: Map<K, V>): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            value: V
            -
          • -
          • -
            key: K
            -
          • -
          • -
            object: Map<K, V>
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional thisArg: any
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

get

-
    -
  • get(key: K): undefined | V
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: K
      -
    • -
    -

    Returns undefined | V

    -
  • -
-
-
- -

has

-
    -
  • has(key: K): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: K
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

intercept_

-
    -
  • intercept_(handler: IInterceptor<IMapWillChange<K, V>>): Lambda
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      handler: IInterceptor<IMapWillChange<K, V>>
      -
    • -
    -

    Returns Lambda

    -
  • -
-
-
- -

keys

-
    -
  • keys(): IterableIterator<K>
  • -
-
    -
  • - -

    Returns IterableIterator<K>

    -
  • -
-
-
- -

merge

-
    -
  • merge(other: any): ObservableMap<K, V>
  • -
-
    -
  • - -
    -
    -

    Merge another object into this object, returns this.

    -
    -
    -

    Parameters

    -
      -
    • -
      other: any
      -
    • -
    -

    Returns ObservableMap<K, V>

    -
  • -
-
-
- -

observe_

-
    -
  • observe_(listener: (changes: IMapDidChange<K, V>) => void, fireImmediately?: boolean): Lambda
  • -
-
    -
  • - -
    -
    -

    Observes this object. Triggers for the events 'add', 'update' and 'delete'. - See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe - for callback details

    -
    -
    -

    Parameters

    -
      -
    • -
      listener: (changes: IMapDidChange<K, V>) => void
      -
        -
      • -
          -
        • (changes: IMapDidChange<K, V>): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            changes: IMapDidChange<K, V>
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional fireImmediately: boolean
      -
    • -
    -

    Returns Lambda

    -
  • -
-
-
- -

replace

-
    -
  • replace(values: any): ObservableMap<K, V>
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      values: any
      -
    • -
    -

    Returns ObservableMap<K, V>

    -
  • -
-
-
- -

set

-
    -
  • set(key: K, value: V): default<K, V>
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: K
      -
    • -
    • -
      value: V
      -
    • -
    -

    Returns default<K, V>

    -
  • -
-
-
- -

toJSON

-
    -
  • toJSON(): [K, V][]
  • -
-
    -
  • - -

    Returns [K, V][]

    -
  • -
-
-
- -

toString

-
    -
  • toString(): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

values

-
    -
  • values(): IterableIterator<V>
  • -
-
    -
  • - -

    Returns IterableIterator<V>

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Property
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Emojis.Emoji.html b/classes/maps_Emojis.Emoji.html deleted file mode 100644 index 8ab36e9e..00000000 --- a/classes/maps_Emojis.Emoji.html +++ /dev/null @@ -1,524 +0,0 @@ - - - - - - Emoji | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class Emoji

-
-
-
-
-
-
-
-

Hierarchy

-
    -
  • - Emoji -
  • -
-
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Accessors

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

-
    -
  • new Emoji(client: Client, data: { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } }): Emoji
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      client: Client
      -
    • -
    • -
      data: { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } }
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional animated?: boolean
        -
        -
        -
        description
        -

        Whether the emoji is animated

        -
        -
        -
        -
      • -
      • -
        creator_id: string
        -
        -
        -
        description
        -

        Uploader user id

        -
        -
        -
        -
      • -
      • -
        name: string
        -
        -
        -
        description
        -

        Emoji name

        -
        -
        -
        -
      • -
      • -
        Optional nsfw?: boolean
        -
        -
        -
        description
        -

        Whether the emoji is marked as nsfw

        -
        -
        -
        -
      • -
      • -
        parent: { id: string; type: "Server" } | { type: "Detached" }
        -
        -
        -
        description
        -

        What owns this emoji

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Emoji

    -
  • -
-
-
-
-

Properties

-
- -

_id

-
_id: string
- -
-
- -

animated

-
animated: boolean
- -
-
- -

client

-
client: Client
- -
-
- -

creator_id

-
creator_id: string
- -
-
- -

name

-
name: string
- -
-
- -

nsfw

-
nsfw: boolean
- -
-
- -

parent

-
parent: { id: string; type: "Server" } | { type: "Detached" }
- -
-
-
-

Accessors

-
- -

createdAt

-
    -
  • get createdAt(): number
  • -
-
    -
  • - -
    -
    -

    Get timestamp when this message was created.

    -
    -
    -

    Returns number

    -
  • -
-
-
- -

creator

-
    -
  • get creator(): undefined | User
  • -
- -
-
- -

imageURL

-
    -
  • get imageURL(): string
  • -
- -
-
-
-

Methods

-
- -

delete

-
    -
  • delete(): Promise<undefined>
  • -
-
    -
  • - -
    -
    -

    Delete a message

    -
    -
    -

    Returns Promise<undefined>

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Property
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Emojis.default.html b/classes/maps_Emojis.default.html deleted file mode 100644 index 632fbda7..00000000 --- a/classes/maps_Emojis.default.html +++ /dev/null @@ -1,1036 +0,0 @@ - - - - - - default | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class default

-
-
-
-
-
-
-
-

Hierarchy

- -
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Accessors

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

- - -
-
-
-

Properties

-
- -

[$mobx]

-
[$mobx]: {}
- -
-

Type declaration

-
    -
-
-
-
- -

changeListeners_

-
changeListeners_: any
- -
-
- -

client

-
client: Client
- -
-
- -

data_

-
data_: Map<string, ObservableValue<Emoji>>
- -
-
- -

dehancer

-
dehancer: any
- -
-
- -

enhancer_

-
enhancer_: IEnhancer<Emoji>
- -
-
- -

hasMap_

-
hasMap_: Map<string, ObservableValue<boolean>>
- -
-
- -

interceptors_

-
interceptors_: any
- -
-
- -

keysAtom_

-
keysAtom_: IAtom
- -
-
- -

name_

-
name_: string
- -
-
-
-

Accessors

-
- -

[toStringTag]

-
    -
  • get [toStringTag](): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

size

-
    -
  • get size(): number
  • -
-
    -
  • - -

    Returns number

    -
  • -
-
-
-
-

Methods

-
- -

[iterator]

-
    -
  • [iterator](): IterableIterator<IMapEntry<string, Emoji>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, Emoji>>

    -
  • -
-
-
- -

clear

-
    -
  • clear(): void
  • -
-
    -
  • - -

    Returns void

    -
  • -
-
-
- -

createObj

-
    -
  • createObj(data: { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } }, emit?: number | boolean): Emoji
  • -
-
    -
  • - -
    -
    -

    Create an emoji object. - This is meant for internal use only.

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } }
      -
      -

      Emoji Data

      -
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional animated?: boolean
        -
        -
        -
        description
        -

        Whether the emoji is animated

        -
        -
        -
        -
      • -
      • -
        creator_id: string
        -
        -
        -
        description
        -

        Uploader user id

        -
        -
        -
        -
      • -
      • -
        name: string
        -
        -
        -
        description
        -

        Emoji name

        -
        -
        -
        -
      • -
      • -
        Optional nsfw?: boolean
        -
        -
        -
        description
        -

        Whether the emoji is marked as nsfw

        -
        -
        -
        -
      • -
      • -
        parent: { id: string; type: "Server" } | { type: "Detached" }
        -
        -
        -
        description
        -

        What owns this emoji

        -
        -
        -
        -
      • -
      -
    • -
    • -
      Optional emit: number | boolean
      -
      -

      Whether to emit creation event

      -
      -
    • -
    -

    Returns Emoji

    -

    Emoji

    -
  • -
-
-
- -

delete

-
    -
  • delete(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

entries

-
    -
  • entries(): IterableIterator<IMapEntry<string, Emoji>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, Emoji>>

    -
  • -
-
-
- -

forEach

-
    -
  • forEach(callback: (value: Emoji, key: string, object: Map<string, Emoji>) => void, thisArg?: any): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      callback: (value: Emoji, key: string, object: Map<string, Emoji>) => void
      -
        -
      • -
          -
        • (value: Emoji, key: string, object: Map<string, Emoji>): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            value: Emoji
            -
          • -
          • -
            key: string
            -
          • -
          • -
            object: Map<string, Emoji>
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional thisArg: any
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

get

-
    -
  • get(key: string): undefined | Emoji
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns undefined | Emoji

    -
  • -
-
-
- -

has

-
    -
  • has(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

intercept_

-
    -
  • intercept_(handler: IInterceptor<IMapWillChange<string, Emoji>>): Lambda
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      handler: IInterceptor<IMapWillChange<string, Emoji>>
      -
    • -
    -

    Returns Lambda

    -
  • -
-
-
- -

keys

-
    -
  • keys(): IterableIterator<string>
  • -
-
    -
  • - -

    Returns IterableIterator<string>

    -
  • -
-
-
- -

merge

-
    -
  • merge(other: any): ObservableMap<string, Emoji>
  • -
-
    -
  • - -
    -
    -

    Merge another object into this object, returns this.

    -
    -
    -

    Parameters

    -
      -
    • -
      other: any
      -
    • -
    -

    Returns ObservableMap<string, Emoji>

    -
  • -
-
-
- -

observe_

-
    -
  • observe_(listener: (changes: IMapDidChange<string, Emoji>) => void, fireImmediately?: boolean): Lambda
  • -
- -
-
- -

replace

-
    -
  • replace(values: any): ObservableMap<string, Emoji>
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      values: any
      -
    • -
    -

    Returns ObservableMap<string, Emoji>

    -
  • -
-
-
- -

set

- -
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    • -
      value: Emoji
      -
    • -
    -

    Returns default

    -
  • -
-
-
- -

toJSON

-
    -
  • toJSON(): [string, Emoji][]
  • -
-
    -
  • - -

    Returns [string, Emoji][]

    -
  • -
-
-
- -

toString

-
    -
  • toString(): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

values

-
    -
  • values(): IterableIterator<Emoji>
  • -
-
    -
  • - -

    Returns IterableIterator<Emoji>

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
    -
  • Inherited property
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Members.Member.html b/classes/maps_Members.Member.html deleted file mode 100644 index 8e39f53f..00000000 --- a/classes/maps_Members.Member.html +++ /dev/null @@ -1,1092 +0,0 @@ - - - - - - Member | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class Member

-
-
-
-
-
-
-
-

Hierarchy

-
    -
  • - Member -
  • -
-
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Accessors

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

-
    -
  • new Member(client: Client, data: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }): Member
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      client: Client
      -
    • -
    • -
      data: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }
      -
        -
      • -
        _id: { server: string; user: string }
        -
        -
        -
        description
        -

        Unique member id

        -
        -
        -
        -
          -
        • -
          server: string
          -
          -
          -
          description
          -

          Server Id

          -
          -
          -
          -
        • -
        • -
          user: string
          -
          -
          -
          description
          -

          User Id

          -
          -
          -
          -
        • -
        -
      • -
      • -
        Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Avatar attachment

        -
        -
        -
        -
      • -
      • -
        joined_at: string
        -
        -
        -
        description
        -

        Time at which this user joined the server

        -
        -
        -
        -
      • -
      • -
        Optional nickname?: null | string
        -
        -
        -
        description
        -

        Member's nickname

        -
        -
        -
        -
      • -
      • -
        Optional roles?: string[]
        -
        -
        -
        description
        -

        Member's roles

        -
        -
        -
        -
      • -
      • -
        Optional timeout?: null | string
        -
        -
        -
        description
        -

        Timestamp this member is timed out until

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Member

    -
  • -
-
-
-
-

Properties

-
- -

_id

-
_id: { server: string; user: string }
- -
-

Type declaration

-
    -
  • -
    server: string
    -
    -
    -
    description
    -

    Server Id

    -
    -
    -
    -
  • -
  • -
    user: string
    -
    -
    -
    description
    -

    User Id

    -
    -
    -
    -
  • -
-
-
-
- -

Private _timeout

-
_timeout: undefined | number
- -
-
- -

avatar

-
avatar: Nullable<{ _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }> = null
- -
-
- -

client

-
client: Client
- -
-
- -

joined_at

-
joined_at: Date
- -
-
- -

nickname

-
nickname: Nullable<string> = null
- -
-
- -

roles

-
roles: Nullable<string[]> = null
- -
-
- -

timeout

-
timeout: Nullable<Date> = null
- -
-
-
-

Accessors

-
- -

animatedAvatarURL

-
    -
  • get animatedAvatarURL(): undefined | string
  • -
-
    -
  • - -
    -
    -

    Get a pre-configured animated avatar URL of a member

    -
    -
    -

    Returns undefined | string

    -
  • -
-
-
- -

avatarURL

-
    -
  • get avatarURL(): undefined | string
  • -
-
    -
  • - -
    -
    -

    Get a pre-configured avatar URL of a member

    -
    -
    -

    Returns undefined | string

    -
  • -
-
-
- -

bannable

-
    -
  • get bannable(): undefined | boolean
  • -
-
    -
  • - -
    -
    -

    Whether the client can ban this user.

    -
    -
    -

    Returns undefined | boolean

    -
  • -
-
-
- -

hoistedRole

-
    -
  • get hoistedRole(): null | { colour?: null | string; hoist?: boolean; id: string; name: string; permissions: { a: number; d: number }; rank?: number }
  • -
-
    -
  • - -
    -
    -

    Get this member's currently hoisted role.

    -
    -
    -

    Returns null | { colour?: null | string; hoist?: boolean; id: string; name: string; permissions: { a: number; d: number }; rank?: number }

    -
  • -
-
-
- -

inferior

-
    -
  • get inferior(): boolean
  • -
-
    -
  • - -
    -
    -

    Whether the client has a higher rank than this member.

    -
    -
    -

    Returns boolean

    -
  • -
-
-
- -

kickable

-
    -
  • get kickable(): undefined | boolean
  • -
-
    -
  • - -
    -
    -

    Whether the client can kick this user.

    -
    -
    -

    Returns undefined | boolean

    -
  • -
-
-
- -

orderedRoles

-
    -
  • get orderedRoles(): [string, { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number }][]
  • -
-
    -
  • - -
    -
    -

    Get an ordered list of roles for this member, from lowest to highest priority.

    -
    -
    -

    Returns [string, { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number }][]

    -
  • -
-
-
- -

ranking

-
    -
  • get ranking(): number
  • -
-
    -
  • - -
    -
    -

    Get this member's ranking. - Smaller values are ranked as higher priotity.

    -
    -
    -

    Returns number

    -
  • -
-
-
- -

roleColour

-
    -
  • get roleColour(): undefined | null | string
  • -
-
    -
  • - -
    -
    -

    Get this member's current role colour.

    -
    -
    -

    Returns undefined | null | string

    -
  • -
-
-
- -

server

-
    -
  • get server(): undefined | Server
  • -
- -
-
- -

user

-
    -
  • get user(): undefined | User
  • -
- -
-
-
-

Methods

-
- -

edit

-
    -
  • edit(data: { avatar?: null | string; nickname?: null | string; remove?: null | ("Nickname" | "Avatar" | "Roles" | "Timeout")[]; roles?: null | string[]; timeout?: null | string }): Promise<{ _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }>
  • -
-
    -
  • - -
    -
    -

    Edit a server member

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { avatar?: null | string; nickname?: null | string; remove?: null | ("Nickname" | "Avatar" | "Roles" | "Timeout")[]; roles?: null | string[]; timeout?: null | string }
      -
      -

      Member editing route data

      -
      -
        -
      • -
        Optional avatar?: null | string
        -
        -
        -
        description
        -

        Attachment Id to set for avatar

        -
        -
        -
        -
      • -
      • -
        Optional nickname?: null | string
        -
        -
        -
        description
        -

        Member nickname

        -
        -
        -
        -
      • -
      • -
        Optional remove?: null | ("Nickname" | "Avatar" | "Roles" | "Timeout")[]
        -
        -
        -
        description
        -

        Fields to remove from channel object

        -
        -
        -
        -
      • -
      • -
        Optional roles?: null | string[]
        -
        -
        -
        description
        -

        Array of role ids

        -
        -
        -
        -
      • -
      • -
        Optional timeout?: null | string
        -
        -
        -
        description
        -

        Timestamp this member is timed out until

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<{ _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }>

    -

    Server member object

    -
  • -
-
-
- -

generateAvatarURL

-
    -
  • generateAvatarURL(...args: FileArgs): undefined | string
  • -
-
    -
  • - -
    -
    -

    Generate URL to this member's avatar

    -
    -
    -

    Parameters

    -
      -
    • -
      Rest ...args: FileArgs
      -
      -

      File parameters

      -
      -
    • -
    -

    Returns undefined | string

    -

    File URL

    -
  • -
-
-
- -

getPermissions

- -
    -
  • - -
    -
    -

    Get the permissions that this member has against a certain object

    -
    -
    -

    Parameters

    -
      -
    • -
      target: Channel | Server
      -
      -

      Target object to check permissions against

      -
      -
    • -
    -

    Returns number

    -

    Permissions that this member has

    -
  • -
-
-
- -

hasPermission

-
    -
  • hasPermission(target: Channel | Server, ...permission: ("Video" | "Masquerade" | "ManageChannel" | "ManageServer" | "ManagePermissions" | "ManageRole" | "ManageCustomisation" | "KickMembers" | "BanMembers" | "TimeoutMembers" | "AssignRoles" | "ChangeNickname" | "ManageNicknames" | "ChangeAvatar" | "RemoveAvatars" | "ViewChannel" | "ReadMessageHistory" | "SendMessage" | "ManageMessages" | "ManageWebhooks" | "InviteOthers" | "SendEmbeds" | "UploadFiles" | "React" | "Connect" | "Speak" | "MuteMembers" | "DeafenMembers" | "MoveMembers" | "GrantAllSafe")[]): boolean
  • -
-
    -
  • - -
    -
    -

    Check whether a member has a certain permission against a certain object

    -
    -
    -

    Parameters

    -
      -
    • -
      target: Channel | Server
      -
      -

      Target object to check permissions against

      -
      -
    • -
    • -
      Rest ...permission: ("Video" | "Masquerade" | "ManageChannel" | "ManageServer" | "ManagePermissions" | "ManageRole" | "ManageCustomisation" | "KickMembers" | "BanMembers" | "TimeoutMembers" | "AssignRoles" | "ChangeNickname" | "ManageNicknames" | "ChangeAvatar" | "RemoveAvatars" | "ViewChannel" | "ReadMessageHistory" | "SendMessage" | "ManageMessages" | "ManageWebhooks" | "InviteOthers" | "SendEmbeds" | "UploadFiles" | "React" | "Connect" | "Speak" | "MuteMembers" | "DeafenMembers" | "MoveMembers" | "GrantAllSafe")[]
      -
      -

      Permission names to check for

      -
      -
    • -
    -

    Returns boolean

    -

    Whether the member has this permission

    -
  • -
-
-
- -

inferiorTo

-
    -
  • inferiorTo(target: Member): boolean
  • -
-
    -
  • - -
    -
    -

    Checks whether the target member has a higher rank than this member.

    -
    -
    -

    Parameters

    -
      -
    • -
      target: Member
      -
      -

      The member to compare against

      -
      -
    • -
    -

    Returns boolean

    -

    Whether this member is inferior to the target

    -
  • -
-
-
- -

kick

-
    -
  • kick(): Promise<undefined>
  • -
- -
-
- -

Private scheduleTimeout

-
    -
  • scheduleTimeout(): void
  • -
- -
-
- -

update

-
    -
  • update(data: Partial<{ _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }>, clear?: ("Nickname" | "Avatar" | "Roles" | "Timeout")[]): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      data: Partial<{ _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }>
      -
    • -
    • -
      clear: ("Nickname" | "Avatar" | "Roles" | "Timeout")[] = []
      -
    • -
    -

    Returns void

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Property
  • -
  • Method
  • -
-
    -
  • Private property
  • -
  • Private method
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Members.default.html b/classes/maps_Members.default.html deleted file mode 100644 index 1f0b4ff7..00000000 --- a/classes/maps_Members.default.html +++ /dev/null @@ -1,1442 +0,0 @@ - - - - - - default | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class default

-
-
-
-
-
-
-
-

Hierarchy

- -
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Accessors

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

- - -
-
-
-

Properties

-
- -

[$mobx]

-
[$mobx]: {}
- -
-

Type declaration

-
    -
-
-
-
- -

changeListeners_

-
changeListeners_: any
- -
-
- -

client

-
client: Client
- -
-
- -

data_

-
data_: Map<string, ObservableValue<Member>>
- -
-
- -

dehancer

-
dehancer: any
- -
-
- -

enhancer_

-
enhancer_: IEnhancer<Member>
- -
-
- -

hasMap_

-
hasMap_: Map<string, ObservableValue<boolean>>
- -
-
- -

interceptors_

-
interceptors_: any
- -
-
- -

keysAtom_

-
keysAtom_: IAtom
- -
-
- -

name_

-
name_: string
- -
-
-
-

Accessors

-
- -

[toStringTag]

-
    -
  • get [toStringTag](): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

size

-
    -
  • get size(): number
  • -
-
    -
  • - -

    Returns number

    -
  • -
-
-
-
-

Methods

-
- -

$get

-
    -
  • $get(id: { server: string; user: string }, data?: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }): Member
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      id: { server: string; user: string }
      -
        -
      • -
        server: string
        -
        -
        -
        description
        -

        Server Id

        -
        -
        -
        -
      • -
      • -
        user: string
        -
        -
        -
        description
        -

        User Id

        -
        -
        -
        -
      • -
      -
    • -
    • -
      Optional data: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }
      -
        -
      • -
        _id: { server: string; user: string }
        -
        -
        -
        description
        -

        Unique member id

        -
        -
        -
        -
          -
        • -
          server: string
          -
          -
          -
          description
          -

          Server Id

          -
          -
          -
          -
        • -
        • -
          user: string
          -
          -
          -
          description
          -

          User Id

          -
          -
          -
          -
        • -
        -
      • -
      • -
        Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Avatar attachment

        -
        -
        -
        -
      • -
      • -
        joined_at: string
        -
        -
        -
        description
        -

        Time at which this user joined the server

        -
        -
        -
        -
      • -
      • -
        Optional nickname?: null | string
        -
        -
        -
        description
        -

        Member's nickname

        -
        -
        -
        -
      • -
      • -
        Optional roles?: string[]
        -
        -
        -
        description
        -

        Member's roles

        -
        -
        -
        -
      • -
      • -
        Optional timeout?: null | string
        -
        -
        -
        description
        -

        Timestamp this member is timed out until

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Member

    -
  • -
-
-
- -

[iterator]

-
    -
  • [iterator](): IterableIterator<IMapEntry<string, Member>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, Member>>

    -
  • -
-
-
- -

clear

-
    -
  • clear(): void
  • -
-
    -
  • - -

    Returns void

    -
  • -
-
-
- -

createObj

-
    -
  • createObj(data: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }, emit?: number | boolean): Member
  • -
-
    -
  • - -
    -
    -

    Create a member object. - This is meant for internal use only.

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; joined_at: string; nickname?: null | string; roles?: string[]; timeout?: null | string }
      -
        -
      • -
        _id: { server: string; user: string }
        -
        -
        -
        description
        -

        Unique member id

        -
        -
        -
        -
          -
        • -
          server: string
          -
          -
          -
          description
          -

          Server Id

          -
          -
          -
          -
        • -
        • -
          user: string
          -
          -
          -
          description
          -

          User Id

          -
          -
          -
          -
        • -
        -
      • -
      • -
        Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Avatar attachment

        -
        -
        -
        -
      • -
      • -
        joined_at: string
        -
        -
        -
        description
        -

        Time at which this user joined the server

        -
        -
        -
        -
      • -
      • -
        Optional nickname?: null | string
        -
        -
        -
        description
        -

        Member's nickname

        -
        -
        -
        -
      • -
      • -
        Optional roles?: string[]
        -
        -
        -
        description
        -

        Member's roles

        -
        -
        -
        -
      • -
      • -
        Optional timeout?: null | string
        -
        -
        -
        description
        -

        Timestamp this member is timed out until

        -
        -
        -
        -
      • -
      -
    • -
    • -
      Optional emit: number | boolean
      -
      -

      Whether to emit creation event

      -
      -
    • -
    -

    Returns Member

    -

    Member

    -
  • -
-
-
- -

delete

-
    -
  • delete(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

deleteKey

-
    -
  • deleteKey(id: { server: string; user: string }): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      id: { server: string; user: string }
      -
        -
      • -
        server: string
        -
        -
        -
        description
        -

        Server Id

        -
        -
        -
        -
      • -
      • -
        user: string
        -
        -
        -
        description
        -

        User Id

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

entries

-
    -
  • entries(): IterableIterator<IMapEntry<string, Member>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, Member>>

    -
  • -
-
-
- -

forEach

-
    -
  • forEach(callback: (value: Member, key: string, object: Map<string, Member>) => void, thisArg?: any): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      callback: (value: Member, key: string, object: Map<string, Member>) => void
      -
        -
      • -
          -
        • (value: Member, key: string, object: Map<string, Member>): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            value: Member
            -
          • -
          • -
            key: string
            -
          • -
          • -
            object: Map<string, Member>
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional thisArg: any
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

get

-
    -
  • get(key: string): undefined | Member
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns undefined | Member

    -
  • -
-
-
- -

getKey

-
    -
  • getKey(id: { server: string; user: string }): undefined | Member
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      id: { server: string; user: string }
      -
        -
      • -
        server: string
        -
        -
        -
        description
        -

        Server Id

        -
        -
        -
        -
      • -
      • -
        user: string
        -
        -
        -
        description
        -

        User Id

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns undefined | Member

    -
  • -
-
-
- -

has

-
    -
  • has(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

hasKey

-
    -
  • hasKey(id: { server: string; user: string }): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      id: { server: string; user: string }
      -
        -
      • -
        server: string
        -
        -
        -
        description
        -

        Server Id

        -
        -
        -
        -
      • -
      • -
        user: string
        -
        -
        -
        description
        -

        User Id

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

intercept_

-
    -
  • intercept_(handler: IInterceptor<IMapWillChange<string, Member>>): Lambda
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      handler: IInterceptor<IMapWillChange<string, Member>>
      -
    • -
    -

    Returns Lambda

    -
  • -
-
-
- -

keys

-
    -
  • keys(): IterableIterator<string>
  • -
-
    -
  • - -

    Returns IterableIterator<string>

    -
  • -
-
-
- -

merge

-
    -
  • merge(other: any): ObservableMap<string, Member>
  • -
-
    -
  • - -
    -
    -

    Merge another object into this object, returns this.

    -
    -
    -

    Parameters

    -
      -
    • -
      other: any
      -
    • -
    -

    Returns ObservableMap<string, Member>

    -
  • -
-
-
- -

observe_

-
    -
  • observe_(listener: (changes: IMapDidChange<string, Member>) => void, fireImmediately?: boolean): Lambda
  • -
- -
-
- -

replace

-
    -
  • replace(values: any): ObservableMap<string, Member>
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      values: any
      -
    • -
    -

    Returns ObservableMap<string, Member>

    -
  • -
-
-
- -

set

- -
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    • -
      value: Member
      -
    • -
    -

    Returns default

    -
  • -
-
-
- -

setKey

-
    -
  • setKey(id: { server: string; user: string }, member: Member): default
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      id: { server: string; user: string }
      -
        -
      • -
        server: string
        -
        -
        -
        description
        -

        Server Id

        -
        -
        -
        -
      • -
      • -
        user: string
        -
        -
        -
        description
        -

        User Id

        -
        -
        -
        -
      • -
      -
    • -
    • -
      member: Member
      -
    • -
    -

    Returns default

    -
  • -
-
-
- -

toJSON

-
    -
  • toJSON(): [string, Member][]
  • -
-
    -
  • - -

    Returns [string, Member][]

    -
  • -
-
-
- -

toString

-
    -
  • toString(): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

values

-
    -
  • values(): IterableIterator<Member>
  • -
-
    -
  • - -

    Returns IterableIterator<Member>

    -
  • -
-
-
- -

Static toKey

-
    -
  • toKey(id: { server: string; user: string }): string
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      id: { server: string; user: string }
      -
        -
      • -
        server: string
        -
        -
        -
        description
        -

        Server Id

        -
        -
        -
        -
      • -
      • -
        user: string
        -
        -
        -
        description
        -

        User Id

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns string

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
    -
  • Inherited property
  • -
-
    -
  • Static method
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Messages.Message.html b/classes/maps_Messages.Message.html deleted file mode 100644 index 8159a021..00000000 --- a/classes/maps_Messages.Message.html +++ /dev/null @@ -1,1242 +0,0 @@ - - - - - - Message | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class Message

-
-
-
-
-
-
-
-

Hierarchy

-
    -
  • - Message -
  • -
-
-
-

Index

-
- -
-
-
-

Constructors

-
- -

constructor

-
    -
  • new Message(client: Client, data: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }): Message
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      client: Client
      -
    • -
    • -
      data: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]
        -
        -
        -
        description
        -

        Array of attachments

        -
        -
        -
        -
      • -
      • -
        author: string
        -
        -
        -
        description
        -

        Id of the user that sent this message

        -
        -
        -
        -
      • -
      • -
        channel: string
        -
        -
        -
        description
        -

        Id of the channel this message was sent in

        -
        -
        -
        -
      • -
      • -
        Optional content?: null | string
        -
        -
        -
        description
        -

        Message content

        -
        -
        -
        -
      • -
      • -
        Optional edited?: null | string
        -
        -
        -
        description
        -

        Time at which this message was last edited

        -
        -
        -
        -
      • -
      • -
        Optional embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]
        -
        -
        -
        description
        -

        Attached embeds to this message

        -
        -
        -
        -
      • -
      • -
        Optional interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }
        -
        -
        -
        description
        -

        Information about how this message should be interacted with

        -
        -
        -
        -
          -
        • -
          Optional reactions?: null | string[]
          -
          -
          -
          description
          -

          Reactions which should always appear and be distinct

          -
          -
          -
          -
        • -
        • -
          Optional restrict_reactions?: boolean
          -
          -
          -
          description
          -

          Whether reactions should be restricted to the given list

          -

          Can only be set to true if reactions list is of at least length 1

          -
          -
          -
          -
        • -
        -
      • -
      • -
        Optional masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }
        -
        -
        -
        description
        -

        Name and / or avatar overrides for this message

        -
        -
        -
        -
      • -
      • -
        Optional mentions?: null | string[]
        -
        -
        -
        description
        -

        Array of user ids mentioned in this message

        -
        -
        -
        -
      • -
      • -
        Optional nonce?: null | string
        -
        -
        -
        description
        -

        Unique value generated by client sending this message

        -
        -
        -
        -
      • -
      • -
        Optional reactions?: {}
        -
        -
        -
        description
        -

        Hashmap of emoji IDs to array of user IDs

        -
        -
        -
        -
          -
        • -
          [key: string]: string[]
          -
        • -
        -
      • -
      • -
        Optional replies?: null | string[]
        -
        -
        -
        description
        -

        Array of message ids this message is replying to

        -
        -
        -
        -
      • -
      • -
        Optional system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" }
        -
        -
        -
        description
        -

        System message

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Message

    -
  • -
-
-
-
-

Properties

-
- -

_id

-
_id: string
- -
-
- -

attachments

-
attachments: Nullable<{ _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]>
- -
-
- -

author_id

-
author_id: string
- -
-
- -

channel_id

-
channel_id: string
- -
-
- -

client

-
client: Client
- -
-
- -

content

-
content: Nullable<string>
- -
-
- -

edited

-
edited: Nullable<Date>
- -
-
- -

embeds

-
embeds: Nullable<({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]>
- -
-
- -

interactions

-
interactions: Nullable<{ reactions?: null | string[]; restrict_reactions?: boolean }>
- -
-
- -

masquerade

-
masquerade: Nullable<{ avatar?: null | string; colour?: null | string; name?: null | string }>
- -
-
- -

mention_ids

-
mention_ids: Nullable<string[]>
- -
-
- -

Optional nonce

-
nonce: string
- -
-
- -

reactions

-
reactions: ObservableMap<string, ObservableSet<string>>
- -
-
- -

reply_ids

-
reply_ids: Nullable<string[]>
- -
-
- -

system

-
system: Nullable<{ content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" }>
- -
-
-
-

Accessors

-
- -

animatedAvatarURL

-
    -
  • get animatedAvatarURL(): undefined | string
  • -
-
    -
  • - -
    -
    -

    Get the animated avatar URL for this message.

    -
    -
    -

    Returns undefined | string

    -
  • -
-
-
- -

asSystemMessage

-
    -
  • get asSystemMessage(): { content: string; type: "text" } | { by: undefined; from: undefined; name: undefined; to: undefined; type: string; user: undefined } | { by: undefined | User; from: undefined; name: undefined; to: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; user: undefined | User } | { by: undefined; from: undefined; name: undefined; to: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; user: undefined | User } | { by: undefined | User; from: undefined; name: string; to: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; user: undefined } | { by: undefined | User; from: undefined; name: undefined; to: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; user: undefined } | { by: undefined; from: undefined | User; name: undefined; to: undefined | User; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; user: undefined }
  • -
-
    -
  • - -

    Returns { content: string; type: "text" } | { by: undefined; from: undefined; name: undefined; to: undefined; type: string; user: undefined } | { by: undefined | User; from: undefined; name: undefined; to: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; user: undefined | User } | { by: undefined; from: undefined; name: undefined; to: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; user: undefined | User } | { by: undefined | User; from: undefined; name: string; to: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; user: undefined } | { by: undefined | User; from: undefined; name: undefined; to: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; user: undefined } | { by: undefined; from: undefined | User; name: undefined; to: undefined | User; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed" | "channel_ownership_changed"; user: undefined }

    -
  • -
-
-
- -

author

-
    -
  • get author(): undefined | User
  • -
- -
-
- -

avatarURL

-
    -
  • get avatarURL(): undefined | string
  • -
-
    -
  • - -
    -
    -

    Get the avatar URL for this message.

    -
    -
    -

    Returns undefined | string

    -
  • -
-
-
- -

channel

-
    -
  • get channel(): undefined | Channel
  • -
- -
-
- -

createdAt

-
    -
  • get createdAt(): number
  • -
-
    -
  • - -
    -
    -

    Get timestamp when this message was created.

    -
    -
    -

    Returns number

    -
  • -
-
-
- -

member

-
    -
  • get member(): undefined | Member
  • -
- -
-
- -

mentions

-
    -
  • get mentions(): undefined | (undefined | User)[]
  • -
- -
-
- -

path

-
    -
  • get path(): string
  • -
-
    -
  • - -
    -
    -

    Absolute pathname to this message in the client.

    -
    -
    -

    Returns string

    -
  • -
-
-
- -

roleColour

-
    -
  • get roleColour(): undefined | null | string
  • -
-
    -
  • - -
    -
    -

    Get the role colour for this message.

    -
    -
    -

    Returns undefined | null | string

    -
  • -
-
-
- -

url

-
    -
  • get url(): string
  • -
- -
-
- -

username

-
    -
  • get username(): undefined | string
  • -
-
    -
  • - -
    -
    -

    Get the username for this message.

    -
    -
    -

    Returns undefined | string

    -
  • -
-
-
-
-

Methods

-
- -

ack

-
    -
  • ack(): void
  • -
- -
-
- -

append

-
    -
  • append(__namedParameters: Pick<Partial<{ _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }>, "embeds">): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      __namedParameters: Pick<Partial<{ _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }>, "embeds">
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

clearReactions

-
    -
  • clearReactions(): Promise<undefined>
  • -
-
    -
  • - -
    -
    -

    Clear all reactions from this message

    -
    -
    -

    Returns Promise<undefined>

    -
  • -
-
-
- -

delete

-
    -
  • delete(): Promise<undefined>
  • -
- -
-
- -

edit

-
    -
  • edit(data: { content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[] }): Promise<{ _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }>
  • -
-
    -
  • - -
    -
    -

    Edit a message

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[] }
      -
      -

      Message edit route data

      -
      -
        -
      • -
        Optional content?: null | string
        -
        -
        -
        description
        -

        New message content

        -
        -
        -
        -
      • -
      • -
        Optional embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]
        -
        -
        -
        description
        -

        Embeds to include in the message

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<{ _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }>

    -
  • -
-
-
- -

generateMasqAvatarURL

-
    -
  • generateMasqAvatarURL(): undefined | string
  • -
- -
-
- -

react

-
    -
  • react(emoji: string): Promise<undefined>
  • -
-
    -
  • - -
    -
    -

    React to a message

    -
    -
    -

    Parameters

    -
      -
    • -
      emoji: string
      -
      -

      Unicode or emoji ID

      -
      -
    • -
    -

    Returns Promise<undefined>

    -
  • -
-
-
- -

reply

-
    -
  • reply(data: string | (Omit<{ attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; interactions?: null | { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }, "nonce"> & { nonce?: string }), mention?: boolean): undefined | Promise<Message>
  • -
-
    -
  • - -
    -
    -

    Reply to Message

    -
    -
    -

    Parameters

    -
      -
    • -
      data: string | (Omit<{ attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; interactions?: null | { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }, "nonce"> & { nonce?: string })
      -
    • -
    • -
      mention: boolean = true
      -
    • -
    -

    Returns undefined | Promise<Message>

    -
  • -
-
-
- -

unreact

-
    -
  • unreact(emoji: string): Promise<undefined>
  • -
-
    -
  • - -
    -
    -

    Unreact from a message

    -
    -
    -

    Parameters

    -
      -
    • -
      emoji: string
      -
      -

      Unicode or emoji ID

      -
      -
    • -
    -

    Returns Promise<undefined>

    -
  • -
-
-
- -

update

-
    -
  • update(data: Partial<{ _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }>): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      data: Partial<{ _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }>
      -
    • -
    -

    Returns void

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Property
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Messages.default.html b/classes/maps_Messages.default.html deleted file mode 100644 index 3a932490..00000000 --- a/classes/maps_Messages.default.html +++ /dev/null @@ -1,1344 +0,0 @@ - - - - - - default | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class default

-
-
-
-
-
-
-
-

Hierarchy

- -
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Accessors

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

- - -
-
-
-

Properties

-
- -

[$mobx]

-
[$mobx]: {}
- -
-

Type declaration

-
    -
-
-
-
- -

changeListeners_

-
changeListeners_: any
- -
-
- -

client

-
client: Client
- -
-
- -

data_

-
data_: Map<string, ObservableValue<Message>>
- -
-
- -

dehancer

-
dehancer: any
- -
-
- -

enhancer_

-
enhancer_: IEnhancer<Message>
- -
-
- -

hasMap_

-
hasMap_: Map<string, ObservableValue<boolean>>
- -
-
- -

interceptors_

-
interceptors_: any
- -
-
- -

keysAtom_

-
keysAtom_: IAtom
- -
-
- -

name_

-
name_: string
- -
-
-
-

Accessors

-
- -

[toStringTag]

-
    -
  • get [toStringTag](): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

size

-
    -
  • get size(): number
  • -
-
    -
  • - -

    Returns number

    -
  • -
-
-
-
-

Methods

-
- -

$get

-
    -
  • $get(id: string, data?: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }): Message
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      id: string
      -
    • -
    • -
      Optional data: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]
        -
        -
        -
        description
        -

        Array of attachments

        -
        -
        -
        -
      • -
      • -
        author: string
        -
        -
        -
        description
        -

        Id of the user that sent this message

        -
        -
        -
        -
      • -
      • -
        channel: string
        -
        -
        -
        description
        -

        Id of the channel this message was sent in

        -
        -
        -
        -
      • -
      • -
        Optional content?: null | string
        -
        -
        -
        description
        -

        Message content

        -
        -
        -
        -
      • -
      • -
        Optional edited?: null | string
        -
        -
        -
        description
        -

        Time at which this message was last edited

        -
        -
        -
        -
      • -
      • -
        Optional embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]
        -
        -
        -
        description
        -

        Attached embeds to this message

        -
        -
        -
        -
      • -
      • -
        Optional interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }
        -
        -
        -
        description
        -

        Information about how this message should be interacted with

        -
        -
        -
        -
          -
        • -
          Optional reactions?: null | string[]
          -
          -
          -
          description
          -

          Reactions which should always appear and be distinct

          -
          -
          -
          -
        • -
        • -
          Optional restrict_reactions?: boolean
          -
          -
          -
          description
          -

          Whether reactions should be restricted to the given list

          -

          Can only be set to true if reactions list is of at least length 1

          -
          -
          -
          -
        • -
        -
      • -
      • -
        Optional masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }
        -
        -
        -
        description
        -

        Name and / or avatar overrides for this message

        -
        -
        -
        -
      • -
      • -
        Optional mentions?: null | string[]
        -
        -
        -
        description
        -

        Array of user ids mentioned in this message

        -
        -
        -
        -
      • -
      • -
        Optional nonce?: null | string
        -
        -
        -
        description
        -

        Unique value generated by client sending this message

        -
        -
        -
        -
      • -
      • -
        Optional reactions?: {}
        -
        -
        -
        description
        -

        Hashmap of emoji IDs to array of user IDs

        -
        -
        -
        -
          -
        • -
          [key: string]: string[]
          -
        • -
        -
      • -
      • -
        Optional replies?: null | string[]
        -
        -
        -
        description
        -

        Array of message ids this message is replying to

        -
        -
        -
        -
      • -
      • -
        Optional system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" }
        -
        -
        -
        description
        -

        System message

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Message

    -
  • -
-
-
- -

[iterator]

-
    -
  • [iterator](): IterableIterator<IMapEntry<string, Message>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, Message>>

    -
  • -
-
-
- -

clear

-
    -
  • clear(): void
  • -
-
    -
  • - -

    Returns void

    -
  • -
-
-
- -

createObj

-
    -
  • createObj(data: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }, emit?: number | boolean): Message
  • -
-
    -
  • - -
    -
    -

    Create a message object. - This is meant for internal use only.

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }; masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; reactions?: {}; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" } }
      -
      -

      Message Data

      -
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]
        -
        -
        -
        description
        -

        Array of attachments

        -
        -
        -
        -
      • -
      • -
        author: string
        -
        -
        -
        description
        -

        Id of the user that sent this message

        -
        -
        -
        -
      • -
      • -
        channel: string
        -
        -
        -
        description
        -

        Id of the channel this message was sent in

        -
        -
        -
        -
      • -
      • -
        Optional content?: null | string
        -
        -
        -
        description
        -

        Message content

        -
        -
        -
        -
      • -
      • -
        Optional edited?: null | string
        -
        -
        -
        description
        -

        Time at which this message was last edited

        -
        -
        -
        -
      • -
      • -
        Optional embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; original_url?: null | string; site_name?: null | string; special?: null | { type: "None" } | { type: "GIF" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" } | { id: string; type: "Streamable" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { height: number; type: "Video"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]
        -
        -
        -
        description
        -

        Attached embeds to this message

        -
        -
        -
        -
      • -
      • -
        Optional interactions?: { reactions?: null | string[]; restrict_reactions?: boolean }
        -
        -
        -
        description
        -

        Information about how this message should be interacted with

        -
        -
        -
        -
          -
        • -
          Optional reactions?: null | string[]
          -
          -
          -
          description
          -

          Reactions which should always appear and be distinct

          -
          -
          -
          -
        • -
        • -
          Optional restrict_reactions?: boolean
          -
          -
          -
          description
          -

          Whether reactions should be restricted to the given list

          -

          Can only be set to true if reactions list is of at least length 1

          -
          -
          -
          -
        • -
        -
      • -
      • -
        Optional masquerade?: null | { avatar?: null | string; colour?: null | string; name?: null | string }
        -
        -
        -
        description
        -

        Name and / or avatar overrides for this message

        -
        -
        -
        -
      • -
      • -
        Optional mentions?: null | string[]
        -
        -
        -
        description
        -

        Array of user ids mentioned in this message

        -
        -
        -
        -
      • -
      • -
        Optional nonce?: null | string
        -
        -
        -
        description
        -

        Unique value generated by client sending this message

        -
        -
        -
        -
      • -
      • -
        Optional reactions?: {}
        -
        -
        -
        description
        -

        Hashmap of emoji IDs to array of user IDs

        -
        -
        -
        -
          -
        • -
          [key: string]: string[]
          -
        • -
        -
      • -
      • -
        Optional replies?: null | string[]
        -
        -
        -
        description
        -

        Array of message ids this message is replying to

        -
        -
        -
        -
      • -
      • -
        Optional system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } | { from: string; to: string; type: "channel_ownership_changed" }
        -
        -
        -
        description
        -

        System message

        -
        -
        -
        -
      • -
      -
    • -
    • -
      Optional emit: number | boolean
      -
      -

      Whether to emit creation event

      -
      -
    • -
    -

    Returns Message

    -

    Message

    -
  • -
-
-
- -

delete

-
    -
  • delete(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

entries

-
    -
  • entries(): IterableIterator<IMapEntry<string, Message>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, Message>>

    -
  • -
-
-
- -

forEach

-
    -
  • forEach(callback: (value: Message, key: string, object: Map<string, Message>) => void, thisArg?: any): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      callback: (value: Message, key: string, object: Map<string, Message>) => void
      -
        -
      • -
          -
        • (value: Message, key: string, object: Map<string, Message>): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            value: Message
            -
          • -
          • -
            key: string
            -
          • -
          • -
            object: Map<string, Message>
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional thisArg: any
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

get

-
    -
  • get(key: string): undefined | Message
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns undefined | Message

    -
  • -
-
-
- -

has

-
    -
  • has(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

intercept_

-
    -
  • intercept_(handler: IInterceptor<IMapWillChange<string, Message>>): Lambda
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      handler: IInterceptor<IMapWillChange<string, Message>>
      -
    • -
    -

    Returns Lambda

    -
  • -
-
-
- -

keys

-
    -
  • keys(): IterableIterator<string>
  • -
-
    -
  • - -

    Returns IterableIterator<string>

    -
  • -
-
-
- -

merge

-
    -
  • merge(other: any): ObservableMap<string, Message>
  • -
-
    -
  • - -
    -
    -

    Merge another object into this object, returns this.

    -
    -
    -

    Parameters

    -
      -
    • -
      other: any
      -
    • -
    -

    Returns ObservableMap<string, Message>

    -
  • -
-
-
- -

observe_

-
    -
  • observe_(listener: (changes: IMapDidChange<string, Message>) => void, fireImmediately?: boolean): Lambda
  • -
- -
-
- -

replace

-
    -
  • replace(values: any): ObservableMap<string, Message>
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      values: any
      -
    • -
    -

    Returns ObservableMap<string, Message>

    -
  • -
-
-
- -

set

- -
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    • -
      value: Message
      -
    • -
    -

    Returns default

    -
  • -
-
-
- -

toJSON

-
    -
  • toJSON(): [string, Message][]
  • -
-
    -
  • - -

    Returns [string, Message][]

    -
  • -
-
-
- -

toString

-
    -
  • toString(): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

values

-
    -
  • values(): IterableIterator<Message>
  • -
-
    -
  • - -

    Returns IterableIterator<Message>

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
    -
  • Inherited property
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Servers.Server.html b/classes/maps_Servers.Server.html deleted file mode 100644 index 0d976039..00000000 --- a/classes/maps_Servers.Server.html +++ /dev/null @@ -1,1789 +0,0 @@ - - - - - - Server | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class Server

-
-
-
-
-
-
-
-

Hierarchy

-
    -
  • - Server -
  • -
-
-
-

Index

-
- -
-
-
-

Constructors

-
- -

constructor

-
    -
  • new Server(client: Client, data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }): Server
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      client: Client
      -
    • -
    • -
      data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional analytics?: boolean
        -
        -
        -
        description
        -

        Whether to enable analytics

        -
        -
        -
        -
      • -
      • -
        Optional banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Banner attachment

        -
        -
        -
        -
      • -
      • -
        Optional categories?: null | { channels: string[]; id: string; title: string }[]
        -
        -
        -
        description
        -

        Categories for this server

        -
        -
        -
        -
      • -
      • -
        channels: string[]
        -
        -
        -
        description
        -

        Channels within this server

        -
        -
        -
        -
      • -
      • -
        default_permissions: number
        -
        -
        -

        Format: int64

        -
        -
        -
        description
        -

        Default set of server and channel permissions

        -
        -
        -
        -
      • -
      • -
        Optional description?: null | string
        -
        -
        -
        description
        -

        Description for the server

        -
        -
        -
        -
      • -
      • -
        Optional discoverable?: boolean
        -
        -
        -
        description
        -

        Whether this server should be publicly discoverable

        -
        -
        -
        -
      • -
      • -
        Optional flags?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Bitfield of server flags

        -
        -
        -
        -
      • -
      • -
        Optional icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Icon attachment

        -
        -
        -
        -
      • -
      • -
        name: string
        -
        -
        -
        description
        -

        Name of the server

        -
        -
        -
        -
      • -
      • -
        Optional nsfw?: boolean
        -
        -
        -
        description
        -

        Whether this server is flagged as not safe for work

        -
        -
        -
        -
      • -
      • -
        owner: string
        -
        -
        -
        description
        -

        User id of the owner

        -
        -
        -
        -
      • -
      • -
        Optional roles?: {}
        -
        -
        -
        description
        -

        Roles for this server

        -
        -
        -
        -
          -
        • -
          [key: string]: components["schemas"]["Role"]
          -
        • -
        -
      • -
      • -
        Optional system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string }
        -
        -
        -
        description
        -

        Configuration for sending system event messages

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Server

    -
  • -
-
-
-
-

Properties

-
- -

_id

-
_id: string
- -
-
- -

banner

-
banner: Nullable<{ _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }> = null
- -
-
- -

categories

-
categories: Nullable<{ channels: string[]; id: string; title: string }[]> = null
- -
-
- -

channel_ids

-
channel_ids: string[] = []
- -
-
- -

client

-
client: Client
- -
-
- -

default_permissions

-
default_permissions: number
- -
-
- -

description

-
description: Nullable<string> = null
- -
-
- -

flags

-
flags: Nullable<number> = null
- -
-
- -

icon

-
icon: Nullable<{ _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }> = null
- -
-
- -

name

-
name: string
- -
-
- -

nsfw

-
nsfw: Nullable<boolean> = null
- -
-
- -

owner

-
owner: string
- -
-
- -

roles

-
roles: Nullable<{}> = null
- -
-
- -

system_messages

-
system_messages: Nullable<{ user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string }> = null
- -
-
-
-

Accessors

-
- -

channels

-
    -
  • get channels(): (undefined | Channel)[]
  • -
- -
-
- -

createdAt

-
    -
  • get createdAt(): number
  • -
-
    -
  • - -
    -
    -

    Get timestamp when this server was created.

    -
    -
    -

    Returns number

    -
  • -
-
-
- -

defaultChannel

-
    -
  • get defaultChannel(): undefined | Channel
  • -
- -
-
- -

member

-
    -
  • get member(): undefined | Member
  • -
- -
-
- -

orderedChannels

-
    -
  • get orderedChannels(): (Omit<{ channels: string[]; id: string; title: string }, "channels"> & { channels: Channel[] })[]
  • -
-
    -
  • - -
    -
    -

    Get an array of ordered categories with their respective channels. - Uncategorised channels are returned in id="default" category.

    -
    -
    -

    Returns (Omit<{ channels: string[]; id: string; title: string }, "channels"> & { channels: Channel[] })[]

    -
  • -
-
-
- -

orderedRoles

-
    -
  • get orderedRoles(): { colour?: null | string; hoist?: boolean; id: string; name: string; permissions: { a: number; d: number }; rank?: number }[]
  • -
-
    -
  • - -
    -
    -

    Get an ordered array of roles with their IDs attached. - The highest ranking roles will be first followed by lower - ranking roles. This is dictated by the "rank" property - which is smaller for higher priority roles.

    -
    -
    -

    Returns { colour?: null | string; hoist?: boolean; id: string; name: string; permissions: { a: number; d: number }; rank?: number }[]

    -
  • -
-
-
- -

path

-
    -
  • get path(): string
  • -
-
    -
  • - -
    -
    -

    Absolute pathname to this server in the client.

    -
    -
    -

    Returns string

    -
  • -
-
-
- -

permission

-
    -
  • get permission(): number
  • -
-
    -
  • - -
    -
    -

    Permission the currently authenticated user has against this server

    -
    -
    -

    Returns number

    -
  • -
-
-
- -

url

-
    -
  • get url(): string
  • -
- -
-
-
-

Methods

-
- -

ack

-
    -
  • ack(): Promise<undefined | { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } } | { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>
  • -
-
    -
  • - -
    -
    -

    Mark a server as read

    -
    -
    -

    Returns Promise<undefined | { _id: string; animated?: boolean; creator_id: string; name: string; nsfw?: boolean; parent: { id: string; type: "Server" } | { type: "Detached" } } | { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>

    -
  • -
-
-
- -

banUser

-
    -
  • banUser(user_id: string, data: { reason?: null | string }): Promise<undefined | { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } | { _id: { server: string; user: string }; reason?: null | string }>
  • -
-
    -
  • - -
    -
    -

    Ban user

    -
    -
    -

    Parameters

    -
      -
    • -
      user_id: string
      -
      -

      User ID

      -
      -
    • -
    • -
      data: { reason?: null | string }
      -
        -
      • -
        Optional reason?: null | string
        -
        -
        -
        description
        -

        Ban reason

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<undefined | { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } | { _id: { server: string; user: string }; reason?: null | string }>

    -
  • -
-
-
- -

createChannel

-
    -
  • createChannel(data: { description?: null | string; name: string; nsfw?: null | boolean; type?: "Text" | "Voice" }): Promise<{ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }>
  • -
-
    -
  • - -
    -
    -

    Create a channel

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { description?: null | string; name: string; nsfw?: null | boolean; type?: "Text" | "Voice" }
      -
      -

      Channel create route data

      -
      -
        -
      • -
        Optional description?: null | string
        -
        -
        -
        description
        -

        Channel description

        -
        -
        -
        -
      • -
      • -
        name: string
        -
        -
        -
        description
        -

        Channel name

        -
        -
        -
        -
      • -
      • -
        Optional nsfw?: null | boolean
        -
        -
        -
        description
        -

        Whether this channel is age restricted

        -
        -
        -
        -
      • -
      • -
        Optional type?: "Text" | "Voice"
        -
        -
        -
        description
        -

        Channel type

        -
        -
        default
        -

        Text

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<{ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }>

    -

    The newly-created channel

    -
  • -
-
-
- -

createRole

-
    -
  • createRole(name: string): Promise<{ id: string; role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } }>
  • -
-
    -
  • - -
    -
    -

    Create role

    -
    -
    -

    Parameters

    -
      -
    • -
      name: string
      -
      -

      Role name

      -
      -
    • -
    -

    Returns Promise<{ id: string; role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } }>

    -
  • -
-
-
- -

delete

-
    -
  • delete(leave_silently?: boolean, avoidReq?: boolean): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Delete a guild

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional leave_silently: boolean
      -
    • -
    • -
      Optional avoidReq: boolean
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

deleteRole

-
    -
  • deleteRole(role_id: string): Promise<undefined>
  • -
-
    -
  • - -
    -
    -

    Delete role

    -
    -
    -

    Parameters

    -
      -
    • -
      role_id: string
      -
      -

      Role ID

      -
      -
    • -
    -

    Returns Promise<undefined>

    -
  • -
-
-
- -

edit

-
    -
  • edit(data: { analytics?: null | boolean; banner?: null | string; categories?: null | { channels: string[]; id: string; title: string }[]; description?: null | string; discoverable?: null | boolean; flags?: null | number; icon?: null | string; name?: null | string; remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }): Promise<{ _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }>
  • -
-
    -
  • - -
    -
    -

    Edit a server

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { analytics?: null | boolean; banner?: null | string; categories?: null | { channels: string[]; id: string; title: string }[]; description?: null | string; discoverable?: null | boolean; flags?: null | number; icon?: null | string; name?: null | string; remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }
      -
      -

      Server editing route data

      -
      -
        -
      • -
        Optional analytics?: null | boolean
        -
        -
        -
        description
        -

        Whether analytics should be collected for this server

        -

        Must be enabled in order to show up on Revolt Discover.

        -
        -
        -
        -
      • -
      • -
        Optional banner?: null | string
        -
        -
        -
        description
        -

        Attachment Id for banner

        -
        -
        -
        -
      • -
      • -
        Optional categories?: null | { channels: string[]; id: string; title: string }[]
        -
        -
        -
        description
        -

        Category structure for server

        -
        -
        -
        -
      • -
      • -
        Optional description?: null | string
        -
        -
        -
        description
        -

        Server description

        -
        -
        -
        -
      • -
      • -
        Optional discoverable?: null | boolean
        -
        -
        -
        description
        -

        Whether this server is public and should show up on Revolt Discover

        -
        -
        -
        -
      • -
      • -
        Optional flags?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Bitfield of server flags

        -
        -
        -
        -
      • -
      • -
        Optional icon?: null | string
        -
        -
        -
        description
        -

        Attachment Id for icon

        -
        -
        -
        -
      • -
      • -
        Optional name?: null | string
        -
        -
        -
        description
        -

        Server name

        -
        -
        -
        -
      • -
      • -
        Optional remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]
        -
        -
        -
        description
        -

        Fields to remove from server object

        -
        -
        -
        -
      • -
      • -
        Optional system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string }
        -
        -
        -
        description
        -

        System message configuration

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<{ _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }>

    -
  • -
-
-
- -

editRole

-
    -
  • editRole(role_id: string, data: { colour?: null | string; hoist?: null | boolean; name?: null | string; rank?: null | number; remove?: null | "Colour"[] }): Promise<{ colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number }>
  • -
-
    -
  • - -
    -
    -

    Edit a role

    -
    -
    -

    Parameters

    -
      -
    • -
      role_id: string
      -
      -

      Role ID

      -
      -
    • -
    • -
      data: { colour?: null | string; hoist?: null | boolean; name?: null | string; rank?: null | number; remove?: null | "Colour"[] }
      -
      -

      Role editing route data

      -
      -
        -
      • -
        Optional colour?: null | string
        -
        -
        -
        description
        -

        Role colour

        -
        -
        -
        -
      • -
      • -
        Optional hoist?: null | boolean
        -
        -
        -
        description
        -

        Whether this role should be displayed separately

        -
        -
        -
        -
      • -
      • -
        Optional name?: null | string
        -
        -
        -
        description
        -

        Role name

        -
        -
        -
        -
      • -
      • -
        Optional rank?: null | number
        -
        -
        -

        Format: int64

        -
        -
        -
        description
        -

        Ranking position

        -

        Smaller values take priority.

        -
        -
        -
        -
      • -
      • -
        Optional remove?: null | "Colour"[]
        -
        -
        -
        description
        -

        Fields to remove from role object

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<{ colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number }>

    -
  • -
-
-
- -

fetchBans

-
    -
  • fetchBans(): Promise<{ bans: { _id: { server: string; user: string }; reason?: null | string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; username: string }[] }>
  • -
-
    -
  • - -
    -
    -

    Fetch a server's bans

    -
    -
    -

    Returns Promise<{ bans: { _id: { server: string; user: string }; reason?: null | string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; username: string }[] }>

    -

    An array of the server's bans.

    -
  • -
-
-
- -

fetchInvites

-
    -
  • fetchInvites(): Promise<({ _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" })[]>
  • -
-
    -
  • - -
    -
    -

    Fetch a server's invites

    -
    -
    -

    Returns Promise<({ _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" })[]>

    -

    An array of the server's invites

    -
  • -
-
-
- -

fetchMember

-
    -
  • fetchMember(user: string | User): Promise<Member>
  • -
-
    -
  • - -
    -
    -

    Fetch a server member

    -
    -
    -

    Parameters

    -
      -
    • -
      user: string | User
      -
      -

      User or User ID

      -
      -
    • -
    -

    Returns Promise<Member>

    -

    Server member object

    -
  • -
-
-
- -

fetchMembers

-
    -
  • fetchMembers(): Promise<{ members: Member[]; users: User[] }>
  • -
-
    -
  • - -
    -
    -

    Fetch a server's members.

    -
    -
    -

    Returns Promise<{ members: Member[]; users: User[] }>

    -

    An array of the server's members and their user objects.

    -
  • -
-
-
- -

generateBannerURL

-
    -
  • generateBannerURL(...args: FileArgs): undefined | string
  • -
-
    -
  • - -
    -
    -

    Generate URL to banner for this server

    -
    -
    -

    Parameters

    -
      -
    • -
      Rest ...args: FileArgs
      -
      -

      File parameters

      -
      -
    • -
    -

    Returns undefined | string

    -

    File URL

    -
  • -
-
-
- -

generateIconURL

-
    -
  • generateIconURL(...args: FileArgs): undefined | string
  • -
-
    -
  • - -
    -
    -

    Generate URL to icon for this server

    -
    -
    -

    Parameters

    -
      -
    • -
      Rest ...args: FileArgs
      -
      -

      File parameters

      -
      -
    • -
    -

    Returns undefined | string

    -

    File URL

    -
  • -
-
-
- -

getMentions

- -
    -
  • - -
    -
    -

    Find all message IDs of unread messages

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional permit: INotificationChecker
      -
      -

      Callback function to determine whether a server has certain properties

      -
      -
    • -
    -

    Returns string[]

    -

    Array of message IDs which are unread

    -
  • -
-
-
- -

havePermission

-
    -
  • havePermission(...permission: ("Video" | "Masquerade" | "ManageChannel" | "ManageServer" | "ManagePermissions" | "ManageRole" | "ManageCustomisation" | "KickMembers" | "BanMembers" | "TimeoutMembers" | "AssignRoles" | "ChangeNickname" | "ManageNicknames" | "ChangeAvatar" | "RemoveAvatars" | "ViewChannel" | "ReadMessageHistory" | "SendMessage" | "ManageMessages" | "ManageWebhooks" | "InviteOthers" | "SendEmbeds" | "UploadFiles" | "React" | "Connect" | "Speak" | "MuteMembers" | "DeafenMembers" | "MoveMembers" | "GrantAllSafe")[]): boolean
  • -
-
    -
  • - -
    -
    -

    Check whether we have a given permission in a server

    -
    -
    -

    Parameters

    -
      -
    • -
      Rest ...permission: ("Video" | "Masquerade" | "ManageChannel" | "ManageServer" | "ManagePermissions" | "ManageRole" | "ManageCustomisation" | "KickMembers" | "BanMembers" | "TimeoutMembers" | "AssignRoles" | "ChangeNickname" | "ManageNicknames" | "ChangeAvatar" | "RemoveAvatars" | "ViewChannel" | "ReadMessageHistory" | "SendMessage" | "ManageMessages" | "ManageWebhooks" | "InviteOthers" | "SendEmbeds" | "UploadFiles" | "React" | "Connect" | "Speak" | "MuteMembers" | "DeafenMembers" | "MoveMembers" | "GrantAllSafe")[]
      -
      -

      Permission Names

      -
      -
    • -
    -

    Returns boolean

    -

    Whether we have this permission

    -
  • -
-
-
- -

isUnread

- -
    -
  • - -
    -
    -

    Check whether the server is currently unread

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional permit: INotificationChecker
      -
      -

      Callback function to determine whether a server has certain properties

      -
      -
    • -
    -

    Returns undefined | false | Channel

    -

    Whether the server is unread

    -
  • -
-
-
- -

setPermissions

-
    -
  • setPermissions(role_id?: string, permissions: number | { allow: number; deny: number }): Promise<{ _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }>
  • -
-
    -
  • - -
    -
    -

    Set role permissions

    -
    -
    -

    Parameters

    -
      -
    • -
      role_id: string = "default"
      -
      -

      Role Id, set to 'default' to affect all users

      -
      -
    • -
    • -
      permissions: number | { allow: number; deny: number }
      -
      -

      Permission value

      -
      -
    • -
    -

    Returns Promise<{ _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }>

    -
  • -
-
-
- -

syncMembers

-
    -
  • syncMembers(exclude_offline?: boolean): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Optimised member fetch route.

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional exclude_offline: boolean
      -
      -
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

unbanUser

-
    -
  • unbanUser(user_id: string): Promise<undefined>
  • -
-
    -
  • - -
    -
    -

    Unban user

    -
    -
    -

    Parameters

    -
      -
    • -
      user_id: string
      -
      -

      User ID

      -
      -
    • -
    -

    Returns Promise<undefined>

    -
  • -
-
-
- -

update

-
    -
  • update(data: Partial<{ _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }>, clear?: ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      data: Partial<{ _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }>
      -
    • -
    • -
      clear: ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[] = []
      -
    • -
    -

    Returns void

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Property
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Servers.default.html b/classes/maps_Servers.default.html deleted file mode 100644 index a3d2dc49..00000000 --- a/classes/maps_Servers.default.html +++ /dev/null @@ -1,1594 +0,0 @@ - - - - - - default | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class default

-
-
-
-
-
-
-
-

Hierarchy

- -
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Accessors

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

- - -
-
-
-

Properties

-
- -

[$mobx]

-
[$mobx]: {}
- -
-

Type declaration

-
    -
-
-
-
- -

changeListeners_

-
changeListeners_: any
- -
-
- -

client

-
client: Client
- -
-
- -

data_

-
data_: Map<string, ObservableValue<Server>>
- -
-
- -

dehancer

-
dehancer: any
- -
-
- -

enhancer_

-
enhancer_: IEnhancer<Server>
- -
-
- -

hasMap_

-
hasMap_: Map<string, ObservableValue<boolean>>
- -
-
- -

interceptors_

-
interceptors_: any
- -
-
- -

keysAtom_

-
keysAtom_: IAtom
- -
-
- -

name_

-
name_: string
- -
-
-
-

Accessors

-
- -

[toStringTag]

-
    -
  • get [toStringTag](): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

size

-
    -
  • get size(): number
  • -
-
    -
  • - -

    Returns number

    -
  • -
-
-
-
-

Methods

-
- -

$get

-
    -
  • $get(id: string, data?: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }): Server
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      id: string
      -
    • -
    • -
      Optional data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional analytics?: boolean
        -
        -
        -
        description
        -

        Whether to enable analytics

        -
        -
        -
        -
      • -
      • -
        Optional banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Banner attachment

        -
        -
        -
        -
      • -
      • -
        Optional categories?: null | { channels: string[]; id: string; title: string }[]
        -
        -
        -
        description
        -

        Categories for this server

        -
        -
        -
        -
      • -
      • -
        channels: string[]
        -
        -
        -
        description
        -

        Channels within this server

        -
        -
        -
        -
      • -
      • -
        default_permissions: number
        -
        -
        -

        Format: int64

        -
        -
        -
        description
        -

        Default set of server and channel permissions

        -
        -
        -
        -
      • -
      • -
        Optional description?: null | string
        -
        -
        -
        description
        -

        Description for the server

        -
        -
        -
        -
      • -
      • -
        Optional discoverable?: boolean
        -
        -
        -
        description
        -

        Whether this server should be publicly discoverable

        -
        -
        -
        -
      • -
      • -
        Optional flags?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Bitfield of server flags

        -
        -
        -
        -
      • -
      • -
        Optional icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Icon attachment

        -
        -
        -
        -
      • -
      • -
        name: string
        -
        -
        -
        description
        -

        Name of the server

        -
        -
        -
        -
      • -
      • -
        Optional nsfw?: boolean
        -
        -
        -
        description
        -

        Whether this server is flagged as not safe for work

        -
        -
        -
        -
      • -
      • -
        owner: string
        -
        -
        -
        description
        -

        User id of the owner

        -
        -
        -
        -
      • -
      • -
        Optional roles?: {}
        -
        -
        -
        description
        -

        Roles for this server

        -
        -
        -
        -
          -
        • -
          [key: string]: components["schemas"]["Role"]
          -
        • -
        -
      • -
      • -
        Optional system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string }
        -
        -
        -
        description
        -

        Configuration for sending system event messages

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Server

    -
  • -
-
-
- -

[iterator]

-
    -
  • [iterator](): IterableIterator<IMapEntry<string, Server>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, Server>>

    -
  • -
-
-
- -

clear

-
    -
  • clear(): void
  • -
-
    -
  • - -

    Returns void

    -
  • -
-
-
- -

createObj

-
    -
  • createObj(data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }): Server
  • -
-
    -
  • - -
    -
    -

    Create a server object. - This is meant for internal use only.

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional analytics?: boolean
        -
        -
        -
        description
        -

        Whether to enable analytics

        -
        -
        -
        -
      • -
      • -
        Optional banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Banner attachment

        -
        -
        -
        -
      • -
      • -
        Optional categories?: null | { channels: string[]; id: string; title: string }[]
        -
        -
        -
        description
        -

        Categories for this server

        -
        -
        -
        -
      • -
      • -
        channels: string[]
        -
        -
        -
        description
        -

        Channels within this server

        -
        -
        -
        -
      • -
      • -
        default_permissions: number
        -
        -
        -

        Format: int64

        -
        -
        -
        description
        -

        Default set of server and channel permissions

        -
        -
        -
        -
      • -
      • -
        Optional description?: null | string
        -
        -
        -
        description
        -

        Description for the server

        -
        -
        -
        -
      • -
      • -
        Optional discoverable?: boolean
        -
        -
        -
        description
        -

        Whether this server should be publicly discoverable

        -
        -
        -
        -
      • -
      • -
        Optional flags?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Bitfield of server flags

        -
        -
        -
        -
      • -
      • -
        Optional icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Icon attachment

        -
        -
        -
        -
      • -
      • -
        name: string
        -
        -
        -
        description
        -

        Name of the server

        -
        -
        -
        -
      • -
      • -
        Optional nsfw?: boolean
        -
        -
        -
        description
        -

        Whether this server is flagged as not safe for work

        -
        -
        -
        -
      • -
      • -
        owner: string
        -
        -
        -
        description
        -

        User id of the owner

        -
        -
        -
        -
      • -
      • -
        Optional roles?: {}
        -
        -
        -
        description
        -

        Roles for this server

        -
        -
        -
        -
          -
        • -
          [key: string]: components["schemas"]["Role"]
          -
        • -
        -
      • -
      • -
        Optional system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string }
        -
        -
        -
        description
        -

        Configuration for sending system event messages

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Server

    -

    Server

    -
  • -
-
-
- -

createServer

-
    -
  • createServer(data: { description?: null | string; name: string; nsfw?: null | boolean }): Promise<Server>
  • -
-
    -
  • - -
    -
    -

    Create a server

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { description?: null | string; name: string; nsfw?: null | boolean }
      -
      -

      Server create route data

      -
      -
        -
      • -
        Optional description?: null | string
        -
        -
        -
        description
        -

        Server description

        -
        -
        -
        -
      • -
      • -
        name: string
        -
        -
        -
        description
        -

        Server name

        -
        -
        -
        -
      • -
      • -
        Optional nsfw?: null | boolean
        -
        -
        -
        description
        -

        Whether this server is age-restricted

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<Server>

    -

    The newly-created server

    -
  • -
-
-
- -

delete

-
    -
  • delete(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

entries

-
    -
  • entries(): IterableIterator<IMapEntry<string, Server>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, Server>>

    -
  • -
-
-
- -

fetch

-
    -
  • fetch(id: string, data?: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }, channels?: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]): Promise<Server>
  • -
-
    -
  • - -
    -
    -

    Fetch a server

    -
    -
    -

    Parameters

    -
      -
    • -
      id: string
      -
      -

      Server ID

      -
      -
    • -
    • -
      Optional data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional analytics?: boolean
        -
        -
        -
        description
        -

        Whether to enable analytics

        -
        -
        -
        -
      • -
      • -
        Optional banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Banner attachment

        -
        -
        -
        -
      • -
      • -
        Optional categories?: null | { channels: string[]; id: string; title: string }[]
        -
        -
        -
        description
        -

        Categories for this server

        -
        -
        -
        -
      • -
      • -
        channels: string[]
        -
        -
        -
        description
        -

        Channels within this server

        -
        -
        -
        -
      • -
      • -
        default_permissions: number
        -
        -
        -

        Format: int64

        -
        -
        -
        description
        -

        Default set of server and channel permissions

        -
        -
        -
        -
      • -
      • -
        Optional description?: null | string
        -
        -
        -
        description
        -

        Description for the server

        -
        -
        -
        -
      • -
      • -
        Optional discoverable?: boolean
        -
        -
        -
        description
        -

        Whether this server should be publicly discoverable

        -
        -
        -
        -
      • -
      • -
        Optional flags?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Bitfield of server flags

        -
        -
        -
        -
      • -
      • -
        Optional icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Icon attachment

        -
        -
        -
        -
      • -
      • -
        name: string
        -
        -
        -
        description
        -

        Name of the server

        -
        -
        -
        -
      • -
      • -
        Optional nsfw?: boolean
        -
        -
        -
        description
        -

        Whether this server is flagged as not safe for work

        -
        -
        -
        -
      • -
      • -
        owner: string
        -
        -
        -
        description
        -

        User id of the owner

        -
        -
        -
        -
      • -
      • -
        Optional roles?: {}
        -
        -
        -
        description
        -

        Roles for this server

        -
        -
        -
        -
          -
        • -
          [key: string]: components["schemas"]["Role"]
          -
        • -
        -
      • -
      • -
        Optional system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string }
        -
        -
        -
        description
        -

        Configuration for sending system event messages

        -
        -
        -
        -
      • -
      -
    • -
    • -
      Optional channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]
      -
    • -
    -

    Returns Promise<Server>

    -

    The server

    -
  • -
-
-
- -

forEach

-
    -
  • forEach(callback: (value: Server, key: string, object: Map<string, Server>) => void, thisArg?: any): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      callback: (value: Server, key: string, object: Map<string, Server>) => void
      -
        -
      • -
          -
        • (value: Server, key: string, object: Map<string, Server>): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            value: Server
            -
          • -
          • -
            key: string
            -
          • -
          • -
            object: Map<string, Server>
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional thisArg: any
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

get

-
    -
  • get(key: string): undefined | Server
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns undefined | Server

    -
  • -
-
-
- -

has

-
    -
  • has(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

intercept_

-
    -
  • intercept_(handler: IInterceptor<IMapWillChange<string, Server>>): Lambda
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      handler: IInterceptor<IMapWillChange<string, Server>>
      -
    • -
    -

    Returns Lambda

    -
  • -
-
-
- -

keys

-
    -
  • keys(): IterableIterator<string>
  • -
-
    -
  • - -

    Returns IterableIterator<string>

    -
  • -
-
-
- -

merge

-
    -
  • merge(other: any): ObservableMap<string, Server>
  • -
-
    -
  • - -
    -
    -

    Merge another object into this object, returns this.

    -
    -
    -

    Parameters

    -
      -
    • -
      other: any
      -
    • -
    -

    Returns ObservableMap<string, Server>

    -
  • -
-
-
- -

observe_

-
    -
  • observe_(listener: (changes: IMapDidChange<string, Server>) => void, fireImmediately?: boolean): Lambda
  • -
- -
-
- -

replace

-
    -
  • replace(values: any): ObservableMap<string, Server>
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      values: any
      -
    • -
    -

    Returns ObservableMap<string, Server>

    -
  • -
-
-
- -

set

- -
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    • -
      value: Server
      -
    • -
    -

    Returns default

    -
  • -
-
-
- -

toJSON

-
    -
  • toJSON(): [string, Server][]
  • -
-
    -
  • - -

    Returns [string, Server][]

    -
  • -
-
-
- -

toString

-
    -
  • toString(): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

values

-
    -
  • values(): IterableIterator<Server>
  • -
-
    -
  • - -

    Returns IterableIterator<Server>

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
    -
  • Inherited property
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Users.User.html b/classes/maps_Users.User.html deleted file mode 100644 index d865ae48..00000000 --- a/classes/maps_Users.User.html +++ /dev/null @@ -1,909 +0,0 @@ - - - - - - User | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class User

-
-
-
-
-
-
-
-

Hierarchy

-
    -
  • - User -
  • -
-
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Accessors

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

-
    -
  • new User(client: Client, data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }): User
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      client: Client
      -
    • -
    • -
      data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Avatar attachment

        -
        -
        -
        -
      • -
      • -
        Optional badges?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Bitfield of user badges

        -
        -
        -
        -
      • -
      • -
        Optional bot?: null | { owner: string }
        -
        -
        -
        description
        -

        Bot information

        -
        -
        -
        -
      • -
      • -
        Optional flags?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Enum of user flags

        -
        -
        -
        -
      • -
      • -
        Optional online?: null | boolean
        -
        -
        -
        description
        -

        Whether this user is currently online

        -
        -
        -
        -
      • -
      • -
        Optional privileged?: boolean
        -
        -
        -
        description
        -

        Whether this user is privileged

        -
        -
        -
        -
      • -
      • -
        Optional profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }
        -
        -
        -
        description
        -

        User's profile page

        -
        -
        -
        -
      • -
      • -
        Optional relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]
        -
        -
        -
        description
        -

        Relationships with other users

        -
        -
        -
        -
      • -
      • -
        Optional relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"
        -
        -
        -
        description
        -

        Current session user's relationship with this user

        -
        -
        -
        -
      • -
      • -
        Optional status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }
        -
        -
        -
        description
        -

        User's current status

        -
        -
        -
        -
      • -
      • -
        username: string
        -
        -
        -
        description
        -

        Username

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns User

    -
  • -
-
-
-
-

Properties

-
- -

_id

-
_id: string
- -
-
- -

avatar

-
avatar: Nullable<{ _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }>
- -
-
- -

badges

-
badges: Nullable<number>
- -
-
- -

bot

-
bot: Nullable<{ owner: string }>
- -
-
- -

client

-
client: Client
- -
-
- -

flags

-
flags: Nullable<number>
- -
-
- -

online

-
online: boolean
- -
-
- -

privileged

-
privileged: boolean
- -
-
- -

relationship

-
relationship: Nullable<"User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther">
- -
-
- -

status

-
status: Nullable<{ presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }>
- -
-
- -

username

-
username: string
- -
-
-
-

Accessors

-
- -

animatedAvatarURL

-
    -
  • get animatedAvatarURL(): string
  • -
-
    -
  • - -
    -
    -

    Get a pre-configured animated avatar URL of a user

    -
    -
    -

    Returns string

    -
  • -
-
-
- -

avatarURL

-
    -
  • get avatarURL(): string
  • -
-
    -
  • - -
    -
    -

    Get a pre-configured avatar URL of a user

    -
    -
    -

    Returns string

    -
  • -
-
-
- -

createdAt

-
    -
  • get createdAt(): number
  • -
-
    -
  • - -
    -
    -

    Get timestamp when this user was created.

    -
    -
    -

    Returns number

    -
  • -
-
-
- -

defaultAvatarURL

-
    -
  • get defaultAvatarURL(): string
  • -
-
    -
  • - -
    -
    -

    Get the default avatar URL of a user

    -
    -
    -

    Returns string

    -
  • -
-
-
- -

permission

-
    -
  • get permission(): number
  • -
- -
-
-
-

Methods

-
- -

addFriend

-
    -
  • addFriend(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>
  • -
-
    -
  • - -
    -
    -

    Send a friend request to a user

    -
    -
    -

    Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>

    -
  • -
-
-
- -

blockUser

-
    -
  • blockUser(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>
  • -
-
    -
  • - -
    -
    -

    Block a user

    -
    -
    -

    Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>

    -
  • -
-
-
- -

fetchMutual

-
    -
  • fetchMutual(): Promise<{ servers: string[]; users: string[] }>
  • -
-
    -
  • - -
    -
    -

    Fetch the mutual connections of the current user and a target user

    -
    -
    -

    Returns Promise<{ servers: string[]; users: string[] }>

    -

    The mutual connections of the current user and a target user

    -
  • -
-
-
- -

fetchProfile

-
    -
  • fetchProfile(): Promise<{ background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }>
  • -
-
    -
  • - -
    -
    -

    Fetch the profile of a user

    -
    -
    -

    Returns Promise<{ background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }>

    -

    The profile of the user

    -
  • -
-
-
- -

generateAvatarURL

-
    -
  • generateAvatarURL(...args: FileArgs): string
  • -
- -
-
- -

openDM

- - -
-
- -

removeFriend

-
    -
  • removeFriend(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>
  • -
-
    -
  • - -
    -
    -

    Remove a user from the friend list

    -
    -
    -

    Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>

    -
  • -
-
-
- -

unblockUser

-
    -
  • unblockUser(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>
  • -
-
    -
  • - -
    -
    -

    Unblock a user

    -
    -
    -

    Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>

    -
  • -
-
-
- -

update

-
    -
  • update(data: Partial<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>, clear?: ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      data: Partial<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>
      -
    • -
    • -
      clear: ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[] = []
      -
    • -
    -

    Returns void

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Property
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/maps_Users.default.html b/classes/maps_Users.default.html deleted file mode 100644 index 231a2dc1..00000000 --- a/classes/maps_Users.default.html +++ /dev/null @@ -1,1563 +0,0 @@ - - - - - - default | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class default

-
-
-
-
-
-
-
-

Hierarchy

- -
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Accessors

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

- - -
-
-
-

Properties

-
- -

[$mobx]

-
[$mobx]: {}
- -
-

Type declaration

-
    -
-
-
-
- -

changeListeners_

-
changeListeners_: any
- -
-
- -

client

-
client: Client
- -
-
- -

data_

-
data_: Map<string, ObservableValue<User>>
- -
-
- -

dehancer

-
dehancer: any
- -
-
- -

enhancer_

-
enhancer_: IEnhancer<User>
- -
-
- -

hasMap_

-
hasMap_: Map<string, ObservableValue<boolean>>
- -
-
- -

interceptors_

-
interceptors_: any
- -
-
- -

keysAtom_

-
keysAtom_: IAtom
- -
-
- -

name_

-
name_: string
- -
-
-
-

Accessors

-
- -

[toStringTag]

-
    -
  • get [toStringTag](): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

size

-
    -
  • get size(): number
  • -
-
    -
  • - -

    Returns number

    -
  • -
-
-
-
-

Methods

-
- -

$get

-
    -
  • $get(id: string, data?: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }): User
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      id: string
      -
    • -
    • -
      Optional data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Avatar attachment

        -
        -
        -
        -
      • -
      • -
        Optional badges?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Bitfield of user badges

        -
        -
        -
        -
      • -
      • -
        Optional bot?: null | { owner: string }
        -
        -
        -
        description
        -

        Bot information

        -
        -
        -
        -
      • -
      • -
        Optional flags?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Enum of user flags

        -
        -
        -
        -
      • -
      • -
        Optional online?: null | boolean
        -
        -
        -
        description
        -

        Whether this user is currently online

        -
        -
        -
        -
      • -
      • -
        Optional privileged?: boolean
        -
        -
        -
        description
        -

        Whether this user is privileged

        -
        -
        -
        -
      • -
      • -
        Optional profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }
        -
        -
        -
        description
        -

        User's profile page

        -
        -
        -
        -
      • -
      • -
        Optional relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]
        -
        -
        -
        description
        -

        Relationships with other users

        -
        -
        -
        -
      • -
      • -
        Optional relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"
        -
        -
        -
        description
        -

        Current session user's relationship with this user

        -
        -
        -
        -
      • -
      • -
        Optional status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }
        -
        -
        -
        description
        -

        User's current status

        -
        -
        -
        -
      • -
      • -
        username: string
        -
        -
        -
        description
        -

        Username

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns User

    -
  • -
-
-
- -

[iterator]

-
    -
  • [iterator](): IterableIterator<IMapEntry<string, User>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, User>>

    -
  • -
-
-
- -

changeUsername

-
    -
  • changeUsername(username: string, password: string): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>
  • -
-
    -
  • - -
    -
    -

    Change the username of the current user

    -
    -
    -

    Parameters

    -
      -
    • -
      username: string
      -
      -

      New username

      -
      -
    • -
    • -
      password: string
      -
      -

      Current password

      -
      -
    • -
    -

    Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }>

    -
  • -
-
-
- -

clear

-
    -
  • clear(): void
  • -
-
    -
  • - -

    Returns void

    -
  • -
-
-
- -

createObj

-
    -
  • createObj(data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }): User
  • -
-
    -
  • - -
    -
    -

    Create a user object. - This is meant for internal use only.

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Avatar attachment

        -
        -
        -
        -
      • -
      • -
        Optional badges?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Bitfield of user badges

        -
        -
        -
        -
      • -
      • -
        Optional bot?: null | { owner: string }
        -
        -
        -
        description
        -

        Bot information

        -
        -
        -
        -
      • -
      • -
        Optional flags?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Enum of user flags

        -
        -
        -
        -
      • -
      • -
        Optional online?: null | boolean
        -
        -
        -
        description
        -

        Whether this user is currently online

        -
        -
        -
        -
      • -
      • -
        Optional privileged?: boolean
        -
        -
        -
        description
        -

        Whether this user is privileged

        -
        -
        -
        -
      • -
      • -
        Optional profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }
        -
        -
        -
        description
        -

        User's profile page

        -
        -
        -
        -
      • -
      • -
        Optional relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]
        -
        -
        -
        description
        -

        Relationships with other users

        -
        -
        -
        -
      • -
      • -
        Optional relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"
        -
        -
        -
        description
        -

        Current session user's relationship with this user

        -
        -
        -
        -
      • -
      • -
        Optional status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }
        -
        -
        -
        description
        -

        User's current status

        -
        -
        -
        -
      • -
      • -
        username: string
        -
        -
        -
        description
        -

        Username

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns User

    -

    User

    -
  • -
-
-
- -

delete

-
    -
  • delete(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

edit

-
    -
  • edit(data: { avatar?: null | string; badges?: null | number; flags?: null | number; profile?: null | { background?: null | string; content?: null | string }; remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string } }): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Edit the current user

    -
    -
    -

    Parameters

    -
      -
    • -
      data: { avatar?: null | string; badges?: null | number; flags?: null | number; profile?: null | { background?: null | string; content?: null | string }; remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string } }
      -
      -

      User edit data object

      -
      -
        -
      • -
        Optional avatar?: null | string
        -
        -
        -
        description
        -

        Attachment Id for avatar

        -
        -
        -
        -
      • -
      • -
        Optional badges?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Bitfield of user badges

        -
        -
        -
        -
      • -
      • -
        Optional flags?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Enum of user flags

        -
        -
        -
        -
      • -
      • -
        Optional profile?: null | { background?: null | string; content?: null | string }
        -
        -
        -
        description
        -

        New user profile data

        -

        This is applied as a partial.

        -
        -
        -
        -
      • -
      • -
        Optional remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]
        -
        -
        -
        description
        -

        Fields to remove from user object

        -
        -
        -
        -
      • -
      • -
        Optional status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }
        -
        -
        -
        description
        -

        New user status

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

entries

-
    -
  • entries(): IterableIterator<IMapEntry<string, User>>
  • -
-
    -
  • - -

    Returns IterableIterator<IMapEntry<string, User>>

    -
  • -
-
-
- -

fetch

-
    -
  • fetch(id: string, data?: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }): Promise<User>
  • -
-
    -
  • - -
    -
    -

    Fetch a user

    -
    -
    -

    Parameters

    -
      -
    • -
      id: string
      -
      -

      User ID

      -
      -
    • -
    • -
      Optional data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }; username: string }
      -
        -
      • -
        _id: string
        -
        -
        -
        description
        -

        Unique Id

        -
        -
        -
        -
      • -
      • -
        Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
        -
        -
        -
        description
        -

        Avatar attachment

        -
        -
        -
        -
      • -
      • -
        Optional badges?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Bitfield of user badges

        -
        -
        -
        -
      • -
      • -
        Optional bot?: null | { owner: string }
        -
        -
        -
        description
        -

        Bot information

        -
        -
        -
        -
      • -
      • -
        Optional flags?: null | number
        -
        -
        -

        Format: int32

        -
        -
        -
        description
        -

        Enum of user flags

        -
        -
        -
        -
      • -
      • -
        Optional online?: null | boolean
        -
        -
        -
        description
        -

        Whether this user is currently online

        -
        -
        -
        -
      • -
      • -
        Optional privileged?: boolean
        -
        -
        -
        description
        -

        Whether this user is privileged

        -
        -
        -
        -
      • -
      • -
        Optional profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }
        -
        -
        -
        description
        -

        User's profile page

        -
        -
        -
        -
      • -
      • -
        Optional relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]
        -
        -
        -
        description
        -

        Relationships with other users

        -
        -
        -
        -
      • -
      • -
        Optional relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"
        -
        -
        -
        description
        -

        Current session user's relationship with this user

        -
        -
        -
        -
      • -
      • -
        Optional status?: null | { presence?: null | "Online" | "Idle" | "Focus" | "Busy" | "Invisible"; text?: null | string }
        -
        -
        -
        description
        -

        User's current status

        -
        -
        -
        -
      • -
      • -
        username: string
        -
        -
        -
        description
        -

        Username

        -
        -
        -
        -
      • -
      -
    • -
    -

    Returns Promise<User>

    -

    User

    -
  • -
-
-
- -

forEach

-
    -
  • forEach(callback: (value: User, key: string, object: Map<string, User>) => void, thisArg?: any): void
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      callback: (value: User, key: string, object: Map<string, User>) => void
      -
        -
      • -
          -
        • (value: User, key: string, object: Map<string, User>): void
        • -
        -
          -
        • -

          Parameters

          -
            -
          • -
            value: User
            -
          • -
          • -
            key: string
            -
          • -
          • -
            object: Map<string, User>
            -
          • -
          -

          Returns void

          -
        • -
        -
      • -
      -
    • -
    • -
      Optional thisArg: any
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

get

-
    -
  • get(key: string): undefined | User
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns undefined | User

    -
  • -
-
-
- -

has

-
    -
  • has(key: string): boolean
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

intercept_

-
    -
  • intercept_(handler: IInterceptor<IMapWillChange<string, User>>): Lambda
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      handler: IInterceptor<IMapWillChange<string, User>>
      -
    • -
    -

    Returns Lambda

    -
  • -
-
-
- -

keys

-
    -
  • keys(): IterableIterator<string>
  • -
-
    -
  • - -

    Returns IterableIterator<string>

    -
  • -
-
-
- -

merge

-
    -
  • merge(other: any): ObservableMap<string, User>
  • -
-
    -
  • - -
    -
    -

    Merge another object into this object, returns this.

    -
    -
    -

    Parameters

    -
      -
    • -
      other: any
      -
    • -
    -

    Returns ObservableMap<string, User>

    -
  • -
-
-
- -

observe_

-
    -
  • observe_(listener: (changes: IMapDidChange<string, User>) => void, fireImmediately?: boolean): Lambda
  • -
- -
-
- -

replace

-
    -
  • replace(values: any): ObservableMap<string, User>
  • -
-
    -
  • - -

    Parameters

    -
      -
    • -
      values: any
      -
    • -
    -

    Returns ObservableMap<string, User>

    -
  • -
-
-
- -

set

- -
    -
  • - -

    Parameters

    -
      -
    • -
      key: string
      -
    • -
    • -
      value: User
      -
    • -
    -

    Returns default

    -
  • -
-
-
- -

toJSON

-
    -
  • toJSON(): [string, User][]
  • -
-
    -
  • - -

    Returns [string, User][]

    -
  • -
-
-
- -

toString

-
    -
  • toString(): string
  • -
-
    -
  • - -

    Returns string

    -
  • -
-
-
- -

values

-
    -
  • values(): IterableIterator<User>
  • -
-
    -
  • - -

    Returns IterableIterator<User>

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
    -
  • Inherited property
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/util_Unreads.default.html b/classes/util_Unreads.default.html deleted file mode 100644 index f8fcf75b..00000000 --- a/classes/util_Unreads.default.html +++ /dev/null @@ -1,537 +0,0 @@ - - - - - - default | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class default

-
-
-
-
-
-
-
-
-
-

Handles channel unreads.

-
-
-
-
-

Hierarchy

-
    -
  • - default -
  • -
-
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

- - -
-
-
-

Properties

-
- -

Private channels

-
channels: ObservableMap<string, Omit<{ _id: { channel: string; user: string }; last_id?: null | string; mentions?: null | string[] }, "_id">>
- -
-
- -

Private client

-
client: Client
- -
-
- -

Private loaded

-
loaded: boolean
- -
-
-
-

Methods

-
- -

getUnread

-
    -
  • getUnread(channel_id: string): undefined | Omit<{ _id: { channel: string; user: string }; last_id?: null | string; mentions?: null | string[] }, "_id">
  • -
-
    -
  • - -
    -
    -

    Get channel unread object for a given channel.

    -
    -
    -

    Parameters

    -
      -
    • -
      channel_id: string
      -
      -

      Target channel ID

      -
      -
    • -
    -

    Returns undefined | Omit<{ _id: { channel: string; user: string }; last_id?: null | string; mentions?: null | string[] }, "_id">

    -

    Partial channel unread object

    -
  • -
-
-
- -

markMention

-
    -
  • markMention(channel_id: string, message_id: string): void
  • -
-
    -
  • - -
    -
    -

    Add a mention to a channel unread.

    -
    -
    -

    Parameters

    -
      -
    • -
      channel_id: string
      -
      -

      Target channel ID

      -
      -
    • -
    • -
      message_id: string
      -
      -

      Target message ID

      -
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

markMultipleRead

-
    -
  • markMultipleRead(channel_ids: string[]): void
  • -
-
    -
  • - -
    -
    -

    Mark multiple channels as read.

    -
    -
    -

    Parameters

    -
      -
    • -
      channel_ids: string[]
      -
      -

      Target channel IDs

      -
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

markRead

-
    -
  • markRead(channel_id: string, message_id?: string, emit?: boolean, skipRateLimiter?: boolean): void
  • -
-
    -
  • - -
    -
    -

    Mark a channel as read.

    -
    -
    -

    Parameters

    -
      -
    • -
      channel_id: string
      -
      -

      Target channel ID

      -
      -
    • -
    • -
      Optional message_id: string
      -
      -

      Target message ID (last sent in channel)

      -
      -
    • -
    • -
      emit: boolean = false
      -
      -

      Whether to emit to server

      -
      -
    • -
    • -
      skipRateLimiter: boolean = false
      -
      -

      Whether to skip the rate limiter

      -
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

markUnread

-
    -
  • markUnread(channel_id: string, last_id: string): void
  • -
-
    -
  • - -
    -
    -

    Mark a channel as unread by setting a custom last_id.

    -
    -
    -

    Parameters

    -
      -
    • -
      channel_id: string
      -
      -

      Target channel ID

      -
      -
    • -
    • -
      last_id: string
      -
      -

      New last ID

      -
      -
    • -
    -

    Returns void

    -
  • -
-
-
- -

sync

-
    -
  • sync(): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Sync unread data from the server.

    -
    -
    -

    Returns Promise<void>

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
    -
  • Private property
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/classes/websocket_client.WebSocketClient.html b/classes/websocket_client.WebSocketClient.html deleted file mode 100644 index fd8c03d8..00000000 --- a/classes/websocket_client.WebSocketClient.html +++ /dev/null @@ -1,426 +0,0 @@ - - - - - - WebSocketClient | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Class WebSocketClient

-
-
-
-
-
-
-
-

Hierarchy

-
    -
  • - WebSocketClient -
  • -
-
-
-

Index

-
-
-
-

Constructors

- -
-
-

Properties

- -
-
-

Methods

- -
-
-
-
-
-

Constructors

-
- -

constructor

- - -
-
-
-

Properties

-
- -

client

-
client: Client
- -
-
- -

connected

-
connected: boolean
- -
-
- -

Optional heartbeat

-
heartbeat: number
- -
-
- -

Optional ping

-
ping: number
- -
-
- -

ready

-
ready: boolean
- -
-
- -

Optional ws

-
ws: WebSocket
- -
-
-
-

Methods

-
- -

connect

-
    -
  • connect(disallowReconnect?: boolean): Promise<void>
  • -
-
    -
  • - -
    -
    -

    Connect the WebSocket

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional disallowReconnect: boolean
      -
      -

      Whether to disallow reconnection

      -
      -
    • -
    -

    Returns Promise<void>

    -
  • -
-
-
- -

disconnect

-
    -
  • disconnect(): void
  • -
- -
-
- -

send

- - -
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
  • Constructor
  • -
  • Property
  • -
  • Method
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/enums/BotFlags.html b/enums/BotFlags.html new file mode 100644 index 00000000..cc3214e1 --- /dev/null +++ b/enums/BotFlags.html @@ -0,0 +1,493 @@ +BotFlags | revolt.js
+
+ +
+
+
+
+ +

Enumeration BotFlags

+
+

Flags attributed to users

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/enums/ConnectionState.html b/enums/ConnectionState.html new file mode 100644 index 00000000..5c97419a --- /dev/null +++ b/enums/ConnectionState.html @@ -0,0 +1,535 @@ +ConnectionState | revolt.js
+
+ +
+
+
+
+ +

Enumeration ConnectionState

+
+

All possible event client states.

+
+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
Connected: 2
+
+ +
Connecting: 1
+
+ +
Disconnected: 3
+
+ +
Idle: 0
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/enums/ServerFlags.html b/enums/ServerFlags.html new file mode 100644 index 00000000..39f49bf4 --- /dev/null +++ b/enums/ServerFlags.html @@ -0,0 +1,521 @@ +ServerFlags | revolt.js
+
+ +
+
+
+
+ +

Enumeration ServerFlags

+
+

Flags attributed to servers

+
+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
Official: 1
+
+ +
Verified: 2
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/enums/UserBadges.html b/enums/UserBadges.html new file mode 100644 index 00000000..f69d63d5 --- /dev/null +++ b/enums/UserBadges.html @@ -0,0 +1,584 @@ +UserBadges | revolt.js
+
+ +
+
+
+
+ +

Enumeration UserBadges

+
+

Badges available to users

+
+
+
+
+ +
+
+

Enumeration Members

+
+ +
ActiveSupporter: 64
+
+ +
Developer: 1
+
+ +
EarlyAdopter: 256
+
+ +
Founder: 16
+
+ +
Paw: 128
+
+ +
PlatformModeration: 32
+
+ +
ReservedRelevantJokeBadge1: 512
+
+ +
ReservedRelevantJokeBadge2: 1024
+
+ +
ResponsibleDisclosure: 8
+
+ +
Supporter: 4
+
+ +
Translator: 2
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/enums/UserFlags.html b/enums/UserFlags.html new file mode 100644 index 00000000..68f5b5fe --- /dev/null +++ b/enums/UserFlags.html @@ -0,0 +1,528 @@ +UserFlags | revolt.js
+
+ +
+
+
+
+ +

Enumeration UserFlags

+
+

Flags attributed to users

+
+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
Banned: 4
+
+ +
Deleted: 2
+
+ +
Suspended: 1
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/API.getPathName.html b/functions/API.getPathName.html new file mode 100644 index 00000000..041f20b3 --- /dev/null +++ b/functions/API.getPathName.html @@ -0,0 +1,507 @@ +getPathName | revolt.js
+
+ +
+
+
+
+ +

Function getPathName

+
+
    + +
  • +

    Get the specific path name of any given path.

    + +

    Returns

    Specific path

    +
    +
    +

    Parameters

    +
      +
    • +
      anyPath: string
      +

      Any path

      +
    +

    Returns string | undefined

+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/index.html b/index.html index 1f3f6c12..3993adfa 100644 --- a/index.html +++ b/index.html @@ -1,246 +1,517 @@ - - - - - - revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
-

revolt.js

-
-
-
+revolt.js
+
+ +
-
-
-
- -

revolt.js

-
-

revolt.js revolt-api

-

revolt.js is a direct implementation of the entire Revolt API and provides a way to authenticate and start communicating with Revolt servers.

- -

Example Usage (Javascript / ES6)

-
-
import { Client } from "revolt.js";
-
-let client = new Client();
-
-client.on("ready", async () =>
-    console.info(`Logged in as ${client.user.username}!`),
-);
-
-client.on("message", async (message) => {
-    if (message.content === "hello") {
-        message.channel.sendMessage("world");
-    }
-});
-
-client.loginBot("..");
+
+
+

revolt.js

+

revolt.js

+

Warning +revolt.js is currently being rewritten, it's pretty much ready for use for most applications but is still not entirely feature complete.

+

You can find the version 6 README here.

+
+

revolt.js revolt-api

+

revolt.js is a JavaScript library for interacting with the entire Revolt API.

+

Example Usage

// esm / typescript
import { Client } from "revolt.js";
// ...or commonjs
const { Client } = require("revolt.js");

let client = new Client();

client.on("ready", async () =>
console.info(`Logged in as ${client.user.username}!`)
);

client.on("messageCreate", async (message) => {
if (message.content === "hello") {
message.channel.sendMessage("world");
}
});

client.loginBot("..");
-

If you are using Node, you must specify --experimental-specifier-resolution=node.

-

For example, node --experimental-specifier-resolution=node index.js.

- -

Example Usage (CommonJS)

-
-
const { Client } = require("revolt.js");
-
-let client = new Client();
-
-client.on("ready", async () =>
-    console.info(`Logged in as ${client.user.username}!`),
-);
-
-client.on("message", async (message) => {
-    if (message.content === "hello") {
-        message.channel.sendMessage("world");
-    }
-});
-
-client.loginBot("..");
+

Reactivity with Signals & Solid.js Primitives

All objects have reactivity built-in and can be dropped straight into any Solid.js project.

+
const client = new Client();
// initialise the client

function MyApp() {
return (
<h1>Your username is: {client.user?.username ?? "[logging in...]"}</h1>
);
}
- -

Example Usage (Typescript)

-
-
import { Client } from "revolt.js";
-
-let client = new Client();
-
-client.on("ready", async () =>
-    console.info(`Logged in as ${client.user!.username}!`),
-);
-
-client.on("message", async (message) => {
-    if (message.content === "hello") {
-        message.channel!.sendMessage("world");
-    }
-});
-
-client.loginBot("..");
+

Revolt API Types

All revolt-api types are re-exported from this library under API.

+
+

Warning +It is advised you do not use this unless necessary, if you find somewhere that isn't covered by the library, please open an issue as this library aims to transform all objects.

+
+
import { API } from "revolt.js";

// API.Channel;
// API.[..];
- -

MobX

-
-

MobX is used behind the scenes so you can subscribe to any change as you normally would, e.g. with mobx-react(-lite) or mobx's utility functions.

-
import { autorun } from 'mobx';
-
-[..]
-
-client.once('ready', () => {
-    autorun(() => {
-        console.log(`Current username is ${client.user!.username}!`);
-    });
-});
-
- -

Revolt API Types

-
-

All revolt-api types are re-exported from this library under API.

-
import { API } from 'revolt.js';
-
-// API.Channel;
-// API.[..];
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/interfaces/API.Options.html b/interfaces/API.Options.html new file mode 100644 index 00000000..9d0f2a5d --- /dev/null +++ b/interfaces/API.Options.html @@ -0,0 +1,537 @@ +Options | revolt.js
+
+ +
+
+
+
+ +

Interface Options

+
+

Client configuration options

+
+
+

Hierarchy

+
    +
  • Options
+
+
+
+ +
+
+

Properties

+
+
+

Properties

+
+ +
authentication: {
    rauth?: string;
    revolt?: string | {
        token: string;
    };
}
+

Authentication used for requests

+
+
+

Type declaration

+
    +
  • +
    Optional rauth?: string
  • +
  • +
    Optional revolt?: string | {
        token: string;
    }
+
+ +
baseURL: string
+

Base URL of the Revolt node

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/interfaces/Client.ClientOptions.html b/interfaces/Client.ClientOptions.html deleted file mode 100644 index e1ba88c8..00000000 --- a/interfaces/Client.ClientOptions.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - ClientOptions | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Interface ClientOptions

-
-
-
-
-
-
-
-
-
-

Client options object

-
-
-
-
-

Hierarchy

-
    -
  • - ClientOptions -
  • -
-
-
-

Index

-
- -
-
-
-

Properties

-
- -

ackRateLimiter

-
ackRateLimiter: boolean
- -
-
- -

apiURL

-
apiURL: string
- -
-
- -

autoReconnect

-
autoReconnect: boolean
- -
-
- -

cache

-
cache: boolean
- -
-
- -

debug

-
debug: boolean
- -
-
- -

heartbeat

-
heartbeat: number
- -
-
- -

Optional onPongTimeout

-
onPongTimeout: "EXIT" | "RECONNECT"
- -
-
-

If pongTimeout is set, this decides what to do when - the timeout is triggered. Default is RECONNECT.

-
-
-
-
- -

Optional pongTimeout

-
pongTimeout: number
- -
-
-

Automatically reconnect the client if no - pong is received after X seconds of sending a ping. - This is a temporary fix for an issue where the client - would randomly stop receiving websocket messages.

-
-
-
-
- -

unreads

-
unreads: boolean
- -
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Interface
  • -
  • Property
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/interfaces/index.API.Options.html b/interfaces/index.API.Options.html deleted file mode 100644 index 342acaae..00000000 --- a/interfaces/index.API.Options.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - Options | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Interface Options

-
-
-
-
-
-
-
-
-
-

Client configuration options

-
-
-
-
-

Hierarchy

-
    -
  • - Options -
  • -
-
-
-

Index

-
-
-
-

Properties

- -
-
-
-
-
-

Properties

-
- -

authentication

-
authentication: { rauth?: string; revolt?: string | { token: string } }
- -
-
-

Authentication used for requests

-
-
-
-

Type declaration

-
    -
  • -
    Optional rauth?: string
    -
  • -
  • -
    Optional revolt?: string | { token: string }
    -
  • -
-
-
-
- -

baseURL

-
baseURL: string
- -
-
-

Base URL of the Revolt node

-
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/interfaces/util_Unreads.INotificationChecker.html b/interfaces/util_Unreads.INotificationChecker.html deleted file mode 100644 index 9cae7489..00000000 --- a/interfaces/util_Unreads.INotificationChecker.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - INotificationChecker | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Interface INotificationChecker

-
-
-
-
-
-
-
-

Hierarchy

-
    -
  • - INotificationChecker -
  • -
-
-
-

Index

-
-
-
-

Methods

- -
-
-
-
-
-

Methods

-
- -

isMuted

- - -
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Interface
  • -
  • Method
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules.html b/modules.html index 1882bb12..9f69990f 100644 --- a/modules.html +++ b/modules.html @@ -1,187 +1,557 @@ - - - - - - revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
-

revolt.js

-
-
-
+revolt.js
+
+ +
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file + +
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/modules/API.html b/modules/API.html new file mode 100644 index 00000000..a7e677b7 --- /dev/null +++ b/modules/API.html @@ -0,0 +1,647 @@ +API | revolt.js
+
+ +
+
+
+
+ +

Namespace API

+
+
+

Index

+
+

Classes

+
API +
+
+

Interfaces

+
+
+

Type Aliases

+
AccountInfo +AllMemberResponse +Authifier_Error +BanListResult +BandcampType +BannedUser +Bot +BotInformation +BotResponse +BuildInformation +BulkMessageResponse +CaptchaFeature +Category +Channel +ChannelCompositeKey +ChannelType +ChannelUnread +CollectionScans +CollectionStats +ContentReportReason +CreateServerResponse +CreateVoiceUserResponse +Data +DataAccountDeletion +DataBanCreate +DataChangeEmail +DataChangePassword +DataChangeUsername +DataCreateAccount +DataCreateBot +DataCreateChannel +DataCreateEmoji +DataCreateGroup +DataCreateRole +DataCreateServer +DataDefaultChannelPermissions +DataEditBot +DataEditChannel +DataEditMessage +DataEditReport +DataEditRole +DataEditServer +DataEditSession +DataEditUser +DataHello +DataLogin +DataMemberEdit +DataMessageSend +DataOnboard +DataPasswordReset +DataReportContent +DataResendVerification +DataSendFriendRequest +DataSendPasswordReset +DataSetServerDefaultPermission +DataSetServerRolePermission +Embed +Emoji +EmojiParent +Error +Feature +FieldsBot +FieldsChannel +FieldsMember +FieldsRole +FieldsServer +FieldsUser +File +FlagResponse +ISO8601_Timestamp +Id +Image +ImageSize +Index +IndexAccess +Interactions +Invite +InviteBotDestination +InviteJoinResponse +InviteResponse +LatencyHistogramEntry +LatencyStats +LightspeedType +MFAMethod +MFAResponse +MFATicket +Masquerade +Member +MemberCompositeKey +Message +MessageQuery +MessageSort +Metadata +MultiFactorStatus +MutualResponse +NewRoleResponse +OptionsBulkDelete +OptionsFetchSettings +OptionsMessageSearch +OptionsQueryStale +Override +OverrideField +OwnedBotsResponse +Permission +Presence +PublicBot +QueryExecStats +Relationship +RelationshipStatus +Reply +Report +ReportStatus +ReportedContent +ResponseLogin +ResponseTotpSecret +ResponseVerify +RevoltConfig +RevoltFeatures +Role +SendableEmbed +Server +ServerBan +SessionInfo +SnapshotContent +SnapshotWithContext +Special +Stats +SystemMessage +SystemMessageChannels +TwitchType +User +UserPermission +UserProfile +UserProfileData +UserReportReason +UserStatus +Video +VoiceFeature +WebPushSubscription +
+
+

Functions

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/modules/Client.html b/modules/Client.html deleted file mode 100644 index 865e390a..00000000 --- a/modules/Client.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - Client | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module Client

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-

Interfaces

- -
-
-

Type aliases

- -
-
-

Variables

- -
-
-
-
-
-

Type aliases

-
- -

FileArgs

-
FileArgs: [options?: { height?: number; max_side?: number; size?: number; width?: number }, allowAnimation?: boolean, fallback?: string]
- -
-
- -

Session

-
Session: { token: string }
- -
-

Type declaration

-
    -
  • -
    token: string
    -
  • -
-
-
-
-
-

Variables

-
- -

Const RE_MENTIONS

-
RE_MENTIONS: RegExp = ...
- -
-
-

Regular expression for mentions.

-
-
-
-
- -

Const RE_SPOILER

-
RE_SPOILER: RegExp = ...
- -
-
-

Regular expression for spoilers.

-
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/config.html b/modules/config.html deleted file mode 100644 index 4215844e..00000000 --- a/modules/config.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - config | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module config

-
-
-
-
-
-
-
-

Index

-
-
-
-

Variables

- -
-
-
-
-
-

Variables

-
- -

Const LIBRARY_VERSION

-
LIBRARY_VERSION: "6.0.17" = "6.0.17"
- -
-
- -

Const defaultConfig

-
defaultConfig: { ackRateLimiter: boolean; apiURL: string; autoReconnect: boolean; cache: boolean; debug: boolean; heartbeat: number; unreads: boolean } = ...
- -
-

Type declaration

-
    -
  • -
    ackRateLimiter: boolean
    -
  • -
  • -
    apiURL: string
    -
  • -
  • -
    autoReconnect: boolean
    -
  • -
  • -
    cache: boolean
    -
  • -
  • -
    debug: boolean
    -
  • -
  • -
    heartbeat: number
    -
  • -
  • -
    unreads: boolean
    -
  • -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/globals.html b/modules/globals.html deleted file mode 100644 index 69c36470..00000000 --- a/modules/globals.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - - globals | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module globals

-
-
-
-
-
-
-
-

Index

-
-
-
-

Type aliases

- -
-
-
-
-
-

Type aliases

-
- -

Tail

-
Tail<T>: T extends [infer _A, ...infer R] ? R : never
- -

Type parameters

-
    -
  • -

    T: unknown[]

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/index.API.html b/modules/index.API.html deleted file mode 100644 index cc81e259..00000000 --- a/modules/index.API.html +++ /dev/null @@ -1,2196 +0,0 @@ - - - - - - API | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Namespace API

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-

Interfaces

- -
-
-

Type aliases

- -
-
-

Functions

- -
-
-
-
-
-

Type aliases

-
- -

AccountInfo

-
AccountInfo: components["schemas"]["AccountInfo"]
- -
-
- -

AllMemberResponse

-
AllMemberResponse: components["schemas"]["AllMemberResponse"]
- -
-
- -

Authifier_Error

-
Authifier_Error: components["schemas"]["Authifier Error"]
- -
-
- -

BanListResult

-
BanListResult: components["schemas"]["BanListResult"]
- -
-
- -

BandcampType

-
BandcampType: components["schemas"]["BandcampType"]
- -
-
- -

BannedUser

-
BannedUser: components["schemas"]["BannedUser"]
- -
-
- -

Bot

-
Bot: components["schemas"]["Bot"]
- -
-
- -

BotInformation

-
BotInformation: components["schemas"]["BotInformation"]
- -
-
- -

BotResponse

-
BotResponse: components["schemas"]["BotResponse"]
- -
-
- -

BuildInformation

-
BuildInformation: components["schemas"]["BuildInformation"]
- -
-
- -

BulkMessageResponse

-
BulkMessageResponse: components["schemas"]["BulkMessageResponse"]
- -
-
- -

CaptchaFeature

-
CaptchaFeature: components["schemas"]["CaptchaFeature"]
- -
-
- -

Category

-
Category: components["schemas"]["Category"]
- -
-
- -

Channel

-
Channel: components["schemas"]["Channel"]
- -
-
- -

ChannelCompositeKey

-
ChannelCompositeKey: components["schemas"]["ChannelCompositeKey"]
- -
-
- -

ChannelType

-
ChannelType: components["schemas"]["ChannelType"]
- -
-
- -

ChannelUnread

-
ChannelUnread: components["schemas"]["ChannelUnread"]
- -
-
- -

CollectionScans

-
CollectionScans: components["schemas"]["CollectionScans"]
- -
-
- -

CollectionStats

-
CollectionStats: components["schemas"]["CollectionStats"]
- -
-
- -

ContentReportReason

-
ContentReportReason: components["schemas"]["ContentReportReason"]
- -
-
- -

CreateServerResponse

-
CreateServerResponse: components["schemas"]["CreateServerResponse"]
- -
-
- -

CreateVoiceUserResponse

-
CreateVoiceUserResponse: components["schemas"]["CreateVoiceUserResponse"]
- -
-
- -

Data

-
Data: components["schemas"]["Data"]
- -
-
- -

DataAccountDeletion

-
DataAccountDeletion: components["schemas"]["DataAccountDeletion"]
- -
-
- -

DataBanCreate

-
DataBanCreate: components["schemas"]["DataBanCreate"]
- -
-
- -

DataChangeEmail

-
DataChangeEmail: components["schemas"]["DataChangeEmail"]
- -
-
- -

DataChangePassword

-
DataChangePassword: components["schemas"]["DataChangePassword"]
- -
-
- -

DataChangeUsername

-
DataChangeUsername: components["schemas"]["DataChangeUsername"]
- -
-
- -

DataCreateAccount

-
DataCreateAccount: components["schemas"]["DataCreateAccount"]
- -
-
- -

DataCreateBot

-
DataCreateBot: components["schemas"]["DataCreateBot"]
- -
-
- -

DataCreateChannel

-
DataCreateChannel: components["schemas"]["DataCreateChannel"]
- -
-
- -

DataCreateEmoji

-
DataCreateEmoji: components["schemas"]["DataCreateEmoji"]
- -
-
- -

DataCreateGroup

-
DataCreateGroup: components["schemas"]["DataCreateGroup"]
- -
-
- -

DataCreateRole

-
DataCreateRole: components["schemas"]["DataCreateRole"]
- -
-
- -

DataCreateServer

-
DataCreateServer: components["schemas"]["DataCreateServer"]
- -
-
- -

DataDefaultChannelPermissions

-
DataDefaultChannelPermissions: components["schemas"]["DataDefaultChannelPermissions"]
- -
-
- -

DataEditBot

-
DataEditBot: components["schemas"]["DataEditBot"]
- -
-
- -

DataEditChannel

-
DataEditChannel: components["schemas"]["DataEditChannel"]
- -
-
- -

DataEditMessage

-
DataEditMessage: components["schemas"]["DataEditMessage"]
- -
-
- -

DataEditReport

-
DataEditReport: components["schemas"]["DataEditReport"]
- -
-
- -

DataEditRole

-
DataEditRole: components["schemas"]["DataEditRole"]
- -
-
- -

DataEditServer

-
DataEditServer: components["schemas"]["DataEditServer"]
- -
-
- -

DataEditSession

-
DataEditSession: components["schemas"]["DataEditSession"]
- -
-
- -

DataEditUser

-
DataEditUser: components["schemas"]["DataEditUser"]
- -
-
- -

DataHello

-
DataHello: components["schemas"]["DataHello"]
- -
-
- -

DataLogin

-
DataLogin: components["schemas"]["DataLogin"]
- -
-
- -

DataMemberEdit

-
DataMemberEdit: components["schemas"]["DataMemberEdit"]
- -
-
- -

DataMessageSend

-
DataMessageSend: components["schemas"]["DataMessageSend"]
- -
-
- -

DataOnboard

-
DataOnboard: components["schemas"]["DataOnboard"]
- -
-
- -

DataPasswordReset

-
DataPasswordReset: components["schemas"]["DataPasswordReset"]
- -
-
- -

DataReportContent

-
DataReportContent: components["schemas"]["DataReportContent"]
- -
-
- -

DataResendVerification

-
DataResendVerification: components["schemas"]["DataResendVerification"]
- -
-
- -

DataSendFriendRequest

-
DataSendFriendRequest: components["schemas"]["DataSendFriendRequest"]
- -
-
- -

DataSendPasswordReset

-
DataSendPasswordReset: components["schemas"]["DataSendPasswordReset"]
- -
-
- -

DataSetServerDefaultPermission

-
DataSetServerDefaultPermission: components["schemas"]["DataSetServerDefaultPermission"]
- -
-
- -

DataSetServerRolePermission

-
DataSetServerRolePermission: components["schemas"]["DataSetServerRolePermission"]
- -
-
- -

Embed

-
Embed: components["schemas"]["Embed"]
- -
-
- -

Emoji

-
Emoji: components["schemas"]["Emoji"]
- -
-
- -

EmojiParent

-
EmojiParent: components["schemas"]["EmojiParent"]
- -
-
- -

Error

-
Error: components["schemas"]["Error"]
- -
-
- -

Feature

-
Feature: components["schemas"]["Feature"]
- -
-
- -

FieldsBot

-
FieldsBot: components["schemas"]["FieldsBot"]
- -
-
- -

FieldsChannel

-
FieldsChannel: components["schemas"]["FieldsChannel"]
- -
-
- -

FieldsMember

-
FieldsMember: components["schemas"]["FieldsMember"]
- -
-
- -

FieldsRole

-
FieldsRole: components["schemas"]["FieldsRole"]
- -
-
- -

FieldsServer

-
FieldsServer: components["schemas"]["FieldsServer"]
- -
-
- -

FieldsUser

-
FieldsUser: components["schemas"]["FieldsUser"]
- -
-
- -

File

-
File: components["schemas"]["File"]
- -
-
- -

FlagResponse

-
FlagResponse: components["schemas"]["FlagResponse"]
- -
-
- -

ISO8601_Timestamp

-
ISO8601_Timestamp: components["schemas"]["ISO8601 Timestamp"]
- -
-
- -

Id

-
Id: components["schemas"]["Id"]
- -
-
- -

Image

-
Image: components["schemas"]["Image"]
- -
-
- -

ImageSize

-
ImageSize: components["schemas"]["ImageSize"]
- -
-
- -

Index

-
Index: components["schemas"]["Index"]
- -
-
- -

IndexAccess

-
IndexAccess: components["schemas"]["IndexAccess"]
- -
-
- -

Interactions

-
Interactions: components["schemas"]["Interactions"]
- -
-
- -

Invite

-
Invite: components["schemas"]["Invite"]
- -
-
- -

InviteBotDestination

-
InviteBotDestination: components["schemas"]["InviteBotDestination"]
- -
-
- -

InviteJoinResponse

-
InviteJoinResponse: components["schemas"]["InviteJoinResponse"]
- -
-
- -

InviteResponse

-
InviteResponse: components["schemas"]["InviteResponse"]
- -
-
- -

LatencyHistogramEntry

-
LatencyHistogramEntry: components["schemas"]["LatencyHistogramEntry"]
- -
-
- -

LatencyStats

-
LatencyStats: components["schemas"]["LatencyStats"]
- -
-
- -

LightspeedType

-
LightspeedType: components["schemas"]["LightspeedType"]
- -
-
- -

MFAMethod

-
MFAMethod: components["schemas"]["MFAMethod"]
- -
-
- -

MFAResponse

-
MFAResponse: components["schemas"]["MFAResponse"]
- -
-
- -

MFATicket

-
MFATicket: components["schemas"]["MFATicket"]
- -
-
- -

Masquerade

-
Masquerade: components["schemas"]["Masquerade"]
- -
-
- -

Member

-
Member: components["schemas"]["Member"]
- -
-
- -

MemberCompositeKey

-
MemberCompositeKey: components["schemas"]["MemberCompositeKey"]
- -
-
- -

Message

-
Message: components["schemas"]["Message"]
- -
-
- -

MessageQuery

-
MessageQuery: components["schemas"]["MessageQuery"]
- -
-
- -

MessageSort

-
MessageSort: components["schemas"]["MessageSort"]
- -
-
- -

Metadata

-
Metadata: components["schemas"]["Metadata"]
- -
-
- -

MultiFactorStatus

-
MultiFactorStatus: components["schemas"]["MultiFactorStatus"]
- -
-
- -

MutualResponse

-
MutualResponse: components["schemas"]["MutualResponse"]
- -
-
- -

NewRoleResponse

-
NewRoleResponse: components["schemas"]["NewRoleResponse"]
- -
-
- -

OptionsBulkDelete

-
OptionsBulkDelete: components["schemas"]["OptionsBulkDelete"]
- -
-
- -

OptionsFetchSettings

-
OptionsFetchSettings: components["schemas"]["OptionsFetchSettings"]
- -
-
- -

OptionsMessageSearch

-
OptionsMessageSearch: components["schemas"]["OptionsMessageSearch"]
- -
-
- -

OptionsQueryStale

-
OptionsQueryStale: components["schemas"]["OptionsQueryStale"]
- -
-
- -

Override

-
Override: components["schemas"]["Override"]
- -
-
- -

OverrideField

-
OverrideField: components["schemas"]["OverrideField"]
- -
-
- -

OwnedBotsResponse

-
OwnedBotsResponse: components["schemas"]["OwnedBotsResponse"]
- -
-
- -

Permission

-
Permission: components["schemas"]["Permission"]
- -
-
- -

Presence

-
Presence: components["schemas"]["Presence"]
- -
-
- -

PublicBot

-
PublicBot: components["schemas"]["PublicBot"]
- -
-
- -

QueryExecStats

-
QueryExecStats: components["schemas"]["QueryExecStats"]
- -
-
- -

Relationship

-
Relationship: components["schemas"]["Relationship"]
- -
-
- -

RelationshipStatus

-
RelationshipStatus: components["schemas"]["RelationshipStatus"]
- -
-
- -

Reply

-
Reply: components["schemas"]["Reply"]
- -
-
- -

Report

-
Report: components["schemas"]["Report"]
- -
-
- -

ReportStatus

-
ReportStatus: components["schemas"]["ReportStatus"]
- -
-
- -

ReportedContent

-
ReportedContent: components["schemas"]["ReportedContent"]
- -
-
- -

ResponseLogin

-
ResponseLogin: components["schemas"]["ResponseLogin"]
- -
-
- -

ResponseTotpSecret

-
ResponseTotpSecret: components["schemas"]["ResponseTotpSecret"]
- -
-
- -

ResponseVerify

-
ResponseVerify: components["schemas"]["ResponseVerify"]
- -
-
- -

RevoltConfig

-
RevoltConfig: components["schemas"]["RevoltConfig"]
- -
-
- -

RevoltFeatures

-
RevoltFeatures: components["schemas"]["RevoltFeatures"]
- -
-
- -

Role

-
Role: components["schemas"]["Role"]
- -
-
- -

SendableEmbed

-
SendableEmbed: components["schemas"]["SendableEmbed"]
- -
-
- -

Server

-
Server: components["schemas"]["Server"]
- -
-
- -

ServerBan

-
ServerBan: components["schemas"]["ServerBan"]
- -
-
- -

SessionInfo

-
SessionInfo: components["schemas"]["SessionInfo"]
- -
-
- -

SnapshotContent

-
SnapshotContent: components["schemas"]["SnapshotContent"]
- -
-
- -

SnapshotWithContext

-
SnapshotWithContext: components["schemas"]["SnapshotWithContext"]
- -
-
- -

Special

-
Special: components["schemas"]["Special"]
- -
-
- -

Stats

-
Stats: components["schemas"]["Stats"]
- -
-
- -

SystemMessage

-
SystemMessage: components["schemas"]["SystemMessage"]
- -
-
- -

SystemMessageChannels

-
SystemMessageChannels: components["schemas"]["SystemMessageChannels"]
- -
-
- -

TwitchType

-
TwitchType: components["schemas"]["TwitchType"]
- -
-
- -

User

-
User: components["schemas"]["User"]
- -
-
- -

UserPermission

-
UserPermission: components["schemas"]["UserPermission"]
- -
-
- -

UserProfile

-
UserProfile: components["schemas"]["UserProfile"]
- -
-
- -

UserProfileData

-
UserProfileData: components["schemas"]["UserProfileData"]
- -
-
- -

UserReportReason

-
UserReportReason: components["schemas"]["UserReportReason"]
- -
-
- -

UserStatus

-
UserStatus: components["schemas"]["UserStatus"]
- -
-
- -

Video

-
Video: components["schemas"]["Video"]
- -
-
- -

VoiceFeature

-
VoiceFeature: components["schemas"]["VoiceFeature"]
- -
-
- -

WebPushSubscription

-
WebPushSubscription: components["schemas"]["WebPushSubscription"]
- -
-
-
-

Functions

-
- -

getPathName

-
    -
  • getPathName(anyPath: string): string | undefined
  • -
-
    -
  • - -
    -
    -

    Get the specific path name of any given path.

    -
    -
    -

    Parameters

    -
      -
    • -
      anyPath: string
      -
      -

      Any path

      -
      -
    • -
    -

    Returns string | undefined

    -

    Specific path

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/index.html b/modules/index.html deleted file mode 100644 index d35a8b59..00000000 --- a/modules/index.html +++ /dev/null @@ -1,452 +0,0 @@ - - - - - - index | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module index

-
-
-
-
-
-
-
-

Index

-
- -
-
-
-

References

-
- -

Channel

- Re-exports Channel -
-
- -

Client

- Re-exports Client -
-
- -

ClientOptions

- Re-exports ClientOptions -
-
- -

ClientboundNotification

- Re-exports ClientboundNotification -
-
- -

DEFAULT_PERMISSION

- Re-exports DEFAULT_PERMISSION -
-
- -

DEFAULT_PERMISSION_DIRECT_MESSAGE

- Re-exports DEFAULT_PERMISSION_DIRECT_MESSAGE -
-
- -

DEFAULT_PERMISSION_SAVED_MESSAGES

- Re-exports DEFAULT_PERMISSION_SAVED_MESSAGES -
-
- -

DEFAULT_PERMISSION_SERVER

- Re-exports DEFAULT_PERMISSION_SERVER -
-
- -

DEFAULT_PERMISSION_VIEW_ONLY

- Re-exports DEFAULT_PERMISSION_VIEW_ONLY -
-
- -

Emoji

- Re-exports Emoji -
-
- -

FileArgs

- Re-exports FileArgs -
-
- -

LIBRARY_VERSION

- Re-exports LIBRARY_VERSION -
-
- -

Member

- Re-exports Member -
-
- -

Message

- Re-exports Message -
-
- -

Nullable

- Re-exports Nullable -
-
- -

Permission

- Re-exports Permission -
-
- -

RE_MENTIONS

- Re-exports RE_MENTIONS -
-
- -

RE_SPOILER

- Re-exports RE_SPOILER -
-
- -

ReadyPacket

- Re-exports ReadyPacket -
-
- -

Server

- Re-exports Server -
-
- -

ServerboundNotification

- Re-exports ServerboundNotification -
-
- -

Session

- Re-exports Session -
-
- -

U32_MAX

- Re-exports U32_MAX -
-
- -

User

- Re-exports User -
-
- -

UserPermission

- Re-exports UserPermission -
-
- -

calculatePermission

- Re-exports calculatePermission -
-
- -

defaultConfig

- Re-exports defaultConfig -
-
- -

toNullable

- Re-exports toNullable -
-
- -

toNullableDate

- Re-exports toNullableDate -
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/maps_Bots.html b/modules/maps_Bots.html deleted file mode 100644 index aec21bce..00000000 --- a/modules/maps_Bots.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - maps/Bots | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module maps/Bots

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/maps_Channels.html b/modules/maps_Channels.html deleted file mode 100644 index 78304cbe..00000000 --- a/modules/maps_Channels.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - maps/Channels | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module maps/Channels

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/maps_Collection.html b/modules/maps_Collection.html deleted file mode 100644 index 4c2833cb..00000000 --- a/modules/maps_Collection.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - maps/Collection | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module maps/Collection

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/maps_Emojis.html b/modules/maps_Emojis.html deleted file mode 100644 index 051dd62a..00000000 --- a/modules/maps_Emojis.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - maps/Emojis | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module maps/Emojis

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/maps_Members.html b/modules/maps_Members.html deleted file mode 100644 index 13ead6c2..00000000 --- a/modules/maps_Members.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - maps/Members | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module maps/Members

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/maps_Messages.html b/modules/maps_Messages.html deleted file mode 100644 index 0c278899..00000000 --- a/modules/maps_Messages.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - maps/Messages | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module maps/Messages

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/maps_Servers.html b/modules/maps_Servers.html deleted file mode 100644 index baf9eb10..00000000 --- a/modules/maps_Servers.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - maps/Servers | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module maps/Servers

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/maps_Users.html b/modules/maps_Users.html deleted file mode 100644 index 590c8702..00000000 --- a/modules/maps_Users.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - maps/Users | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module maps/Users

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/permissions_calculator.html b/modules/permissions_calculator.html deleted file mode 100644 index c7c6743d..00000000 --- a/modules/permissions_calculator.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - permissions/calculator | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module permissions/calculator

-
-
-
-
-
-
-
-

Index

-
-
-
-

Functions

- -
-
-
-
-
-

Functions

-
- -

bitwiseAndEq

-
    -
  • bitwiseAndEq(a: number, ...b: number[]): boolean
  • -
-
    -
  • - -
    -
    -

    Check whether b is present in a

    -
    -
    -

    Parameters

    -
      -
    • -
      a: number
      -
      -

      Input A

      -
      -
    • -
    • -
      Rest ...b: number[]
      -
      -

      Inputs (OR'd together)

      -
      -
    • -
    -

    Returns boolean

    -
  • -
-
-
- -

calculatePermission

- -
    -
  • - -
    -
    -

    Calculate permissions against a given object

    -
    -
    -

    Parameters

    -
      -
    • -
      target: Channel | Server
      -
      -

      Target object to check permissions against

      -
      -
    • -
    • -
      Optional options: { member?: Member }
      -
      -

      Additional options to use when calculating

      -
      -
        -
      • -
        Optional member?: Member
        -
        -
        -

        Pretend to be another member

        -
        -
        -
      • -
      -
    • -
    -

    Returns number

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/permissions_definitions.html b/modules/permissions_definitions.html deleted file mode 100644 index 36c143e0..00000000 --- a/modules/permissions_definitions.html +++ /dev/null @@ -1,463 +0,0 @@ - - - - - - permissions/definitions | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module permissions/definitions

-
-
-
-
-
-
-
-

Index

-
- -
-
-
-

Variables

-
- -

Const ALLOW_IN_TIMEOUT

-
ALLOW_IN_TIMEOUT: number = ...
- -
-
-

Permissions allowed for a user while in timeout

-
-
-
-
- -

Const DEFAULT_PERMISSION

-
DEFAULT_PERMISSION: number = ...
- -
-
-

Default base permissions for channels

-
-
-
-
- -

Const DEFAULT_PERMISSION_DIRECT_MESSAGE

-
DEFAULT_PERMISSION_DIRECT_MESSAGE: number = ...
- -
-
-

Permissions in direct message channels / default permissions for group DMs

-
-
-
-
- -

Const DEFAULT_PERMISSION_SAVED_MESSAGES

-
DEFAULT_PERMISSION_SAVED_MESSAGES: number = ...
- -
-
-

Permissions in saved messages channel

-
-
-
-
- -

Const DEFAULT_PERMISSION_SERVER

-
DEFAULT_PERMISSION_SERVER: number = ...
- -
-
-

Permissions in server text / voice channel

-
-
-
-
- -

Const DEFAULT_PERMISSION_VIEW_ONLY

-
DEFAULT_PERMISSION_VIEW_ONLY: number = ...
- -
-
-

Default permissions if we can only view

-
-
-
-
- -

Const Permission

-
Permission: { AssignRoles: number; BanMembers: number; ChangeAvatar: number; ChangeNickname: number; Connect: number; DeafenMembers: number; GrantAllSafe: number; InviteOthers: number; KickMembers: number; ManageChannel: number; ManageCustomisation: number; ManageMessages: number; ManageNicknames: number; ManagePermissions: number; ManageRole: number; ManageServer: number; ManageWebhooks: number; Masquerade: number; MoveMembers: number; MuteMembers: number; React: number; ReadMessageHistory: number; RemoveAvatars: number; SendEmbeds: number; SendMessage: number; Speak: number; TimeoutMembers: number; UploadFiles: number; Video: number; ViewChannel: number } = ...
- -
-
-

Permission against Server / Channel

-
-
-
-

Type declaration

-
    -
  • -
    AssignRoles: number
    -
  • -
  • -
    BanMembers: number
    -
  • -
  • -
    ChangeAvatar: number
    -
  • -
  • -
    ChangeNickname: number
    -
  • -
  • -
    Connect: number
    -
  • -
  • -
    DeafenMembers: number
    -
  • -
  • -
    GrantAllSafe: number
    -
  • -
  • -
    InviteOthers: number
    -
  • -
  • -
    KickMembers: number
    -
  • -
  • -
    ManageChannel: number
    -
  • -
  • -
    ManageCustomisation: number
    -
  • -
  • -
    ManageMessages: number
    -
  • -
  • -
    ManageNicknames: number
    -
  • -
  • -
    ManagePermissions: number
    -
  • -
  • -
    ManageRole: number
    -
  • -
  • -
    ManageServer: number
    -
  • -
  • -
    ManageWebhooks: number
    -
  • -
  • -
    Masquerade: number
    -
  • -
  • -
    MoveMembers: number
    -
  • -
  • -
    MuteMembers: number
    -
  • -
  • -
    React: number
    -
  • -
  • -
    ReadMessageHistory: number
    -
  • -
  • -
    RemoveAvatars: number
    -
  • -
  • -
    SendEmbeds: number
    -
  • -
  • -
    SendMessage: number
    -
  • -
  • -
    Speak: number
    -
  • -
  • -
    TimeoutMembers: number
    -
  • -
  • -
    UploadFiles: number
    -
  • -
  • -
    Video: number
    -
  • -
  • -
    ViewChannel: number
    -
  • -
-
-
-
- -

Const U32_MAX

-
U32_MAX: number = ...
- -
-
-

Maximum safe value

-
-
-
-
- -

Const UserPermission

-
UserPermission: { Access: number; Invite: number; SendMessage: number; ViewProfile: number } = ...
- -
-
-

Permission against User

-
-
-
-

Type declaration

-
    -
  • -
    Access: number
    -
  • -
  • -
    Invite: number
    -
  • -
  • -
    SendMessage: number
    -
  • -
  • -
    ViewProfile: number
    -
  • -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/util_Unreads.html b/modules/util_Unreads.html deleted file mode 100644 index 42481588..00000000 --- a/modules/util_Unreads.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - util/Unreads | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module util/Unreads

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-

Interfaces

- -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/util_null.html b/modules/util_null.html deleted file mode 100644 index e78fb981..00000000 --- a/modules/util_null.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - util/null | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module util/null

-
-
-
-
-
-
-
-

Index

-
-
-
-

Type aliases

- -
-
-

Functions

- -
-
-
-
-
-

Type aliases

-
- -

Nullable

-
Nullable<T>: T | null
- -

Type parameters

-
    -
  • -

    T

    -
  • -
-
-
-
-

Functions

-
- -

toNullable

-
    -
  • toNullable<T>(data?: T): null | T
  • -
-
    -
  • - -

    Type parameters

    -
      -
    • -

      T

      -
    • -
    -

    Parameters

    -
      -
    • -
      Optional data: T
      -
    • -
    -

    Returns null | T

    -
  • -
-
-
- -

toNullableDate

-
    -
  • toNullableDate(data?: { $date: string } | string | null): null | Date
  • -
-
    -
  • - -
    -
    -

    Backwards compatible convert potential Date value to Nullable.

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional data: { $date: string } | string | null
      -
      -

      ISO8601 Timestamp or BSON DateTime

      -
      -
    • -
    -

    Returns null | Date

    -
  • -
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/websocket_client.html b/modules/websocket_client.html deleted file mode 100644 index d8e3fee4..00000000 --- a/modules/websocket_client.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - websocket/client | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module websocket/client

-
-
-
-
-
-
-
-

Index

-
-
-
-

Classes

- -
-
-
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/modules/websocket_notifications.html b/modules/websocket_notifications.html deleted file mode 100644 index 56f74468..00000000 --- a/modules/websocket_notifications.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - websocket/notifications | revolt.js - - - - - - -
-
-
-
- -
-
- Options -
-
- All -
    -
  • Public
  • -
  • Public/Protected
  • -
  • All
  • -
-
- - - - -
-
- Menu -
-
-
-
-
-
- -

Module websocket/notifications

-
-
-
-
-
-
-
-

Index

-
- -
-
-
-

Type aliases

-
- -

ClientboundNotification

-
ClientboundNotification: { type: "Bulk"; v: ClientboundNotification[] } | { data: number; type: "Ping" } | { data: number; type: "Pong" } | ({ type: "Error" } & WebSocketError) | { type: "Authenticated" } | ReadyPacket | ({ type: "Message" } & Message) | { channel: string; data: Partial<Message>; id: string; type: "MessageUpdate" } | { append: Pick<Partial<Message>, "embeds">; channel: string; id: string; type: "MessageAppend" } | { channel: string; id: string; type: "MessageDelete" } | { channel_id: string; emoji_id: string; id: string; type: "MessageReact"; user_id: string } | { channel_id: string; emoji_id: string; id: string; type: "MessageUnreact"; user_id: string } | { channel_id: string; emoji_id: string; id: string; type: "MessageRemoveReaction" } | { channel: string; ids: string[]; type: "BulkMessageDelete" } | ({ type: "ChannelCreate" } & Channel) | { clear?: FieldsChannel[]; data: Partial<Channel>; id: string; type: "ChannelUpdate" } | { id: string; type: "ChannelDelete" } | { id: string; type: "ChannelGroupJoin"; user: string } | { id: string; type: "ChannelGroupLeave"; user: string } | { id: string; type: "ChannelStartTyping"; user: string } | { id: string; type: "ChannelStopTyping"; user: string } | { id: string; message_id: string; type: "ChannelAck"; user: string } | { channels: Channel[]; id: string; server: Server; type: "ServerCreate" } | { clear?: FieldsServer[]; data: Partial<Server>; id: string; type: "ServerUpdate" } | { id: string; type: "ServerDelete" } | { clear?: FieldsMember[]; data: Partial<Member>; id: MemberCompositeKey; type: "ServerMemberUpdate" } | { id: string; type: "ServerMemberJoin"; user: string } | { id: string; type: "ServerMemberLeave"; user: string } | { data: Partial<Role>; id: string; role_id: string; type: "ServerRoleUpdate" } | { id: string; role_id: string; type: "ServerRoleDelete" } | { clear?: FieldsUser[]; data: Partial<User>; id: string; type: "UserUpdate" } | { status: RelationshipStatus; type: "UserRelationship"; user: User } | { id: string; online: boolean; type: "UserPresence" } | { id: string; type: "UserSettingsUpdate"; update: {} } | { flags: number; type: "UserPlatformWipe"; user_id: string } | ({ type: "EmojiCreate" } & Emoji) | { id: string; type: "EmojiDelete" } | ({ type: "Auth" } & { event_type: "DeleteSession"; session_id: string; user_id: string } | { event_type: "DeleteAllSessions"; exclude_session_id: string; user_id: string })
- -
-
- -

ReadyPacket

-
ReadyPacket: { channels: Channel[]; emojis?: Emoji[]; members: Member[]; servers: Server[]; type: "Ready"; users: User[] }
- -
-

Type declaration

-
    -
  • -
    channels: Channel[]
    -
  • -
  • -
    Optional emojis?: Emoji[]
    -
  • -
  • -
    members: Member[]
    -
  • -
  • -
    servers: Server[]
    -
  • -
  • -
    type: "Ready"
    -
  • -
  • -
    users: User[]
    -
  • -
-
-
-
- -

ServerboundNotification

-
ServerboundNotification: { data: number; type: "Ping" } | { data: number; type: "Pong" } | ({ type: "Authenticate" } & Session) | { token: string; type: "Authenticate" } | { channel: string; type: "BeginTyping" } | { channel: string; type: "EndTyping" }
- -
-
-
- -
-
-
-
-

Legend

-
-
    -
  • Variable
  • -
  • Function
  • -
  • Function with type parameter
  • -
  • Type alias
  • -
  • Type alias with type parameter
  • -
-
    -
  • Class
  • -
  • Class with type parameter
  • -
-
    -
  • Interface
  • -
-
-
-
-
-

Generated using TypeDoc

-
-
- - - \ No newline at end of file diff --git a/types/API.AccountInfo.html b/types/API.AccountInfo.html new file mode 100644 index 00000000..97c0d64f --- /dev/null +++ b/types/API.AccountInfo.html @@ -0,0 +1,492 @@ +AccountInfo | revolt.js
+
+ +
+
+
+
+ +

Type alias AccountInfo

+
AccountInfo: components["schemas"]["AccountInfo"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.AllMemberResponse.html b/types/API.AllMemberResponse.html new file mode 100644 index 00000000..cfba6721 --- /dev/null +++ b/types/API.AllMemberResponse.html @@ -0,0 +1,492 @@ +AllMemberResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias AllMemberResponse

+
AllMemberResponse: components["schemas"]["AllMemberResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Authifier_Error.html b/types/API.Authifier_Error.html new file mode 100644 index 00000000..ad0dce96 --- /dev/null +++ b/types/API.Authifier_Error.html @@ -0,0 +1,492 @@ +Authifier_Error | revolt.js
+
+ +
+
+
+
+ +

Type alias Authifier_Error

+
Authifier_Error: components["schemas"]["Authifier Error"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.BanListResult.html b/types/API.BanListResult.html new file mode 100644 index 00000000..e1ed839c --- /dev/null +++ b/types/API.BanListResult.html @@ -0,0 +1,492 @@ +BanListResult | revolt.js
+
+ +
+
+
+
+ +

Type alias BanListResult

+
BanListResult: components["schemas"]["BanListResult"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.BandcampType.html b/types/API.BandcampType.html new file mode 100644 index 00000000..4eadc57a --- /dev/null +++ b/types/API.BandcampType.html @@ -0,0 +1,492 @@ +BandcampType | revolt.js
+
+ +
+
+
+
+ +

Type alias BandcampType

+
BandcampType: components["schemas"]["BandcampType"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.BannedUser.html b/types/API.BannedUser.html new file mode 100644 index 00000000..42889086 --- /dev/null +++ b/types/API.BannedUser.html @@ -0,0 +1,492 @@ +BannedUser | revolt.js
+
+ +
+
+
+
+ +

Type alias BannedUser

+
BannedUser: components["schemas"]["BannedUser"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Bot.html b/types/API.Bot.html new file mode 100644 index 00000000..f3f8d630 --- /dev/null +++ b/types/API.Bot.html @@ -0,0 +1,492 @@ +Bot | revolt.js
+
+ +
+
+
+
+ +

Type alias Bot

+
Bot: components["schemas"]["Bot"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.BotInformation.html b/types/API.BotInformation.html new file mode 100644 index 00000000..0a343a24 --- /dev/null +++ b/types/API.BotInformation.html @@ -0,0 +1,492 @@ +BotInformation | revolt.js
+
+ +
+
+
+
+ +

Type alias BotInformation

+
BotInformation: components["schemas"]["BotInformation"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.BotResponse.html b/types/API.BotResponse.html new file mode 100644 index 00000000..d12a35fa --- /dev/null +++ b/types/API.BotResponse.html @@ -0,0 +1,492 @@ +BotResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias BotResponse

+
BotResponse: components["schemas"]["BotResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.BuildInformation.html b/types/API.BuildInformation.html new file mode 100644 index 00000000..bd88adfc --- /dev/null +++ b/types/API.BuildInformation.html @@ -0,0 +1,492 @@ +BuildInformation | revolt.js
+
+ +
+
+
+
+ +

Type alias BuildInformation

+
BuildInformation: components["schemas"]["BuildInformation"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.BulkMessageResponse.html b/types/API.BulkMessageResponse.html new file mode 100644 index 00000000..2800fb7c --- /dev/null +++ b/types/API.BulkMessageResponse.html @@ -0,0 +1,492 @@ +BulkMessageResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias BulkMessageResponse

+
BulkMessageResponse: components["schemas"]["BulkMessageResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.CaptchaFeature.html b/types/API.CaptchaFeature.html new file mode 100644 index 00000000..70c6fca3 --- /dev/null +++ b/types/API.CaptchaFeature.html @@ -0,0 +1,492 @@ +CaptchaFeature | revolt.js
+
+ +
+
+
+
+ +

Type alias CaptchaFeature

+
CaptchaFeature: components["schemas"]["CaptchaFeature"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Category.html b/types/API.Category.html new file mode 100644 index 00000000..ab9b196c --- /dev/null +++ b/types/API.Category.html @@ -0,0 +1,492 @@ +Category | revolt.js
+
+ +
+
+
+
+ +

Type alias Category

+
Category: components["schemas"]["Category"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Channel.html b/types/API.Channel.html new file mode 100644 index 00000000..eaeb3104 --- /dev/null +++ b/types/API.Channel.html @@ -0,0 +1,492 @@ +Channel | revolt.js
+
+ +
+
+
+
+ +

Type alias Channel

+
Channel: components["schemas"]["Channel"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ChannelCompositeKey.html b/types/API.ChannelCompositeKey.html new file mode 100644 index 00000000..e0997532 --- /dev/null +++ b/types/API.ChannelCompositeKey.html @@ -0,0 +1,492 @@ +ChannelCompositeKey | revolt.js
+
+ +
+
+
+
+ +

Type alias ChannelCompositeKey

+
ChannelCompositeKey: components["schemas"]["ChannelCompositeKey"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ChannelType.html b/types/API.ChannelType.html new file mode 100644 index 00000000..0a18d25b --- /dev/null +++ b/types/API.ChannelType.html @@ -0,0 +1,492 @@ +ChannelType | revolt.js
+
+ +
+
+
+
+ +

Type alias ChannelType

+
ChannelType: components["schemas"]["ChannelType"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ChannelUnread.html b/types/API.ChannelUnread.html new file mode 100644 index 00000000..f949a04a --- /dev/null +++ b/types/API.ChannelUnread.html @@ -0,0 +1,492 @@ +ChannelUnread | revolt.js
+
+ +
+
+
+
+ +

Type alias ChannelUnread

+
ChannelUnread: components["schemas"]["ChannelUnread"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.CollectionScans.html b/types/API.CollectionScans.html new file mode 100644 index 00000000..d168504b --- /dev/null +++ b/types/API.CollectionScans.html @@ -0,0 +1,492 @@ +CollectionScans | revolt.js
+
+ +
+
+
+
+ +

Type alias CollectionScans

+
CollectionScans: components["schemas"]["CollectionScans"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.CollectionStats.html b/types/API.CollectionStats.html new file mode 100644 index 00000000..8c02439d --- /dev/null +++ b/types/API.CollectionStats.html @@ -0,0 +1,492 @@ +CollectionStats | revolt.js
+
+ +
+
+
+
+ +

Type alias CollectionStats

+
CollectionStats: components["schemas"]["CollectionStats"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ContentReportReason.html b/types/API.ContentReportReason.html new file mode 100644 index 00000000..30734595 --- /dev/null +++ b/types/API.ContentReportReason.html @@ -0,0 +1,492 @@ +ContentReportReason | revolt.js
+
+ +
+
+
+
+ +

Type alias ContentReportReason

+
ContentReportReason: components["schemas"]["ContentReportReason"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.CreateServerResponse.html b/types/API.CreateServerResponse.html new file mode 100644 index 00000000..2433b21a --- /dev/null +++ b/types/API.CreateServerResponse.html @@ -0,0 +1,492 @@ +CreateServerResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias CreateServerResponse

+
CreateServerResponse: components["schemas"]["CreateServerResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.CreateVoiceUserResponse.html b/types/API.CreateVoiceUserResponse.html new file mode 100644 index 00000000..e47920fa --- /dev/null +++ b/types/API.CreateVoiceUserResponse.html @@ -0,0 +1,492 @@ +CreateVoiceUserResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias CreateVoiceUserResponse

+
CreateVoiceUserResponse: components["schemas"]["CreateVoiceUserResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Data.html b/types/API.Data.html new file mode 100644 index 00000000..ef5e4631 --- /dev/null +++ b/types/API.Data.html @@ -0,0 +1,492 @@ +Data | revolt.js
+
+ +
+
+
+
+ +

Type alias Data

+
Data: components["schemas"]["Data"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataAccountDeletion.html b/types/API.DataAccountDeletion.html new file mode 100644 index 00000000..28e7b18a --- /dev/null +++ b/types/API.DataAccountDeletion.html @@ -0,0 +1,492 @@ +DataAccountDeletion | revolt.js
+
+ +
+
+
+
+ +

Type alias DataAccountDeletion

+
DataAccountDeletion: components["schemas"]["DataAccountDeletion"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataBanCreate.html b/types/API.DataBanCreate.html new file mode 100644 index 00000000..6e07a26e --- /dev/null +++ b/types/API.DataBanCreate.html @@ -0,0 +1,492 @@ +DataBanCreate | revolt.js
+
+ +
+
+
+
+ +

Type alias DataBanCreate

+
DataBanCreate: components["schemas"]["DataBanCreate"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataChangeEmail.html b/types/API.DataChangeEmail.html new file mode 100644 index 00000000..2bf88a80 --- /dev/null +++ b/types/API.DataChangeEmail.html @@ -0,0 +1,492 @@ +DataChangeEmail | revolt.js
+
+ +
+
+
+
+ +

Type alias DataChangeEmail

+
DataChangeEmail: components["schemas"]["DataChangeEmail"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataChangePassword.html b/types/API.DataChangePassword.html new file mode 100644 index 00000000..e82dfec7 --- /dev/null +++ b/types/API.DataChangePassword.html @@ -0,0 +1,492 @@ +DataChangePassword | revolt.js
+
+ +
+
+
+
+ +

Type alias DataChangePassword

+
DataChangePassword: components["schemas"]["DataChangePassword"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataChangeUsername.html b/types/API.DataChangeUsername.html new file mode 100644 index 00000000..2a7ce9ce --- /dev/null +++ b/types/API.DataChangeUsername.html @@ -0,0 +1,492 @@ +DataChangeUsername | revolt.js
+
+ +
+
+
+
+ +

Type alias DataChangeUsername

+
DataChangeUsername: components["schemas"]["DataChangeUsername"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataCreateAccount.html b/types/API.DataCreateAccount.html new file mode 100644 index 00000000..33672ae3 --- /dev/null +++ b/types/API.DataCreateAccount.html @@ -0,0 +1,492 @@ +DataCreateAccount | revolt.js
+
+ +
+
+
+
+ +

Type alias DataCreateAccount

+
DataCreateAccount: components["schemas"]["DataCreateAccount"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataCreateBot.html b/types/API.DataCreateBot.html new file mode 100644 index 00000000..6d7e74b5 --- /dev/null +++ b/types/API.DataCreateBot.html @@ -0,0 +1,492 @@ +DataCreateBot | revolt.js
+
+ +
+
+
+
+ +

Type alias DataCreateBot

+
DataCreateBot: components["schemas"]["DataCreateBot"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataCreateChannel.html b/types/API.DataCreateChannel.html new file mode 100644 index 00000000..1b2929e8 --- /dev/null +++ b/types/API.DataCreateChannel.html @@ -0,0 +1,492 @@ +DataCreateChannel | revolt.js
+
+ +
+
+
+
+ +

Type alias DataCreateChannel

+
DataCreateChannel: components["schemas"]["DataCreateChannel"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataCreateEmoji.html b/types/API.DataCreateEmoji.html new file mode 100644 index 00000000..020f991e --- /dev/null +++ b/types/API.DataCreateEmoji.html @@ -0,0 +1,492 @@ +DataCreateEmoji | revolt.js
+
+ +
+
+
+
+ +

Type alias DataCreateEmoji

+
DataCreateEmoji: components["schemas"]["DataCreateEmoji"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataCreateGroup.html b/types/API.DataCreateGroup.html new file mode 100644 index 00000000..c337527a --- /dev/null +++ b/types/API.DataCreateGroup.html @@ -0,0 +1,492 @@ +DataCreateGroup | revolt.js
+
+ +
+
+
+
+ +

Type alias DataCreateGroup

+
DataCreateGroup: components["schemas"]["DataCreateGroup"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataCreateRole.html b/types/API.DataCreateRole.html new file mode 100644 index 00000000..5648cb3c --- /dev/null +++ b/types/API.DataCreateRole.html @@ -0,0 +1,492 @@ +DataCreateRole | revolt.js
+
+ +
+
+
+
+ +

Type alias DataCreateRole

+
DataCreateRole: components["schemas"]["DataCreateRole"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataCreateServer.html b/types/API.DataCreateServer.html new file mode 100644 index 00000000..013a5071 --- /dev/null +++ b/types/API.DataCreateServer.html @@ -0,0 +1,492 @@ +DataCreateServer | revolt.js
+
+ +
+
+
+
+ +

Type alias DataCreateServer

+
DataCreateServer: components["schemas"]["DataCreateServer"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataDefaultChannelPermissions.html b/types/API.DataDefaultChannelPermissions.html new file mode 100644 index 00000000..b3eb62fb --- /dev/null +++ b/types/API.DataDefaultChannelPermissions.html @@ -0,0 +1,492 @@ +DataDefaultChannelPermissions | revolt.js
+
+ +
+
+
+
+ +

Type alias DataDefaultChannelPermissions

+
DataDefaultChannelPermissions: components["schemas"]["DataDefaultChannelPermissions"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataEditBot.html b/types/API.DataEditBot.html new file mode 100644 index 00000000..6397cdfe --- /dev/null +++ b/types/API.DataEditBot.html @@ -0,0 +1,492 @@ +DataEditBot | revolt.js
+
+ +
+
+
+
+ +

Type alias DataEditBot

+
DataEditBot: components["schemas"]["DataEditBot"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataEditChannel.html b/types/API.DataEditChannel.html new file mode 100644 index 00000000..41d6adec --- /dev/null +++ b/types/API.DataEditChannel.html @@ -0,0 +1,492 @@ +DataEditChannel | revolt.js
+
+ +
+
+
+
+ +

Type alias DataEditChannel

+
DataEditChannel: components["schemas"]["DataEditChannel"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataEditMessage.html b/types/API.DataEditMessage.html new file mode 100644 index 00000000..0c3e0bcc --- /dev/null +++ b/types/API.DataEditMessage.html @@ -0,0 +1,492 @@ +DataEditMessage | revolt.js
+
+ +
+
+
+
+ +

Type alias DataEditMessage

+
DataEditMessage: components["schemas"]["DataEditMessage"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataEditReport.html b/types/API.DataEditReport.html new file mode 100644 index 00000000..e092537c --- /dev/null +++ b/types/API.DataEditReport.html @@ -0,0 +1,492 @@ +DataEditReport | revolt.js
+
+ +
+
+
+
+ +

Type alias DataEditReport

+
DataEditReport: components["schemas"]["DataEditReport"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataEditRole.html b/types/API.DataEditRole.html new file mode 100644 index 00000000..abe03e35 --- /dev/null +++ b/types/API.DataEditRole.html @@ -0,0 +1,492 @@ +DataEditRole | revolt.js
+
+ +
+
+
+
+ +

Type alias DataEditRole

+
DataEditRole: components["schemas"]["DataEditRole"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataEditServer.html b/types/API.DataEditServer.html new file mode 100644 index 00000000..18d54efd --- /dev/null +++ b/types/API.DataEditServer.html @@ -0,0 +1,492 @@ +DataEditServer | revolt.js
+
+ +
+
+
+
+ +

Type alias DataEditServer

+
DataEditServer: components["schemas"]["DataEditServer"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataEditSession.html b/types/API.DataEditSession.html new file mode 100644 index 00000000..2e88a9a8 --- /dev/null +++ b/types/API.DataEditSession.html @@ -0,0 +1,492 @@ +DataEditSession | revolt.js
+
+ +
+
+
+
+ +

Type alias DataEditSession

+
DataEditSession: components["schemas"]["DataEditSession"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataEditUser.html b/types/API.DataEditUser.html new file mode 100644 index 00000000..68d90658 --- /dev/null +++ b/types/API.DataEditUser.html @@ -0,0 +1,492 @@ +DataEditUser | revolt.js
+
+ +
+
+
+
+ +

Type alias DataEditUser

+
DataEditUser: components["schemas"]["DataEditUser"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataHello.html b/types/API.DataHello.html new file mode 100644 index 00000000..220210eb --- /dev/null +++ b/types/API.DataHello.html @@ -0,0 +1,492 @@ +DataHello | revolt.js
+
+ +
+
+
+
+ +

Type alias DataHello

+
DataHello: components["schemas"]["DataHello"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataLogin.html b/types/API.DataLogin.html new file mode 100644 index 00000000..8104d4d1 --- /dev/null +++ b/types/API.DataLogin.html @@ -0,0 +1,492 @@ +DataLogin | revolt.js
+
+ +
+
+
+
+ +

Type alias DataLogin

+
DataLogin: components["schemas"]["DataLogin"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataMemberEdit.html b/types/API.DataMemberEdit.html new file mode 100644 index 00000000..02a9a647 --- /dev/null +++ b/types/API.DataMemberEdit.html @@ -0,0 +1,492 @@ +DataMemberEdit | revolt.js
+
+ +
+
+
+
+ +

Type alias DataMemberEdit

+
DataMemberEdit: components["schemas"]["DataMemberEdit"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataMessageSend.html b/types/API.DataMessageSend.html new file mode 100644 index 00000000..f59b6434 --- /dev/null +++ b/types/API.DataMessageSend.html @@ -0,0 +1,492 @@ +DataMessageSend | revolt.js
+
+ +
+
+
+
+ +

Type alias DataMessageSend

+
DataMessageSend: components["schemas"]["DataMessageSend"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataOnboard.html b/types/API.DataOnboard.html new file mode 100644 index 00000000..4bb40ea0 --- /dev/null +++ b/types/API.DataOnboard.html @@ -0,0 +1,492 @@ +DataOnboard | revolt.js
+
+ +
+
+
+
+ +

Type alias DataOnboard

+
DataOnboard: components["schemas"]["DataOnboard"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataPasswordReset.html b/types/API.DataPasswordReset.html new file mode 100644 index 00000000..15ea2b88 --- /dev/null +++ b/types/API.DataPasswordReset.html @@ -0,0 +1,492 @@ +DataPasswordReset | revolt.js
+
+ +
+
+
+
+ +

Type alias DataPasswordReset

+
DataPasswordReset: components["schemas"]["DataPasswordReset"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataReportContent.html b/types/API.DataReportContent.html new file mode 100644 index 00000000..64538e7a --- /dev/null +++ b/types/API.DataReportContent.html @@ -0,0 +1,492 @@ +DataReportContent | revolt.js
+
+ +
+
+
+
+ +

Type alias DataReportContent

+
DataReportContent: components["schemas"]["DataReportContent"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataResendVerification.html b/types/API.DataResendVerification.html new file mode 100644 index 00000000..7d4dcb13 --- /dev/null +++ b/types/API.DataResendVerification.html @@ -0,0 +1,492 @@ +DataResendVerification | revolt.js
+
+ +
+
+
+
+ +

Type alias DataResendVerification

+
DataResendVerification: components["schemas"]["DataResendVerification"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataSendFriendRequest.html b/types/API.DataSendFriendRequest.html new file mode 100644 index 00000000..cf0ede8a --- /dev/null +++ b/types/API.DataSendFriendRequest.html @@ -0,0 +1,492 @@ +DataSendFriendRequest | revolt.js
+
+ +
+
+
+
+ +

Type alias DataSendFriendRequest

+
DataSendFriendRequest: components["schemas"]["DataSendFriendRequest"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataSendPasswordReset.html b/types/API.DataSendPasswordReset.html new file mode 100644 index 00000000..08aaed70 --- /dev/null +++ b/types/API.DataSendPasswordReset.html @@ -0,0 +1,492 @@ +DataSendPasswordReset | revolt.js
+
+ +
+
+
+
+ +

Type alias DataSendPasswordReset

+
DataSendPasswordReset: components["schemas"]["DataSendPasswordReset"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataSetServerDefaultPermission.html b/types/API.DataSetServerDefaultPermission.html new file mode 100644 index 00000000..f634c0c8 --- /dev/null +++ b/types/API.DataSetServerDefaultPermission.html @@ -0,0 +1,492 @@ +DataSetServerDefaultPermission | revolt.js
+
+ +
+
+
+
+ +

Type alias DataSetServerDefaultPermission

+
DataSetServerDefaultPermission: components["schemas"]["DataSetServerDefaultPermission"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.DataSetServerRolePermission.html b/types/API.DataSetServerRolePermission.html new file mode 100644 index 00000000..1019d482 --- /dev/null +++ b/types/API.DataSetServerRolePermission.html @@ -0,0 +1,492 @@ +DataSetServerRolePermission | revolt.js
+
+ +
+
+
+
+ +

Type alias DataSetServerRolePermission

+
DataSetServerRolePermission: components["schemas"]["DataSetServerRolePermission"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Embed.html b/types/API.Embed.html new file mode 100644 index 00000000..6af9578a --- /dev/null +++ b/types/API.Embed.html @@ -0,0 +1,492 @@ +Embed | revolt.js
+
+ +
+
+
+
+ +

Type alias Embed

+
Embed: components["schemas"]["Embed"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Emoji.html b/types/API.Emoji.html new file mode 100644 index 00000000..35801cc0 --- /dev/null +++ b/types/API.Emoji.html @@ -0,0 +1,492 @@ +Emoji | revolt.js
+
+ +
+
+
+
+ +

Type alias Emoji

+
Emoji: components["schemas"]["Emoji"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.EmojiParent.html b/types/API.EmojiParent.html new file mode 100644 index 00000000..97a0f8be --- /dev/null +++ b/types/API.EmojiParent.html @@ -0,0 +1,492 @@ +EmojiParent | revolt.js
+
+ +
+
+
+
+ +

Type alias EmojiParent

+
EmojiParent: components["schemas"]["EmojiParent"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Error.html b/types/API.Error.html new file mode 100644 index 00000000..2b4ab1ef --- /dev/null +++ b/types/API.Error.html @@ -0,0 +1,492 @@ +Error | revolt.js
+
+ +
+
+
+
+ +

Type alias Error

+
Error: components["schemas"]["Error"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Feature.html b/types/API.Feature.html new file mode 100644 index 00000000..cf787fa5 --- /dev/null +++ b/types/API.Feature.html @@ -0,0 +1,492 @@ +Feature | revolt.js
+
+ +
+
+
+
+ +

Type alias Feature

+
Feature: components["schemas"]["Feature"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.FieldsBot.html b/types/API.FieldsBot.html new file mode 100644 index 00000000..c51bbd23 --- /dev/null +++ b/types/API.FieldsBot.html @@ -0,0 +1,492 @@ +FieldsBot | revolt.js
+
+ +
+
+
+
+ +

Type alias FieldsBot

+
FieldsBot: components["schemas"]["FieldsBot"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.FieldsChannel.html b/types/API.FieldsChannel.html new file mode 100644 index 00000000..c6691f02 --- /dev/null +++ b/types/API.FieldsChannel.html @@ -0,0 +1,492 @@ +FieldsChannel | revolt.js
+
+ +
+
+
+
+ +

Type alias FieldsChannel

+
FieldsChannel: components["schemas"]["FieldsChannel"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.FieldsMember.html b/types/API.FieldsMember.html new file mode 100644 index 00000000..e2117a2d --- /dev/null +++ b/types/API.FieldsMember.html @@ -0,0 +1,492 @@ +FieldsMember | revolt.js
+
+ +
+
+
+
+ +

Type alias FieldsMember

+
FieldsMember: components["schemas"]["FieldsMember"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.FieldsRole.html b/types/API.FieldsRole.html new file mode 100644 index 00000000..7a8edf18 --- /dev/null +++ b/types/API.FieldsRole.html @@ -0,0 +1,492 @@ +FieldsRole | revolt.js
+
+ +
+
+
+
+ +

Type alias FieldsRole

+
FieldsRole: components["schemas"]["FieldsRole"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.FieldsServer.html b/types/API.FieldsServer.html new file mode 100644 index 00000000..f896e707 --- /dev/null +++ b/types/API.FieldsServer.html @@ -0,0 +1,492 @@ +FieldsServer | revolt.js
+
+ +
+
+
+
+ +

Type alias FieldsServer

+
FieldsServer: components["schemas"]["FieldsServer"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.FieldsUser.html b/types/API.FieldsUser.html new file mode 100644 index 00000000..21ebe522 --- /dev/null +++ b/types/API.FieldsUser.html @@ -0,0 +1,492 @@ +FieldsUser | revolt.js
+
+ +
+
+
+
+ +

Type alias FieldsUser

+
FieldsUser: components["schemas"]["FieldsUser"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.File.html b/types/API.File.html new file mode 100644 index 00000000..5afb06f0 --- /dev/null +++ b/types/API.File.html @@ -0,0 +1,492 @@ +File | revolt.js
+
+ +
+
+
+
+ +

Type alias File

+
File: components["schemas"]["File"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.FlagResponse.html b/types/API.FlagResponse.html new file mode 100644 index 00000000..ee4029ea --- /dev/null +++ b/types/API.FlagResponse.html @@ -0,0 +1,492 @@ +FlagResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias FlagResponse

+
FlagResponse: components["schemas"]["FlagResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ISO8601_Timestamp.html b/types/API.ISO8601_Timestamp.html new file mode 100644 index 00000000..333404d8 --- /dev/null +++ b/types/API.ISO8601_Timestamp.html @@ -0,0 +1,492 @@ +ISO8601_Timestamp | revolt.js
+
+ +
+
+
+
+ +

Type alias ISO8601_Timestamp

+
ISO8601_Timestamp: components["schemas"]["ISO8601 Timestamp"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Id.html b/types/API.Id.html new file mode 100644 index 00000000..78b68fb3 --- /dev/null +++ b/types/API.Id.html @@ -0,0 +1,492 @@ +Id | revolt.js
+
+ +
+
+
+
+ +

Type alias Id

+
Id: components["schemas"]["Id"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Image.html b/types/API.Image.html new file mode 100644 index 00000000..1f9d75e4 --- /dev/null +++ b/types/API.Image.html @@ -0,0 +1,492 @@ +Image | revolt.js
+
+ +
+
+
+
+ +

Type alias Image

+
Image: components["schemas"]["Image"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ImageSize.html b/types/API.ImageSize.html new file mode 100644 index 00000000..916df355 --- /dev/null +++ b/types/API.ImageSize.html @@ -0,0 +1,492 @@ +ImageSize | revolt.js
+
+ +
+
+
+
+ +

Type alias ImageSize

+
ImageSize: components["schemas"]["ImageSize"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Index.html b/types/API.Index.html new file mode 100644 index 00000000..488a2b2f --- /dev/null +++ b/types/API.Index.html @@ -0,0 +1,492 @@ +Index | revolt.js
+
+ +
+
+
+
+ +

Type alias Index

+
Index: components["schemas"]["Index"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.IndexAccess.html b/types/API.IndexAccess.html new file mode 100644 index 00000000..60aef337 --- /dev/null +++ b/types/API.IndexAccess.html @@ -0,0 +1,492 @@ +IndexAccess | revolt.js
+
+ +
+
+
+
+ +

Type alias IndexAccess

+
IndexAccess: components["schemas"]["IndexAccess"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Interactions.html b/types/API.Interactions.html new file mode 100644 index 00000000..6f3a70f2 --- /dev/null +++ b/types/API.Interactions.html @@ -0,0 +1,492 @@ +Interactions | revolt.js
+
+ +
+
+
+
+ +

Type alias Interactions

+
Interactions: components["schemas"]["Interactions"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Invite.html b/types/API.Invite.html new file mode 100644 index 00000000..4583ac2c --- /dev/null +++ b/types/API.Invite.html @@ -0,0 +1,492 @@ +Invite | revolt.js
+
+ +
+
+
+
+ +

Type alias Invite

+
Invite: components["schemas"]["Invite"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.InviteBotDestination.html b/types/API.InviteBotDestination.html new file mode 100644 index 00000000..22a657a0 --- /dev/null +++ b/types/API.InviteBotDestination.html @@ -0,0 +1,492 @@ +InviteBotDestination | revolt.js
+
+ +
+
+
+
+ +

Type alias InviteBotDestination

+
InviteBotDestination: components["schemas"]["InviteBotDestination"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.InviteJoinResponse.html b/types/API.InviteJoinResponse.html new file mode 100644 index 00000000..dd26734b --- /dev/null +++ b/types/API.InviteJoinResponse.html @@ -0,0 +1,492 @@ +InviteJoinResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias InviteJoinResponse

+
InviteJoinResponse: components["schemas"]["InviteJoinResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.InviteResponse.html b/types/API.InviteResponse.html new file mode 100644 index 00000000..cf00cf32 --- /dev/null +++ b/types/API.InviteResponse.html @@ -0,0 +1,492 @@ +InviteResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias InviteResponse

+
InviteResponse: components["schemas"]["InviteResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.LatencyHistogramEntry.html b/types/API.LatencyHistogramEntry.html new file mode 100644 index 00000000..a1c18a91 --- /dev/null +++ b/types/API.LatencyHistogramEntry.html @@ -0,0 +1,492 @@ +LatencyHistogramEntry | revolt.js
+
+ +
+
+
+
+ +

Type alias LatencyHistogramEntry

+
LatencyHistogramEntry: components["schemas"]["LatencyHistogramEntry"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.LatencyStats.html b/types/API.LatencyStats.html new file mode 100644 index 00000000..c3086306 --- /dev/null +++ b/types/API.LatencyStats.html @@ -0,0 +1,492 @@ +LatencyStats | revolt.js
+
+ +
+
+
+
+ +

Type alias LatencyStats

+
LatencyStats: components["schemas"]["LatencyStats"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.LightspeedType.html b/types/API.LightspeedType.html new file mode 100644 index 00000000..d01f3957 --- /dev/null +++ b/types/API.LightspeedType.html @@ -0,0 +1,492 @@ +LightspeedType | revolt.js
+
+ +
+
+
+
+ +

Type alias LightspeedType

+
LightspeedType: components["schemas"]["LightspeedType"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.MFAMethod.html b/types/API.MFAMethod.html new file mode 100644 index 00000000..4bf85b7f --- /dev/null +++ b/types/API.MFAMethod.html @@ -0,0 +1,492 @@ +MFAMethod | revolt.js
+
+ +
+
+
+
+ +

Type alias MFAMethod

+
MFAMethod: components["schemas"]["MFAMethod"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.MFAResponse.html b/types/API.MFAResponse.html new file mode 100644 index 00000000..89fcd773 --- /dev/null +++ b/types/API.MFAResponse.html @@ -0,0 +1,492 @@ +MFAResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias MFAResponse

+
MFAResponse: components["schemas"]["MFAResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.MFATicket.html b/types/API.MFATicket.html new file mode 100644 index 00000000..db088bcb --- /dev/null +++ b/types/API.MFATicket.html @@ -0,0 +1,492 @@ +MFATicket | revolt.js
+
+ +
+
+
+
+ +

Type alias MFATicket

+
MFATicket: components["schemas"]["MFATicket"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Masquerade.html b/types/API.Masquerade.html new file mode 100644 index 00000000..83e3e68f --- /dev/null +++ b/types/API.Masquerade.html @@ -0,0 +1,492 @@ +Masquerade | revolt.js
+
+ +
+
+
+
+ +

Type alias Masquerade

+
Masquerade: components["schemas"]["Masquerade"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Member.html b/types/API.Member.html new file mode 100644 index 00000000..68a2d8db --- /dev/null +++ b/types/API.Member.html @@ -0,0 +1,492 @@ +Member | revolt.js
+
+ +
+
+
+
+ +

Type alias Member

+
Member: components["schemas"]["Member"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.MemberCompositeKey.html b/types/API.MemberCompositeKey.html new file mode 100644 index 00000000..900905a5 --- /dev/null +++ b/types/API.MemberCompositeKey.html @@ -0,0 +1,492 @@ +MemberCompositeKey | revolt.js
+
+ +
+
+
+
+ +

Type alias MemberCompositeKey

+
MemberCompositeKey: components["schemas"]["MemberCompositeKey"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Message.html b/types/API.Message.html new file mode 100644 index 00000000..80d05f2f --- /dev/null +++ b/types/API.Message.html @@ -0,0 +1,492 @@ +Message | revolt.js
+
+ +
+
+
+
+ +

Type alias Message

+
Message: components["schemas"]["Message"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.MessageQuery.html b/types/API.MessageQuery.html new file mode 100644 index 00000000..0686af86 --- /dev/null +++ b/types/API.MessageQuery.html @@ -0,0 +1,492 @@ +MessageQuery | revolt.js
+
+ +
+
+
+
+ +

Type alias MessageQuery

+
MessageQuery: components["schemas"]["MessageQuery"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.MessageSort.html b/types/API.MessageSort.html new file mode 100644 index 00000000..df96e730 --- /dev/null +++ b/types/API.MessageSort.html @@ -0,0 +1,492 @@ +MessageSort | revolt.js
+
+ +
+
+
+
+ +

Type alias MessageSort

+
MessageSort: components["schemas"]["MessageSort"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Metadata.html b/types/API.Metadata.html new file mode 100644 index 00000000..3c0b6022 --- /dev/null +++ b/types/API.Metadata.html @@ -0,0 +1,492 @@ +Metadata | revolt.js
+
+ +
+
+
+
+ +

Type alias Metadata

+
Metadata: components["schemas"]["Metadata"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.MultiFactorStatus.html b/types/API.MultiFactorStatus.html new file mode 100644 index 00000000..dd2e7141 --- /dev/null +++ b/types/API.MultiFactorStatus.html @@ -0,0 +1,492 @@ +MultiFactorStatus | revolt.js
+
+ +
+
+
+
+ +

Type alias MultiFactorStatus

+
MultiFactorStatus: components["schemas"]["MultiFactorStatus"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.MutualResponse.html b/types/API.MutualResponse.html new file mode 100644 index 00000000..7380da30 --- /dev/null +++ b/types/API.MutualResponse.html @@ -0,0 +1,492 @@ +MutualResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias MutualResponse

+
MutualResponse: components["schemas"]["MutualResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.NewRoleResponse.html b/types/API.NewRoleResponse.html new file mode 100644 index 00000000..f7c5e2f2 --- /dev/null +++ b/types/API.NewRoleResponse.html @@ -0,0 +1,492 @@ +NewRoleResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias NewRoleResponse

+
NewRoleResponse: components["schemas"]["NewRoleResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.OptionsBulkDelete.html b/types/API.OptionsBulkDelete.html new file mode 100644 index 00000000..3b4f24fa --- /dev/null +++ b/types/API.OptionsBulkDelete.html @@ -0,0 +1,492 @@ +OptionsBulkDelete | revolt.js
+
+ +
+
+
+
+ +

Type alias OptionsBulkDelete

+
OptionsBulkDelete: components["schemas"]["OptionsBulkDelete"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.OptionsFetchSettings.html b/types/API.OptionsFetchSettings.html new file mode 100644 index 00000000..f59c440d --- /dev/null +++ b/types/API.OptionsFetchSettings.html @@ -0,0 +1,492 @@ +OptionsFetchSettings | revolt.js
+
+ +
+
+
+
+ +

Type alias OptionsFetchSettings

+
OptionsFetchSettings: components["schemas"]["OptionsFetchSettings"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.OptionsMessageSearch.html b/types/API.OptionsMessageSearch.html new file mode 100644 index 00000000..1075abab --- /dev/null +++ b/types/API.OptionsMessageSearch.html @@ -0,0 +1,492 @@ +OptionsMessageSearch | revolt.js
+
+ +
+
+
+
+ +

Type alias OptionsMessageSearch

+
OptionsMessageSearch: components["schemas"]["OptionsMessageSearch"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.OptionsQueryStale.html b/types/API.OptionsQueryStale.html new file mode 100644 index 00000000..8b734cec --- /dev/null +++ b/types/API.OptionsQueryStale.html @@ -0,0 +1,492 @@ +OptionsQueryStale | revolt.js
+
+ +
+
+
+
+ +

Type alias OptionsQueryStale

+
OptionsQueryStale: components["schemas"]["OptionsQueryStale"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Override.html b/types/API.Override.html new file mode 100644 index 00000000..61c2b948 --- /dev/null +++ b/types/API.Override.html @@ -0,0 +1,492 @@ +Override | revolt.js
+
+ +
+
+
+
+ +

Type alias Override

+
Override: components["schemas"]["Override"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.OverrideField.html b/types/API.OverrideField.html new file mode 100644 index 00000000..c5af9af2 --- /dev/null +++ b/types/API.OverrideField.html @@ -0,0 +1,492 @@ +OverrideField | revolt.js
+
+ +
+
+
+
+ +

Type alias OverrideField

+
OverrideField: components["schemas"]["OverrideField"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.OwnedBotsResponse.html b/types/API.OwnedBotsResponse.html new file mode 100644 index 00000000..8dda5f0d --- /dev/null +++ b/types/API.OwnedBotsResponse.html @@ -0,0 +1,492 @@ +OwnedBotsResponse | revolt.js
+
+ +
+
+
+
+ +

Type alias OwnedBotsResponse

+
OwnedBotsResponse: components["schemas"]["OwnedBotsResponse"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Permission.html b/types/API.Permission.html new file mode 100644 index 00000000..406e1934 --- /dev/null +++ b/types/API.Permission.html @@ -0,0 +1,492 @@ +Permission | revolt.js
+
+ +
+
+
+
+ +

Type alias Permission

+
Permission: components["schemas"]["Permission"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Presence.html b/types/API.Presence.html new file mode 100644 index 00000000..a8b1e859 --- /dev/null +++ b/types/API.Presence.html @@ -0,0 +1,492 @@ +Presence | revolt.js
+
+ +
+
+
+
+ +

Type alias Presence

+
Presence: components["schemas"]["Presence"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.PublicBot.html b/types/API.PublicBot.html new file mode 100644 index 00000000..738b7195 --- /dev/null +++ b/types/API.PublicBot.html @@ -0,0 +1,492 @@ +PublicBot | revolt.js
+
+ +
+
+
+
+ +

Type alias PublicBot

+
PublicBot: components["schemas"]["PublicBot"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.QueryExecStats.html b/types/API.QueryExecStats.html new file mode 100644 index 00000000..391918a4 --- /dev/null +++ b/types/API.QueryExecStats.html @@ -0,0 +1,492 @@ +QueryExecStats | revolt.js
+
+ +
+
+
+
+ +

Type alias QueryExecStats

+
QueryExecStats: components["schemas"]["QueryExecStats"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Relationship.html b/types/API.Relationship.html new file mode 100644 index 00000000..cf687d28 --- /dev/null +++ b/types/API.Relationship.html @@ -0,0 +1,492 @@ +Relationship | revolt.js
+
+ +
+
+
+
+ +

Type alias Relationship

+
Relationship: components["schemas"]["Relationship"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.RelationshipStatus.html b/types/API.RelationshipStatus.html new file mode 100644 index 00000000..779dc0ae --- /dev/null +++ b/types/API.RelationshipStatus.html @@ -0,0 +1,492 @@ +RelationshipStatus | revolt.js
+
+ +
+
+
+
+ +

Type alias RelationshipStatus

+
RelationshipStatus: components["schemas"]["RelationshipStatus"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Reply.html b/types/API.Reply.html new file mode 100644 index 00000000..a027f399 --- /dev/null +++ b/types/API.Reply.html @@ -0,0 +1,492 @@ +Reply | revolt.js
+
+ +
+
+
+
+ +

Type alias Reply

+
Reply: components["schemas"]["Reply"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Report.html b/types/API.Report.html new file mode 100644 index 00000000..ce53d2bb --- /dev/null +++ b/types/API.Report.html @@ -0,0 +1,492 @@ +Report | revolt.js
+
+ +
+
+
+
+ +

Type alias Report

+
Report: components["schemas"]["Report"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ReportStatus.html b/types/API.ReportStatus.html new file mode 100644 index 00000000..574f9823 --- /dev/null +++ b/types/API.ReportStatus.html @@ -0,0 +1,492 @@ +ReportStatus | revolt.js
+
+ +
+
+
+
+ +

Type alias ReportStatus

+
ReportStatus: components["schemas"]["ReportStatus"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ReportedContent.html b/types/API.ReportedContent.html new file mode 100644 index 00000000..2d457f61 --- /dev/null +++ b/types/API.ReportedContent.html @@ -0,0 +1,492 @@ +ReportedContent | revolt.js
+
+ +
+
+
+
+ +

Type alias ReportedContent

+
ReportedContent: components["schemas"]["ReportedContent"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ResponseLogin.html b/types/API.ResponseLogin.html new file mode 100644 index 00000000..9d88bb5d --- /dev/null +++ b/types/API.ResponseLogin.html @@ -0,0 +1,492 @@ +ResponseLogin | revolt.js
+
+ +
+
+
+
+ +

Type alias ResponseLogin

+
ResponseLogin: components["schemas"]["ResponseLogin"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ResponseTotpSecret.html b/types/API.ResponseTotpSecret.html new file mode 100644 index 00000000..70822e56 --- /dev/null +++ b/types/API.ResponseTotpSecret.html @@ -0,0 +1,492 @@ +ResponseTotpSecret | revolt.js
+
+ +
+
+
+
+ +

Type alias ResponseTotpSecret

+
ResponseTotpSecret: components["schemas"]["ResponseTotpSecret"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ResponseVerify.html b/types/API.ResponseVerify.html new file mode 100644 index 00000000..cf4402e7 --- /dev/null +++ b/types/API.ResponseVerify.html @@ -0,0 +1,492 @@ +ResponseVerify | revolt.js
+
+ +
+
+
+
+ +

Type alias ResponseVerify

+
ResponseVerify: components["schemas"]["ResponseVerify"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.RevoltConfig.html b/types/API.RevoltConfig.html new file mode 100644 index 00000000..409e5f1d --- /dev/null +++ b/types/API.RevoltConfig.html @@ -0,0 +1,492 @@ +RevoltConfig | revolt.js
+
+ +
+
+
+
+ +

Type alias RevoltConfig

+
RevoltConfig: components["schemas"]["RevoltConfig"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.RevoltFeatures.html b/types/API.RevoltFeatures.html new file mode 100644 index 00000000..680facb3 --- /dev/null +++ b/types/API.RevoltFeatures.html @@ -0,0 +1,492 @@ +RevoltFeatures | revolt.js
+
+ +
+
+
+
+ +

Type alias RevoltFeatures

+
RevoltFeatures: components["schemas"]["RevoltFeatures"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Role.html b/types/API.Role.html new file mode 100644 index 00000000..e8750082 --- /dev/null +++ b/types/API.Role.html @@ -0,0 +1,492 @@ +Role | revolt.js
+
+ +
+
+
+
+ +

Type alias Role

+
Role: components["schemas"]["Role"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.SendableEmbed.html b/types/API.SendableEmbed.html new file mode 100644 index 00000000..894b1add --- /dev/null +++ b/types/API.SendableEmbed.html @@ -0,0 +1,492 @@ +SendableEmbed | revolt.js
+
+ +
+
+
+
+ +

Type alias SendableEmbed

+
SendableEmbed: components["schemas"]["SendableEmbed"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Server.html b/types/API.Server.html new file mode 100644 index 00000000..f5225ef4 --- /dev/null +++ b/types/API.Server.html @@ -0,0 +1,492 @@ +Server | revolt.js
+
+ +
+
+
+
+ +

Type alias Server

+
Server: components["schemas"]["Server"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.ServerBan.html b/types/API.ServerBan.html new file mode 100644 index 00000000..1e7b7a3b --- /dev/null +++ b/types/API.ServerBan.html @@ -0,0 +1,492 @@ +ServerBan | revolt.js
+
+ +
+
+
+
+ +

Type alias ServerBan

+
ServerBan: components["schemas"]["ServerBan"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.SessionInfo.html b/types/API.SessionInfo.html new file mode 100644 index 00000000..7bd55ecc --- /dev/null +++ b/types/API.SessionInfo.html @@ -0,0 +1,492 @@ +SessionInfo | revolt.js
+
+ +
+
+
+
+ +

Type alias SessionInfo

+
SessionInfo: components["schemas"]["SessionInfo"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.SnapshotContent.html b/types/API.SnapshotContent.html new file mode 100644 index 00000000..b92caef5 --- /dev/null +++ b/types/API.SnapshotContent.html @@ -0,0 +1,492 @@ +SnapshotContent | revolt.js
+
+ +
+
+
+
+ +

Type alias SnapshotContent

+
SnapshotContent: components["schemas"]["SnapshotContent"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.SnapshotWithContext.html b/types/API.SnapshotWithContext.html new file mode 100644 index 00000000..56c3e5f4 --- /dev/null +++ b/types/API.SnapshotWithContext.html @@ -0,0 +1,492 @@ +SnapshotWithContext | revolt.js
+
+ +
+
+
+
+ +

Type alias SnapshotWithContext

+
SnapshotWithContext: components["schemas"]["SnapshotWithContext"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Special.html b/types/API.Special.html new file mode 100644 index 00000000..f33a8b33 --- /dev/null +++ b/types/API.Special.html @@ -0,0 +1,492 @@ +Special | revolt.js
+
+ +
+
+
+
+ +

Type alias Special

+
Special: components["schemas"]["Special"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Stats.html b/types/API.Stats.html new file mode 100644 index 00000000..04a4f42f --- /dev/null +++ b/types/API.Stats.html @@ -0,0 +1,492 @@ +Stats | revolt.js
+
+ +
+
+
+
+ +

Type alias Stats

+
Stats: components["schemas"]["Stats"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.SystemMessage.html b/types/API.SystemMessage.html new file mode 100644 index 00000000..1bfe6d70 --- /dev/null +++ b/types/API.SystemMessage.html @@ -0,0 +1,492 @@ +SystemMessage | revolt.js
+
+ +
+
+
+
+ +

Type alias SystemMessage

+
SystemMessage: components["schemas"]["SystemMessage"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.SystemMessageChannels.html b/types/API.SystemMessageChannels.html new file mode 100644 index 00000000..217ad046 --- /dev/null +++ b/types/API.SystemMessageChannels.html @@ -0,0 +1,492 @@ +SystemMessageChannels | revolt.js
+
+ +
+
+
+
+ +

Type alias SystemMessageChannels

+
SystemMessageChannels: components["schemas"]["SystemMessageChannels"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.TwitchType.html b/types/API.TwitchType.html new file mode 100644 index 00000000..cf4eaaaf --- /dev/null +++ b/types/API.TwitchType.html @@ -0,0 +1,492 @@ +TwitchType | revolt.js
+
+ +
+
+
+
+ +

Type alias TwitchType

+
TwitchType: components["schemas"]["TwitchType"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.User.html b/types/API.User.html new file mode 100644 index 00000000..3993a184 --- /dev/null +++ b/types/API.User.html @@ -0,0 +1,492 @@ +User | revolt.js
+
+ +
+
+
+
+ +

Type alias User

+
User: components["schemas"]["User"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.UserPermission.html b/types/API.UserPermission.html new file mode 100644 index 00000000..cde521e5 --- /dev/null +++ b/types/API.UserPermission.html @@ -0,0 +1,492 @@ +UserPermission | revolt.js
+
+ +
+
+
+
+ +

Type alias UserPermission

+
UserPermission: components["schemas"]["UserPermission"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.UserProfile.html b/types/API.UserProfile.html new file mode 100644 index 00000000..3f1fea90 --- /dev/null +++ b/types/API.UserProfile.html @@ -0,0 +1,492 @@ +UserProfile | revolt.js
+
+ +
+
+
+
+ +

Type alias UserProfile

+
UserProfile: components["schemas"]["UserProfile"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.UserProfileData.html b/types/API.UserProfileData.html new file mode 100644 index 00000000..ea04a6a8 --- /dev/null +++ b/types/API.UserProfileData.html @@ -0,0 +1,492 @@ +UserProfileData | revolt.js
+
+ +
+
+
+
+ +

Type alias UserProfileData

+
UserProfileData: components["schemas"]["UserProfileData"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.UserReportReason.html b/types/API.UserReportReason.html new file mode 100644 index 00000000..9b84d4ce --- /dev/null +++ b/types/API.UserReportReason.html @@ -0,0 +1,492 @@ +UserReportReason | revolt.js
+
+ +
+
+
+
+ +

Type alias UserReportReason

+
UserReportReason: components["schemas"]["UserReportReason"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.UserStatus.html b/types/API.UserStatus.html new file mode 100644 index 00000000..15213f58 --- /dev/null +++ b/types/API.UserStatus.html @@ -0,0 +1,492 @@ +UserStatus | revolt.js
+
+ +
+
+
+
+ +

Type alias UserStatus

+
UserStatus: components["schemas"]["UserStatus"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.Video.html b/types/API.Video.html new file mode 100644 index 00000000..9e3e0380 --- /dev/null +++ b/types/API.Video.html @@ -0,0 +1,492 @@ +Video | revolt.js
+
+ +
+
+
+
+ +

Type alias Video

+
Video: components["schemas"]["Video"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.VoiceFeature.html b/types/API.VoiceFeature.html new file mode 100644 index 00000000..8d715474 --- /dev/null +++ b/types/API.VoiceFeature.html @@ -0,0 +1,492 @@ +VoiceFeature | revolt.js
+
+ +
+
+
+
+ +

Type alias VoiceFeature

+
VoiceFeature: components["schemas"]["VoiceFeature"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/API.WebPushSubscription.html b/types/API.WebPushSubscription.html new file mode 100644 index 00000000..341cd32d --- /dev/null +++ b/types/API.WebPushSubscription.html @@ -0,0 +1,492 @@ +WebPushSubscription | revolt.js
+
+ +
+
+
+
+ +

Type alias WebPushSubscription

+
WebPushSubscription: components["schemas"]["WebPushSubscription"]
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ClientOptions.html b/types/ClientOptions.html new file mode 100644 index 00000000..0d11d949 --- /dev/null +++ b/types/ClientOptions.html @@ -0,0 +1,493 @@ +ClientOptions | revolt.js
+
+ +
+
+
+
+ +

Type alias ClientOptions

+
ClientOptions: Partial<EventClientOptions> & {
    autoReconnect: boolean;
    baseURL: string;
    eagerFetching: boolean;
    partials: boolean;
    syncUnreads: boolean;
    channelIsMuted(channel: Channel): boolean;
    retryDelayFunction(retryCount: number): number;
}
+

Client options object

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/Session.html b/types/Session.html new file mode 100644 index 00000000..e11310d5 --- /dev/null +++ b/types/Session.html @@ -0,0 +1,491 @@ +Session | revolt.js
+
+ +
+
+
+
+ +

Type alias Session

+
Session: {
    _id: string;
    token: string;
    user_id: string;
} | string
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/variables/RE_CHANNELS.html b/variables/RE_CHANNELS.html new file mode 100644 index 00000000..2128bf11 --- /dev/null +++ b/variables/RE_CHANNELS.html @@ -0,0 +1,493 @@ +RE_CHANNELS | revolt.js
+
+ +
+
+
+
+ +

Variable RE_CHANNELSConst

+
RE_CHANNELS: RegExp = ...
+

Regular expression for channels.

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/variables/RE_MENTIONS.html b/variables/RE_MENTIONS.html new file mode 100644 index 00000000..f328d304 --- /dev/null +++ b/variables/RE_MENTIONS.html @@ -0,0 +1,493 @@ +RE_MENTIONS | revolt.js
+
+ +
+
+
+
+ +

Variable RE_MENTIONSConst

+
RE_MENTIONS: RegExp = ...
+

Regular expression for mentions.

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/variables/RE_SPOILER.html b/variables/RE_SPOILER.html new file mode 100644 index 00000000..f6c6985b --- /dev/null +++ b/variables/RE_SPOILER.html @@ -0,0 +1,493 @@ +RE_SPOILER | revolt.js
+
+ +
+
+
+
+ +

Variable RE_SPOILERConst

+
RE_SPOILER: RegExp = ...
+

Regular expression for spoilers.

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file