mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-21 12:35:21 -04:00
1420 lines
284 KiB
HTML
1420 lines
284 KiB
HTML
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Server | revolt.js</title><meta name="description" content="Documentation for revolt.js"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/my-theme.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="search-script"></script></head><body><script>console.log(`Loaded ${location.href}`)</script><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
||
<div class="tsd-toolbar-contents container">
|
||
<div class="table-cell" id="tsd-search" data-base="..">
|
||
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
||
<div class="field">
|
||
<div id="tsd-toolbar-links"></div></div>
|
||
<ul class="results">
|
||
<li class="state loading">Preparing search index...</li>
|
||
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">revolt.js - v</a>
|
||
<div class="tsd-navigation settings">
|
||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">Settings <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg></summary>
|
||
<div class="tsd-accordion-details">
|
||
<div class="tsd-filter-visibility">
|
||
<h4 class="uppercase">Member Visibility</h4><form>
|
||
<ul id="tsd-filter-options">
|
||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
||
<div class="tsd-theme-toggle">
|
||
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
||
<div class="table-cell" id="tsd-widgets"><a href="src/template/toolbar#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
||
<div class="container container-main">
|
||
<div class="col-content">
|
||
<div class="tsd-page-title">
|
||
<ul class="tsd-breadcrumb">
|
||
<li><a href="../modules.html">revolt.js</a></li>
|
||
<li><a href="Server.html">Server</a></li></ul>
|
||
<h1>Class Server</h1></div>
|
||
<section class="tsd-panel tsd-comment">
|
||
<div class="tsd-comment tsd-typography"><p>Server Class</p>
|
||
</div></section>
|
||
<section class="tsd-panel tsd-hierarchy">
|
||
<h4>Hierarchy</h4>
|
||
<ul class="tsd-hierarchy">
|
||
<li><span class="target">Server</span></li></ul></section><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L27">src/classes/Server.ts:27</a></li></ul></aside>
|
||
<section class="tsd-panel-group tsd-index-group">
|
||
<section class="tsd-panel tsd-index-panel">
|
||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||
<div class="tsd-accordion-details">
|
||
<section class="tsd-index-section">
|
||
<h3 class="tsd-index-heading">Constructors</h3>
|
||
<div class="tsd-index-list"><a href="Server.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
|
||
</div></section>
|
||
<section class="tsd-index-section">
|
||
<h3 class="tsd-index-heading">Properties</h3>
|
||
<div class="tsd-index-list"><a href="Server.html#_collection" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>#collection</span></a>
|
||
<a href="Server.html#_synced" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>#synced</span></a>
|
||
<a href="Server.html#id" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>id</span></a>
|
||
</div></section>
|
||
<section class="tsd-index-section">
|
||
<h3 class="tsd-index-heading">Accessors</h3>
|
||
<div class="tsd-index-list"><a href="Server.html#analytics" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-262144-path"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)" id="icon-262144-text"></path></svg><span>analytics</span></a>
|
||
<a href="Server.html#animatedIconURL" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>animated<wbr/>IconURL</span></a>
|
||
<a href="Server.html#banner" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>banner</span></a>
|
||
<a href="Server.html#bannerURL" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>bannerURL</span></a>
|
||
<a href="Server.html#categories" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>categories</span></a>
|
||
<a href="Server.html#channelIds" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>channel<wbr/>Ids</span></a>
|
||
<a href="Server.html#channels" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>channels</span></a>
|
||
<a href="Server.html#createdAt" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>created<wbr/>At</span></a>
|
||
<a href="Server.html#defaultChannel" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>default<wbr/>Channel</span></a>
|
||
<a href="Server.html#defaultPermissions" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>default<wbr/>Permissions</span></a>
|
||
<a href="Server.html#description" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>description</span></a>
|
||
<a href="Server.html#discoverable" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>discoverable</span></a>
|
||
<a href="Server.html#flags" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>flags</span></a>
|
||
<a href="Server.html#icon" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>icon</span></a>
|
||
<a href="Server.html#iconURL" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>iconURL</span></a>
|
||
<a href="Server.html#mature" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>mature</span></a>
|
||
<a href="Server.html#member" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>member</span></a>
|
||
<a href="Server.html#mentions" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>mentions</span></a>
|
||
<a href="Server.html#name" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>name</span></a>
|
||
<a href="Server.html#orderedChannels" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>ordered<wbr/>Channels</span></a>
|
||
<a href="Server.html#orderedRoles" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>ordered<wbr/>Roles</span></a>
|
||
<a href="Server.html#owner" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>owner</span></a>
|
||
<a href="Server.html#ownerId" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>owner<wbr/>Id</span></a>
|
||
<a href="Server.html#permission" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>permission</span></a>
|
||
<a href="Server.html#roles" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>roles</span></a>
|
||
<a href="Server.html#systemMessages" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>system<wbr/>Messages</span></a>
|
||
<a href="Server.html#unread" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>unread</span></a>
|
||
</div></section>
|
||
<section class="tsd-index-section">
|
||
<h3 class="tsd-index-heading">Methods</h3>
|
||
<div class="tsd-index-list"><a href="Server.html#ack" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>ack</span></a>
|
||
<a href="Server.html#banUser" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>ban<wbr/>User</span></a>
|
||
<a href="Server.html#createChannel" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>Channel</span></a>
|
||
<a href="Server.html#createEmoji" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>Emoji</span></a>
|
||
<a href="Server.html#createRole" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>Role</span></a>
|
||
<a href="Server.html#delete" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete</span></a>
|
||
<a href="Server.html#deleteRole" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Role</span></a>
|
||
<a href="Server.html#edit" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>edit</span></a>
|
||
<a href="Server.html#editRole" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>edit<wbr/>Role</span></a>
|
||
<a href="Server.html#fetchBans" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>fetch<wbr/>Bans</span></a>
|
||
<a href="Server.html#fetchEmojis" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>fetch<wbr/>Emojis</span></a>
|
||
<a href="Server.html#fetchInvites" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>fetch<wbr/>Invites</span></a>
|
||
<a href="Server.html#fetchMember" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>fetch<wbr/>Member</span></a>
|
||
<a href="Server.html#fetchMembers" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>fetch<wbr/>Members</span></a>
|
||
<a href="Server.html#havePermission" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>have<wbr/>Permission</span></a>
|
||
<a href="Server.html#kickUser" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>kick<wbr/>User</span></a>
|
||
<a href="Server.html#orPermission" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>or<wbr/>Permission</span></a>
|
||
<a href="Server.html#resetSyncStatus" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>reset<wbr/>Sync<wbr/>Status</span></a>
|
||
<a href="Server.html#setPermissions" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set<wbr/>Permissions</span></a>
|
||
<a href="Server.html#syncMembers" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>sync<wbr/>Members</span></a>
|
||
<a href="Server.html#toString" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>to<wbr/>String</span></a>
|
||
<a href="Server.html#unbanUser" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>unban<wbr/>User</span></a>
|
||
</div></section></div></details></section></section>
|
||
<section class="tsd-panel-group tsd-member-group">
|
||
<h2>Constructors</h2>
|
||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_Server">new <wbr/>Server<span class="tsd-signature-symbol">(</span>collection<span class="tsd-signature-symbol">: </span><a href="ServerCollection.html" class="tsd-signature-type" data-tsd-kind="Class">ServerCollection</a>, id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Server.html" class="tsd-signature-type" data-tsd-kind="Class">Server</a><a href="#constructor.new_Server" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Construct Server</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>collection: <a href="ServerCollection.html" class="tsd-signature-type" data-tsd-kind="Class">ServerCollection</a></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Collection</p>
|
||
</div></li>
|
||
<li>
|
||
<h5>id: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Id</p>
|
||
</div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <a href="Server.html" class="tsd-signature-type" data-tsd-kind="Class">Server</a></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L36">src/classes/Server.ts:36</a></li></ul></aside></li></ul></section></section>
|
||
<section class="tsd-panel-group tsd-member-group">
|
||
<h2>Properties</h2>
|
||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="_collection" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>#collection</span><a href="#_collection" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<div class="tsd-signature">#collection<span class="tsd-signature-symbol">:</span> <a href="ServerCollection.html" class="tsd-signature-type" data-tsd-kind="Class">ServerCollection</a></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L28">src/classes/Server.ts:28</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="_synced" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#synced</span><a href="#_synced" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<div class="tsd-signature">#synced<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"partial"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"full"</span></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L540">src/classes/Server.ts:540</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="id" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<div class="tsd-signature">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L29">src/classes/Server.ts:29</a></li></ul></aside></section></section>
|
||
<section class="tsd-panel-group tsd-member-group">
|
||
<h2>Accessors</h2>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="analytics" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>analytics</span><a href="#analytics" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="analytics.analytics-1"><span class="tsd-signature-symbol">get</span> analytics<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Whether analytics are enabled for this server</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L156">src/classes/Server.ts:156</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="animatedIconURL" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>animated<wbr/>IconURL</span><a href="#animatedIconURL" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="animatedIconURL.animatedIconURL-1"><span class="tsd-signature-symbol">get</span> animatedIconURL<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>URL to the server's animated icon</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L282">src/classes/Server.ts:282</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="banner" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>banner</span><a href="#banner" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="banner.banner-1"><span class="tsd-signature-symbol">get</span> banner<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="File.html" class="tsd-signature-type" data-tsd-kind="Class">File</a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Banner</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="File.html" class="tsd-signature-type" data-tsd-kind="Class">File</a></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L96">src/classes/Server.ts:96</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="bannerURL" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>bannerURL</span><a href="#bannerURL" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="bannerURL.bannerURL-1"><span class="tsd-signature-symbol">get</span> bannerURL<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>URL to the server's banner</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L289">src/classes/Server.ts:289</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="categories" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>categories</span><a href="#categories" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="categories.categories-1"><span class="tsd-signature-symbol">get</span> categories<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Categories</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L121">src/classes/Server.ts:121</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="channelIds" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>channel<wbr/>Ids</span><a href="#channelIds" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="channelIds.channelIds-1"><span class="tsd-signature-symbol">get</span> channelIds<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReactiveSet</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Channel IDs</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ReactiveSet</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L103">src/classes/Server.ts:103</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="channels" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>channels</span><a href="#channels" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="channels.channels-1"><span class="tsd-signature-symbol">get</span> channels<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Channel.html" class="tsd-signature-type" data-tsd-kind="Class">Channel</a><span class="tsd-signature-symbol">[]</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Channels</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <a href="Channel.html" class="tsd-signature-type" data-tsd-kind="Class">Channel</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L110">src/classes/Server.ts:110</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="createdAt" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>created<wbr/>At</span><a href="#createdAt" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="createdAt.createdAt-1"><span class="tsd-signature-symbol">get</span> createdAt<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Date</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Time when this server was created</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Date</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L52">src/classes/Server.ts:52</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="defaultChannel" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>default<wbr/>Channel</span><a href="#defaultChannel" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="defaultChannel.defaultChannel-1"><span class="tsd-signature-symbol">get</span> defaultChannel<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="Channel.html" class="tsd-signature-type" data-tsd-kind="Class">Channel</a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Default channel for this server</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="Channel.html" class="tsd-signature-type" data-tsd-kind="Class">Channel</a></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L233">src/classes/Server.ts:233</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="defaultPermissions" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>default<wbr/>Permissions</span><a href="#defaultPermissions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="defaultPermissions.defaultPermissions-1"><span class="tsd-signature-symbol">get</span> defaultPermissions<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Default permissions</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L142">src/classes/Server.ts:142</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="description" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>description</span><a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="description.description-1"><span class="tsd-signature-symbol">get</span> description<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Description</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L82">src/classes/Server.ts:82</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="discoverable" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>discoverable</span><a href="#discoverable" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="discoverable.discoverable-1"><span class="tsd-signature-symbol">get</span> discoverable<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Whether this server is publicly discoverable</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L163">src/classes/Server.ts:163</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="flags" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>flags</span><a href="#flags" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="flags.flags-1"><span class="tsd-signature-symbol">get</span> flags<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/ServerFlags.html" class="tsd-signature-type" data-tsd-kind="Enumeration">ServerFlags</a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Server flags</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <a href="../enums/ServerFlags.html" class="tsd-signature-type" data-tsd-kind="Enumeration">ServerFlags</a></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L149">src/classes/Server.ts:149</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="icon" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>icon</span><a href="#icon" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="icon.icon-1"><span class="tsd-signature-symbol">get</span> icon<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="File.html" class="tsd-signature-type" data-tsd-kind="Class">File</a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Icon</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="File.html" class="tsd-signature-type" data-tsd-kind="Class">File</a></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L89">src/classes/Server.ts:89</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="iconURL" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>iconURL</span><a href="#iconURL" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="iconURL.iconURL-1"><span class="tsd-signature-symbol">get</span> iconURL<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>URL to the server's icon</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L275">src/classes/Server.ts:275</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="mature" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>mature</span><a href="#mature" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="mature.mature-1"><span class="tsd-signature-symbol">get</span> mature<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Whether this server is marked as mature</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L170">src/classes/Server.ts:170</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="member" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>member</span><a href="#member" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="member.member-1"><span class="tsd-signature-symbol">get</span> member<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="ServerMember.html" class="tsd-signature-type" data-tsd-kind="Class">ServerMember</a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Own member object for this server</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="ServerMember.html" class="tsd-signature-type" data-tsd-kind="Class">ServerMember</a></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L296">src/classes/Server.ts:296</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="mentions" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>mentions</span><a href="#mentions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="mentions.mentions-1"><span class="tsd-signature-symbol">get</span> mentions<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Find all message IDs of unread messages</p>
|
||
|
||
<h3>Returns</h3><p>Array of message IDs which are unread</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L264">src/classes/Server.ts:264</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="name" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="name.name-1"><span class="tsd-signature-symbol">get</span> name<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Name</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L75">src/classes/Server.ts:75</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="orderedChannels" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>ordered<wbr/>Channels</span><a href="#orderedChannels" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="orderedChannels.orderedChannels-1"><span class="tsd-signature-symbol">get</span> orderedChannels<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"channels"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><a href="Channel.html" class="tsd-signature-type" data-tsd-kind="Class">Channel</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Get an array of ordered categories with their respective channels.
|
||
Uncategorised channels are returned in <code>id="default"</code> category.</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"channels"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><a href="Channel.html" class="tsd-signature-type" data-tsd-kind="Class">Channel</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L178">src/classes/Server.ts:178</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="orderedRoles" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>ordered<wbr/>Roles</span><a href="#orderedRoles" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="orderedRoles.orderedRoles-1"><span class="tsd-signature-symbol">get</span> orderedRoles<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>colour<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>hoist<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>permissions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>rank<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>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.</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{ </span><br/><span> </span>colour<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>hoist<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>permissions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>rank<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L243">src/classes/Server.ts:243</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="owner" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>owner</span><a href="#owner" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="owner.owner-1"><span class="tsd-signature-symbol">get</span> owner<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Owner</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L66">src/classes/Server.ts:66</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="ownerId" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>owner<wbr/>Id</span><a href="#ownerId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="ownerId.ownerId-1"><span class="tsd-signature-symbol">get</span> ownerId<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Owner's user ID</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L59">src/classes/Server.ts:59</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="permission" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>permission</span><a href="#permission" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="permission.permission-1"><span class="tsd-signature-symbol">get</span> permission<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Permission the currently authenticated user has against this server</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L306">src/classes/Server.ts:306</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="roles" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>roles</span><a href="#roles" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="roles.roles-1"><span class="tsd-signature-symbol">get</span> roles<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReactiveMap</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>colour<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>hoist<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>permissions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>rank<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Roles</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ReactiveMap</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>colour<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>hoist<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>permissions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>rank<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L135">src/classes/Server.ts:135</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="systemMessages" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>system<wbr/>Messages</span><a href="#systemMessages" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="systemMessages.systemMessages-1"><span class="tsd-signature-symbol">get</span> systemMessages<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>user_banned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_joined<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_kicked<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_left<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>System message channels</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>user_banned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_joined<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_kicked<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_left<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L128">src/classes/Server.ts:128</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="unread" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>unread</span><a href="#unread" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||
<li class="tsd-signature" id="unread.unread-1"><span class="tsd-signature-symbol">get</span> unread<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="Channel.html" class="tsd-signature-type" data-tsd-kind="Class">Channel</a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Check whether the server is currently unread</p>
|
||
|
||
<h3>Returns</h3><p>Whether the server is unread</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="Channel.html" class="tsd-signature-type" data-tsd-kind="Class">Channel</a></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L256">src/classes/Server.ts:256</a></li></ul></aside></li></ul></section></section>
|
||
<section class="tsd-panel-group tsd-member-group">
|
||
<h2>Methods</h2>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="ack" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>ack</span><a href="#ack" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="ack.ack-1">ack<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#ack.ack-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Mark a server as read</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L383">src/classes/Server.ts:383</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="banUser" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>ban<wbr/>User</span><a href="#banUser" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="banUser.banUser-1">ban<wbr/>User<span class="tsd-signature-symbol">(</span>user<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a><span class="tsd-signature-symbol"> | </span><a href="ServerMember.html" class="tsd-signature-type" data-tsd-kind="Class">ServerMember</a>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>reason<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="ServerBan.html" class="tsd-signature-type" data-tsd-kind="Class">ServerBan</a><span class="tsd-signature-symbol">></span><a href="#banUser.banUser-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Ban user from this server</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>user: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a><span class="tsd-signature-symbol"> | </span><a href="ServerMember.html" class="tsd-signature-type" data-tsd-kind="Class">ServerMember</a></h5>
|
||
<div class="tsd-comment tsd-typography"><p>User</p>
|
||
</div></li>
|
||
<li>
|
||
<h5>options: <span class="tsd-signature-symbol">{ </span><br/><span> </span>reason<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Ban options</p>
|
||
</div>
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> reason<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Ban reason</p>
|
||
</div></li></ul></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="ServerBan.html" class="tsd-signature-type" data-tsd-kind="Class">ServerBan</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L392">src/classes/Server.ts:392</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createChannel" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>create<wbr/>Channel</span><a href="#createChannel" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="createChannel.createChannel-1">create<wbr/>Channel<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>description<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>nsfw<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">"Text"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Voice"</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="Channel.html" class="tsd-signature-type" data-tsd-kind="Class">Channel</a><span class="tsd-signature-symbol">></span><a href="#createChannel.createChannel-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Create a channel</p>
|
||
|
||
<h3>Returns</h3><p>The newly-created channel</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>data: <span class="tsd-signature-symbol">{ </span><br/><span> </span>description<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>nsfw<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">"Text"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Voice"</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Channel create route data</p>
|
||
</div>
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> description<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Channel description</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Channel name</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> nsfw<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Whether this channel is age restricted</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> type<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">"Text"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Voice"</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Channel type</p>
|
||
|
||
<h3>Default</h3><pre><code class="language-ts"><span class="hl-3">Text</span>
|
||
</code></pre>
|
||
</div></li></ul></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="Channel.html" class="tsd-signature-type" data-tsd-kind="Class">Channel</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L340">src/classes/Server.ts:340</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createEmoji" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>create<wbr/>Emoji</span><a href="#createEmoji" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="createEmoji.createEmoji-1">create<wbr/>Emoji<span class="tsd-signature-symbol">(</span>autumnId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>nsfw<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>parent<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Server"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Detached"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"parent"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="Emoji.html" class="tsd-signature-type" data-tsd-kind="Class">Emoji</a><span class="tsd-signature-symbol">></span><a href="#createEmoji.createEmoji-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Create an emoji on the server</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>autumnId: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Autumn Id</p>
|
||
</div></li>
|
||
<li>
|
||
<h5>options: <span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>nsfw<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>parent<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Server"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Detached"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"parent"</span><span class="tsd-signature-symbol">></span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Options</p>
|
||
</div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="Emoji.html" class="tsd-signature-type" data-tsd-kind="Class">Emoji</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L612">src/classes/Server.ts:612</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createRole" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>create<wbr/>Role</span><a href="#createRole" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="createRole.createRole-1">create<wbr/>Role<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>role<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>colour<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>hoist<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>permissions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>rank<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><a href="#createRole.createRole-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Create role</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>name: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Role name</p>
|
||
</div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>role<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>colour<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>hoist<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>permissions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>rank<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L485">src/classes/Server.ts:485</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="delete" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>delete</span><a href="#delete" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="delete.delete-1">delete<span class="tsd-signature-symbol">(</span>leaveSilently<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#delete.delete-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Delete or leave a server</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> leaveSilently: <span class="tsd-signature-type">boolean</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Whether to not send a message on leave</p>
|
||
</div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L372">src/classes/Server.ts:372</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="deleteRole" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>delete<wbr/>Role</span><a href="#deleteRole" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="deleteRole.deleteRole-1">delete<wbr/>Role<span class="tsd-signature-symbol">(</span>roleId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">></span><a href="#deleteRole.deleteRole-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Delete role</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>roleId: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Role ID</p>
|
||
</div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L510">src/classes/Server.ts:510</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="edit" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>edit</span><a href="#edit" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="edit.edit-1">edit<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>analytics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>banner<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>categories<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>description<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>discoverable<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>flags<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>icon<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>remove<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">"Description"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Icon"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Categories"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SystemMessages"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Banner"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>system_messages<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>user_banned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_joined<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_kicked<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_left<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#edit.edit-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Edit a server</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>data: <span class="tsd-signature-symbol">{ </span><br/><span> </span>analytics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>banner<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>categories<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>description<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>discoverable<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>flags<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>icon<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>remove<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">"Description"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Icon"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Categories"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SystemMessages"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Banner"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>system_messages<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>user_banned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_joined<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_kicked<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_left<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Changes</p>
|
||
</div>
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> analytics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Whether analytics should be collected for this server</p>
|
||
<p>Must be enabled in order to show up on <a href="https://rvlt.gg">Revolt Discover</a>.</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> banner<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Attachment Id for banner</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> categories<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Category structure for server</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> description<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Server description</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> discoverable<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Whether this server is public and should show up on <a href="https://rvlt.gg">Revolt Discover</a></p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> flags<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Format: int32</p>
|
||
|
||
<h3>Description</h3><p>Bitfield of server flags</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> icon<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Attachment Id for icon</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> name<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Server name</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> remove<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">"Description"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Icon"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Categories"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SystemMessages"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Banner"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Fields to remove from server object</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> system_<wbr/>messages<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>user_banned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_joined<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_kicked<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_left<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>System message configuration</p>
|
||
</div></li></ul></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L353">src/classes/Server.ts:353</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="editRole" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>edit<wbr/>Role</span><a href="#editRole" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="editRole.editRole-1">edit<wbr/>Role<span class="tsd-signature-symbol">(</span>roleId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>colour<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>hoist<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>rank<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>remove<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Colour"</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>colour<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>hoist<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>permissions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>rank<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><a href="#editRole.editRole-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Edit a role</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>roleId: <span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Role ID</p>
|
||
</div></li>
|
||
<li>
|
||
<h5>data: <span class="tsd-signature-symbol">{ </span><br/><span> </span>colour<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>hoist<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>rank<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>remove<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Colour"</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Role editing route data</p>
|
||
</div>
|
||
<ul class="tsd-parameters">
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> colour<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Role colour</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> hoist<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Whether this role should be displayed separately</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> name<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Role name</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> rank<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Format: int64</p>
|
||
|
||
<h3>Description</h3><p>Ranking position</p>
|
||
<p>Smaller values take priority.</p>
|
||
</div></li>
|
||
<li class="tsd-parameter">
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> remove<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Colour"</span><span class="tsd-signature-symbol">[]</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
<h3>Description</h3><p>Fields to remove from role object</p>
|
||
</div></li></ul></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>colour<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>hoist<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>permissions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>rank<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L499">src/classes/Server.ts:499</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fetchBans" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>fetch<wbr/>Bans</span><a href="#fetchBans" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="fetchBans.fetchBans-1">fetch<wbr/>Bans<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="ServerBan.html" class="tsd-signature-type" data-tsd-kind="Class">ServerBan</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><a href="#fetchBans.fetchBans-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Fetch a server's bans</p>
|
||
|
||
<h3>Returns</h3><p>An array of the server's bans.</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="ServerBan.html" class="tsd-signature-type" data-tsd-kind="Class">ServerBan</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L457">src/classes/Server.ts:457</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fetchEmojis" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>fetch<wbr/>Emojis</span><a href="#fetchEmojis" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="fetchEmojis.fetchEmojis-1">fetch<wbr/>Emojis<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="Emoji.html" class="tsd-signature-type" data-tsd-kind="Class">Emoji</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><a href="#fetchEmojis.fetchEmojis-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Fetch a server's emoji</p>
|
||
|
||
<h3>Returns</h3><p>List of server emoji</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="Emoji.html" class="tsd-signature-type" data-tsd-kind="Class">Emoji</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L634">src/classes/Server.ts:634</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fetchInvites" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>fetch<wbr/>Invites</span><a href="#fetchInvites" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="fetchInvites.fetchInvites-1">fetch<wbr/>Invites<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="ChannelInvite.html" class="tsd-signature-type" data-tsd-kind="Class">ChannelInvite</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><a href="#fetchInvites.fetchInvites-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Fetch a server's invites</p>
|
||
|
||
<h3>Returns</h3><p>An array of the server's invites</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="ChannelInvite.html" class="tsd-signature-type" data-tsd-kind="Class">ChannelInvite</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L443">src/classes/Server.ts:443</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fetchMember" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>fetch<wbr/>Member</span><a href="#fetchMember" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="fetchMember.fetchMember-1">fetch<wbr/>Member<span class="tsd-signature-symbol">(</span>user<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="ServerMember.html" class="tsd-signature-type" data-tsd-kind="Class">ServerMember</a><span class="tsd-signature-symbol">></span><a href="#fetchMember.fetchMember-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Fetch a server member</p>
|
||
|
||
<h3>Returns</h3><p>Server member object</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>user: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a></h5>
|
||
<div class="tsd-comment tsd-typography"><p>User</p>
|
||
</div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="ServerMember.html" class="tsd-signature-type" data-tsd-kind="Class">ServerMember</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L521">src/classes/Server.ts:521</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fetchMembers" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>fetch<wbr/>Members</span><a href="#fetchMembers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="fetchMembers.fetchMembers-1">fetch<wbr/>Members<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>members<span class="tsd-signature-symbol">: </span><a href="ServerMember.html" class="tsd-signature-type" data-tsd-kind="Class">ServerMember</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>users<span class="tsd-signature-symbol">: </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><a href="#fetchMembers.fetchMembers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Fetch a server's members</p>
|
||
|
||
<h3>Returns</h3><p>List of the server's members and their user objects</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>members<span class="tsd-signature-symbol">: </span><a href="ServerMember.html" class="tsd-signature-type" data-tsd-kind="Class">ServerMember</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>users<span class="tsd-signature-symbol">: </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L592">src/classes/Server.ts:592</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="havePermission" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>have<wbr/>Permission</span><a href="#havePermission" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="havePermission.havePermission-1">have<wbr/>Permission<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>permission<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">"Masquerade"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Video"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageChannel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageServer"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManagePermissions"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageRole"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageCustomisation"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"KickMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"BanMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"TimeoutMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"AssignRoles"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ChangeNickname"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageNicknames"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ChangeAvatar"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"RemoveAvatars"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ViewChannel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ReadMessageHistory"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SendMessage"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageMessages"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageWebhooks"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"InviteOthers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SendEmbeds"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"UploadFiles"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"React"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Connect"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Speak"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"MuteMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"DeafenMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"MoveMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"GrantAllSafe"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#havePermission.havePermission-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Check whether we have a given permission in a server</p>
|
||
|
||
<h3>Returns</h3><p>Whether we have this permission</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span>permission: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">"Masquerade"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Video"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageChannel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageServer"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManagePermissions"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageRole"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageCustomisation"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"KickMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"BanMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"TimeoutMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"AssignRoles"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ChangeNickname"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageNicknames"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ChangeAvatar"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"RemoveAvatars"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ViewChannel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ReadMessageHistory"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SendMessage"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageMessages"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageWebhooks"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"InviteOthers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SendEmbeds"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"UploadFiles"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"React"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Connect"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Speak"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"MuteMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"DeafenMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"MoveMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"GrantAllSafe"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Permission Names</p>
|
||
</div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L315">src/classes/Server.ts:315</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="kickUser" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>kick<wbr/>User</span><a href="#kickUser" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="kickUser.kickUser-1">kick<wbr/>User<span class="tsd-signature-symbol">(</span>user<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a><span class="tsd-signature-symbol"> | </span><a href="ServerMember.html" class="tsd-signature-type" data-tsd-kind="Class">ServerMember</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">></span><a href="#kickUser.kickUser-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Kick user from this server</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>user: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a><span class="tsd-signature-symbol"> | </span><a href="ServerMember.html" class="tsd-signature-type" data-tsd-kind="Class">ServerMember</a></h5>
|
||
<div class="tsd-comment tsd-typography"><p>User</p>
|
||
</div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L415">src/classes/Server.ts:415</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="orPermission" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>or<wbr/>Permission</span><a href="#orPermission" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="orPermission.orPermission-1">or<wbr/>Permission<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>permission<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">"Masquerade"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Video"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageChannel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageServer"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManagePermissions"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageRole"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageCustomisation"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"KickMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"BanMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"TimeoutMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"AssignRoles"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ChangeNickname"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageNicknames"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ChangeAvatar"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"RemoveAvatars"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ViewChannel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ReadMessageHistory"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SendMessage"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageMessages"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageWebhooks"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"InviteOthers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SendEmbeds"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"UploadFiles"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"React"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Connect"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Speak"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"MuteMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"DeafenMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"MoveMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"GrantAllSafe"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#orPermission.orPermission-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Check whether we have at least one of the given permissions in a server</p>
|
||
|
||
<h3>Returns</h3><p>Whether we have one of the permissions</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span>permission: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">"Masquerade"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Video"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageChannel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageServer"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManagePermissions"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageRole"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageCustomisation"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"KickMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"BanMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"TimeoutMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"AssignRoles"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ChangeNickname"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageNicknames"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ChangeAvatar"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"RemoveAvatars"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ViewChannel"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ReadMessageHistory"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SendMessage"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageMessages"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ManageWebhooks"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"InviteOthers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"SendEmbeds"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"UploadFiles"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"React"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Connect"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Speak"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"MuteMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"DeafenMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"MoveMembers"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"GrantAllSafe"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Permission Names</p>
|
||
</div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L327">src/classes/Server.ts:327</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="resetSyncStatus" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>reset<wbr/>Sync<wbr/>Status</span><a href="#resetSyncStatus" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="resetSyncStatus.resetSyncStatus-1">reset<wbr/>Sync<wbr/>Status<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetSyncStatus.resetSyncStatus-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Reset member sync status</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L584">src/classes/Server.ts:584</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setPermissions" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>set<wbr/>Permissions</span><a href="#setPermissions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="setPermissions.setPermissions-1">set<wbr/>Permissions<span class="tsd-signature-symbol">(</span>roleId<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, permissions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>allow<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>deny<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>_id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>analytics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>banner<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>_id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>content_type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>deleted<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>filename<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>message_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>metadata<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"File"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Text"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Image"</span><span class="tsd-signature-symbol">; </span><br/><span> </span>width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Video"</span><span class="tsd-signature-symbol">; </span><br/><span> </span>width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Audio"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>object_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>reported<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>server_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>size<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>tag<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>categories<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>default_permissions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>description<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>discoverable<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>flags<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>icon<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>_id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>content_type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>deleted<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>filename<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>message_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>metadata<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"File"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Text"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Image"</span><span class="tsd-signature-symbol">; </span><br/><span> </span>width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Video"</span><span class="tsd-signature-symbol">; </span><br/><span> </span>width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Audio"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>object_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>reported<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>server_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>size<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>tag<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>nsfw<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>owner<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>roles<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>[key: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">components</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">"schemas"</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">"Role"</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>system_messages<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>user_banned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_joined<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_kicked<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_left<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><a href="#setPermissions.setPermissions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Set role permissions</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>roleId: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "default"</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Role Id, set to 'default' to affect all users</p>
|
||
</div></li>
|
||
<li>
|
||
<h5>permissions: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>allow<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>deny<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
|
||
<div class="tsd-comment tsd-typography"><p>Permission value</p>
|
||
</div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>_id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>analytics<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>banner<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>_id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>content_type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>deleted<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>filename<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>message_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>metadata<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"File"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Text"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Image"</span><span class="tsd-signature-symbol">; </span><br/><span> </span>width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Video"</span><span class="tsd-signature-symbol">; </span><br/><span> </span>width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Audio"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>object_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>reported<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>server_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>size<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>tag<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>categories<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>channels<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>default_permissions<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>description<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>discoverable<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>flags<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>icon<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>_id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>content_type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>deleted<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>filename<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>message_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>metadata<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"File"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Text"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Image"</span><span class="tsd-signature-symbol">; </span><br/><span> </span>width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Video"</span><span class="tsd-signature-symbol">; </span><br/><span> </span>width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Audio"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>object_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>reported<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>server_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>size<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span>tag<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>nsfw<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span>owner<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>roles<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>[key: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">components</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">"schemas"</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">"Role"</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>system_messages<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>user_banned<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_joined<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_kicked<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>user_left<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L474">src/classes/Server.ts:474</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="syncMembers" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>sync<wbr/>Members</span><a href="#syncMembers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="syncMembers.syncMembers-1">sync<wbr/>Members<span class="tsd-signature-symbol">(</span>excludeOffline<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#syncMembers.syncMembers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Optimised member fetch route</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> excludeOffline: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L546">src/classes/Server.ts:546</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toString" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="toString.toString-1">to<wbr/>String<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toString.toString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Convert to string</p>
|
||
|
||
<h3>Returns</h3><p>String</p>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L45">src/classes/Server.ts:45</a></li></ul></aside></li></ul></section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="unbanUser" class="tsd-anchor"></a>
|
||
<h3 class="tsd-anchor-link"><span>unban<wbr/>User</span><a href="#unbanUser" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-anchor-link" id="unbanUser.unbanUser-1">unban<wbr/>User<span class="tsd-signature-symbol">(</span>user<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">></span><a href="#unbanUser.unbanUser-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||
<li class="tsd-description">
|
||
<div class="tsd-comment tsd-typography"><p>Pardon user's ban</p>
|
||
</div>
|
||
<div class="tsd-parameters">
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameter-list">
|
||
<li>
|
||
<h5>user: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a></h5>
|
||
<div class="tsd-comment tsd-typography"><p>User</p>
|
||
</div></li></ul></div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/revoltchat/revolt.js/blob/b4ae688/src/classes/Server.ts#L432">src/classes/Server.ts:432</a></li></ul></aside></li></ul></section></section></div>
|
||
<div class="col-sidebar">
|
||
<div class="page-menu">
|
||
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
||
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg>On This Page</h3></summary>
|
||
<div class="tsd-accordion-details">
|
||
<ul>
|
||
<li><a href="#constructor" class="tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg><span>constructor</span></a></li>
|
||
<li><a href="#_collection" class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>#collection</span></a></li>
|
||
<li><a href="#_synced" class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>#synced</span></a></li>
|
||
<li><a href="#id" class="tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>id</span></a></li>
|
||
<li><a href="#analytics" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>analytics</span></a></li>
|
||
<li><a href="#animatedIconURL" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>animated<wbr/>IconURL</span></a></li>
|
||
<li><a href="#banner" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>banner</span></a></li>
|
||
<li><a href="#bannerURL" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>bannerURL</span></a></li>
|
||
<li><a href="#categories" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>categories</span></a></li>
|
||
<li><a href="#channelIds" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>channel<wbr/>Ids</span></a></li>
|
||
<li><a href="#channels" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>channels</span></a></li>
|
||
<li><a href="#createdAt" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>created<wbr/>At</span></a></li>
|
||
<li><a href="#defaultChannel" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>default<wbr/>Channel</span></a></li>
|
||
<li><a href="#defaultPermissions" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>default<wbr/>Permissions</span></a></li>
|
||
<li><a href="#description" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>description</span></a></li>
|
||
<li><a href="#discoverable" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>discoverable</span></a></li>
|
||
<li><a href="#flags" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>flags</span></a></li>
|
||
<li><a href="#icon" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>icon</span></a></li>
|
||
<li><a href="#iconURL" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>iconURL</span></a></li>
|
||
<li><a href="#mature" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>mature</span></a></li>
|
||
<li><a href="#member" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>member</span></a></li>
|
||
<li><a href="#mentions" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>mentions</span></a></li>
|
||
<li><a href="#name" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>name</span></a></li>
|
||
<li><a href="#orderedChannels" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>ordered<wbr/>Channels</span></a></li>
|
||
<li><a href="#orderedRoles" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>ordered<wbr/>Roles</span></a></li>
|
||
<li><a href="#owner" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>owner</span></a></li>
|
||
<li><a href="#ownerId" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>owner<wbr/>Id</span></a></li>
|
||
<li><a href="#permission" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>permission</span></a></li>
|
||
<li><a href="#roles" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>roles</span></a></li>
|
||
<li><a href="#systemMessages" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>system<wbr/>Messages</span></a></li>
|
||
<li><a href="#unread" class="tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>unread</span></a></li>
|
||
<li><a href="#ack" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>ack</span></a></li>
|
||
<li><a href="#banUser" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>ban<wbr/>User</span></a></li>
|
||
<li><a href="#createChannel" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>Channel</span></a></li>
|
||
<li><a href="#createEmoji" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>Emoji</span></a></li>
|
||
<li><a href="#createRole" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>Role</span></a></li>
|
||
<li><a href="#delete" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete</span></a></li>
|
||
<li><a href="#deleteRole" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Role</span></a></li>
|
||
<li><a href="#edit" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>edit</span></a></li>
|
||
<li><a href="#editRole" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>edit<wbr/>Role</span></a></li>
|
||
<li><a href="#fetchBans" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>fetch<wbr/>Bans</span></a></li>
|
||
<li><a href="#fetchEmojis" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>fetch<wbr/>Emojis</span></a></li>
|
||
<li><a href="#fetchInvites" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>fetch<wbr/>Invites</span></a></li>
|
||
<li><a href="#fetchMember" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>fetch<wbr/>Member</span></a></li>
|
||
<li><a href="#fetchMembers" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>fetch<wbr/>Members</span></a></li>
|
||
<li><a href="#havePermission" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>have<wbr/>Permission</span></a></li>
|
||
<li><a href="#kickUser" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>kick<wbr/>User</span></a></li>
|
||
<li><a href="#orPermission" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>or<wbr/>Permission</span></a></li>
|
||
<li><a href="#resetSyncStatus" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>reset<wbr/>Sync<wbr/>Status</span></a></li>
|
||
<li><a href="#setPermissions" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set<wbr/>Permissions</span></a></li>
|
||
<li><a href="#syncMembers" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>sync<wbr/>Members</span></a></li>
|
||
<li><a href="#toString" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>to<wbr/>String</span></a></li>
|
||
<li><a href="#unbanUser" class="tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>unban<wbr/>User</span></a></li></ul></div></details></div>
|
||
<div class="site-menu">
|
||
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg>
|
||
<div>revolt.js</div></a>
|
||
<ul class="tsd-small-nested-navigation">
|
||
<li>
|
||
<details class="tsd-index-accordion tsd-kind-namespace tsd-is-external" data-key="API"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><a href="../modules/API.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg>
|
||
<div>API</div></a></summary>
|
||
<div class="tsd-accordion-details">
|
||
<ul class="tsd-nested-navigation">
|
||
<li><a href="API.API.html" class="tsd-kind-class tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg>
|
||
<div>API
|
||
<div class="menu-item-desc">API Client</div></div></a></li>
|
||
<li><a href="../interfaces/API.Options.html" class="tsd-kind-interface tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>
|
||
<div>Options
|
||
<div class="menu-item-desc">Client configuration options</div></div></a></li>
|
||
<li><a href="../types/API.AccountInfo.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>
|
||
<div>Account<wbr/>Info</div></a></li>
|
||
<li><a href="../types/API.AllMemberResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>All<wbr/>Member<wbr/>Response</div></a></li>
|
||
<li><a href="../types/API.Authifier_Error.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Authifier_<wbr/>Error</div></a></li>
|
||
<li><a href="../types/API.BanListResult.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Ban<wbr/>List<wbr/>Result</div></a></li>
|
||
<li><a href="../types/API.BandcampType.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Bandcamp<wbr/>Type</div></a></li>
|
||
<li><a href="../types/API.BannedUser.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Banned<wbr/>User</div></a></li>
|
||
<li><a href="../types/API.Bot.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Bot</div></a></li>
|
||
<li><a href="../types/API.BotInformation.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Bot<wbr/>Information</div></a></li>
|
||
<li><a href="../types/API.BotResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Bot<wbr/>Response</div></a></li>
|
||
<li><a href="../types/API.BuildInformation.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Build<wbr/>Information</div></a></li>
|
||
<li><a href="../types/API.BulkMessageResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Bulk<wbr/>Message<wbr/>Response</div></a></li>
|
||
<li><a href="../types/API.CaptchaFeature.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Captcha<wbr/>Feature</div></a></li>
|
||
<li><a href="../types/API.Category.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Category</div></a></li>
|
||
<li><a href="../types/API.Channel.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Channel</div></a></li>
|
||
<li><a href="../types/API.ChannelCompositeKey.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Channel<wbr/>Composite<wbr/>Key</div></a></li>
|
||
<li><a href="../types/API.ChannelType.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Channel<wbr/>Type</div></a></li>
|
||
<li><a href="../types/API.ChannelUnread.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Channel<wbr/>Unread</div></a></li>
|
||
<li><a href="../types/API.CollectionScans.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Collection<wbr/>Scans</div></a></li>
|
||
<li><a href="../types/API.CollectionStats.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Collection<wbr/>Stats</div></a></li>
|
||
<li><a href="../types/API.ContentReportReason.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Content<wbr/>Report<wbr/>Reason</div></a></li>
|
||
<li><a href="../types/API.CreateServerResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Create<wbr/>Server<wbr/>Response</div></a></li>
|
||
<li><a href="../types/API.CreateVoiceUserResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Create<wbr/>Voice<wbr/>User<wbr/>Response</div></a></li>
|
||
<li><a href="../types/API.Data.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data</div></a></li>
|
||
<li><a href="../types/API.DataAccountDeletion.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Account<wbr/>Deletion</div></a></li>
|
||
<li><a href="../types/API.DataBanCreate.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Ban<wbr/>Create</div></a></li>
|
||
<li><a href="../types/API.DataChangeEmail.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Change<wbr/>Email</div></a></li>
|
||
<li><a href="../types/API.DataChangePassword.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Change<wbr/>Password</div></a></li>
|
||
<li><a href="../types/API.DataChangeUsername.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Change<wbr/>Username</div></a></li>
|
||
<li><a href="../types/API.DataCreateAccount.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Create<wbr/>Account</div></a></li>
|
||
<li><a href="../types/API.DataCreateBot.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Create<wbr/>Bot</div></a></li>
|
||
<li><a href="../types/API.DataCreateChannel.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Create<wbr/>Channel</div></a></li>
|
||
<li><a href="../types/API.DataCreateEmoji.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Create<wbr/>Emoji</div></a></li>
|
||
<li><a href="../types/API.DataCreateGroup.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Create<wbr/>Group</div></a></li>
|
||
<li><a href="../types/API.DataCreateRole.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Create<wbr/>Role</div></a></li>
|
||
<li><a href="../types/API.DataCreateServer.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Create<wbr/>Server</div></a></li>
|
||
<li><a href="../types/API.DataDefaultChannelPermissions.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Default<wbr/>Channel<wbr/>Permissions</div></a></li>
|
||
<li><a href="../types/API.DataEditBot.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Edit<wbr/>Bot</div></a></li>
|
||
<li><a href="../types/API.DataEditChannel.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Edit<wbr/>Channel</div></a></li>
|
||
<li><a href="../types/API.DataEditMessage.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Edit<wbr/>Message</div></a></li>
|
||
<li><a href="../types/API.DataEditReport.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Edit<wbr/>Report</div></a></li>
|
||
<li><a href="../types/API.DataEditRole.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Edit<wbr/>Role</div></a></li>
|
||
<li><a href="../types/API.DataEditServer.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Edit<wbr/>Server</div></a></li>
|
||
<li><a href="../types/API.DataEditSession.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Edit<wbr/>Session</div></a></li>
|
||
<li><a href="../types/API.DataEditUser.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Edit<wbr/>User</div></a></li>
|
||
<li><a href="../types/API.DataHello.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Hello</div></a></li>
|
||
<li><a href="../types/API.DataLogin.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Login</div></a></li>
|
||
<li><a href="../types/API.DataMemberEdit.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Member<wbr/>Edit</div></a></li>
|
||
<li><a href="../types/API.DataMessageSend.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Message<wbr/>Send</div></a></li>
|
||
<li><a href="../types/API.DataOnboard.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Onboard</div></a></li>
|
||
<li><a href="../types/API.DataPasswordReset.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Password<wbr/>Reset</div></a></li>
|
||
<li><a href="../types/API.DataReportContent.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Report<wbr/>Content</div></a></li>
|
||
<li><a href="../types/API.DataResendVerification.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Resend<wbr/>Verification</div></a></li>
|
||
<li><a href="../types/API.DataSendFriendRequest.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Send<wbr/>Friend<wbr/>Request</div></a></li>
|
||
<li><a href="../types/API.DataSendPasswordReset.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Send<wbr/>Password<wbr/>Reset</div></a></li>
|
||
<li><a href="../types/API.DataSetServerDefaultPermission.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Set<wbr/>Server<wbr/>Default<wbr/>Permission</div></a></li>
|
||
<li><a href="../types/API.DataSetServerRolePermission.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Data<wbr/>Set<wbr/>Server<wbr/>Role<wbr/>Permission</div></a></li>
|
||
<li><a href="../types/API.Embed.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Embed</div></a></li>
|
||
<li><a href="../types/API.Emoji.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Emoji</div></a></li>
|
||
<li><a href="../types/API.EmojiParent.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Emoji<wbr/>Parent</div></a></li>
|
||
<li><a href="../types/API.Error.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Error</div></a></li>
|
||
<li><a href="../types/API.Feature.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Feature</div></a></li>
|
||
<li><a href="../types/API.FieldsBot.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Fields<wbr/>Bot</div></a></li>
|
||
<li><a href="../types/API.FieldsChannel.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Fields<wbr/>Channel</div></a></li>
|
||
<li><a href="../types/API.FieldsMember.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Fields<wbr/>Member</div></a></li>
|
||
<li><a href="../types/API.FieldsRole.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Fields<wbr/>Role</div></a></li>
|
||
<li><a href="../types/API.FieldsServer.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Fields<wbr/>Server</div></a></li>
|
||
<li><a href="../types/API.FieldsUser.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Fields<wbr/>User</div></a></li>
|
||
<li><a href="../types/API.File.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>File</div></a></li>
|
||
<li><a href="../types/API.FlagResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Flag<wbr/>Response</div></a></li>
|
||
<li><a href="../types/API.ISO8601_Timestamp.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>ISO8601_<wbr/>Timestamp</div></a></li>
|
||
<li><a href="../types/API.Id.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Id</div></a></li>
|
||
<li><a href="../types/API.Image.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Image</div></a></li>
|
||
<li><a href="../types/API.ImageSize.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Image<wbr/>Size</div></a></li>
|
||
<li><a href="../types/API.Index.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Index</div></a></li>
|
||
<li><a href="../types/API.IndexAccess.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Index<wbr/>Access</div></a></li>
|
||
<li><a href="../types/API.Interactions.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Interactions</div></a></li>
|
||
<li><a href="../types/API.Invite.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Invite</div></a></li>
|
||
<li><a href="../types/API.InviteBotDestination.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Invite<wbr/>Bot<wbr/>Destination</div></a></li>
|
||
<li><a href="../types/API.InviteJoinResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Invite<wbr/>Join<wbr/>Response</div></a></li>
|
||
<li><a href="../types/API.InviteResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Invite<wbr/>Response</div></a></li>
|
||
<li><a href="../types/API.LatencyHistogramEntry.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Latency<wbr/>Histogram<wbr/>Entry</div></a></li>
|
||
<li><a href="../types/API.LatencyStats.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Latency<wbr/>Stats</div></a></li>
|
||
<li><a href="../types/API.LightspeedType.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Lightspeed<wbr/>Type</div></a></li>
|
||
<li><a href="../types/API.MFAMethod.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>MFAMethod</div></a></li>
|
||
<li><a href="../types/API.MFAResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>MFAResponse</div></a></li>
|
||
<li><a href="../types/API.MFATicket.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>MFATicket</div></a></li>
|
||
<li><a href="../types/API.Masquerade.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Masquerade</div></a></li>
|
||
<li><a href="../types/API.Member.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Member</div></a></li>
|
||
<li><a href="../types/API.MemberCompositeKey.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Member<wbr/>Composite<wbr/>Key</div></a></li>
|
||
<li><a href="../types/API.Message.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Message</div></a></li>
|
||
<li><a href="../types/API.MessageQuery.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Message<wbr/>Query</div></a></li>
|
||
<li><a href="../types/API.MessageSort.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Message<wbr/>Sort</div></a></li>
|
||
<li><a href="../types/API.Metadata.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Metadata</div></a></li>
|
||
<li><a href="../types/API.MultiFactorStatus.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Multi<wbr/>Factor<wbr/>Status</div></a></li>
|
||
<li><a href="../types/API.MutualResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Mutual<wbr/>Response</div></a></li>
|
||
<li><a href="../types/API.NewRoleResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>New<wbr/>Role<wbr/>Response</div></a></li>
|
||
<li><a href="../types/API.OptionsBulkDelete.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Options<wbr/>Bulk<wbr/>Delete</div></a></li>
|
||
<li><a href="../types/API.OptionsFetchSettings.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Options<wbr/>Fetch<wbr/>Settings</div></a></li>
|
||
<li><a href="../types/API.OptionsMessageSearch.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Options<wbr/>Message<wbr/>Search</div></a></li>
|
||
<li><a href="../types/API.OptionsQueryStale.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Options<wbr/>Query<wbr/>Stale</div></a></li>
|
||
<li><a href="../types/API.Override.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Override</div></a></li>
|
||
<li><a href="../types/API.OverrideField.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Override<wbr/>Field</div></a></li>
|
||
<li><a href="../types/API.OwnedBotsResponse.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Owned<wbr/>Bots<wbr/>Response</div></a></li>
|
||
<li><a href="../types/API.Permission.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Permission</div></a></li>
|
||
<li><a href="../types/API.Presence.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Presence</div></a></li>
|
||
<li><a href="../types/API.PublicBot.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Public<wbr/>Bot</div></a></li>
|
||
<li><a href="../types/API.QueryExecStats.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Query<wbr/>Exec<wbr/>Stats</div></a></li>
|
||
<li><a href="../types/API.Relationship.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Relationship</div></a></li>
|
||
<li><a href="../types/API.RelationshipStatus.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Relationship<wbr/>Status</div></a></li>
|
||
<li><a href="../types/API.Reply.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Reply</div></a></li>
|
||
<li><a href="../types/API.Report.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Report</div></a></li>
|
||
<li><a href="../types/API.ReportStatus.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Report<wbr/>Status</div></a></li>
|
||
<li><a href="../types/API.ReportedContent.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Reported<wbr/>Content</div></a></li>
|
||
<li><a href="../types/API.ResponseLogin.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Response<wbr/>Login</div></a></li>
|
||
<li><a href="../types/API.ResponseTotpSecret.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Response<wbr/>Totp<wbr/>Secret</div></a></li>
|
||
<li><a href="../types/API.ResponseVerify.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Response<wbr/>Verify</div></a></li>
|
||
<li><a href="../types/API.RevoltConfig.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Revolt<wbr/>Config</div></a></li>
|
||
<li><a href="../types/API.RevoltFeatures.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Revolt<wbr/>Features</div></a></li>
|
||
<li><a href="../types/API.Role.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Role</div></a></li>
|
||
<li><a href="../types/API.SendableEmbed.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Sendable<wbr/>Embed</div></a></li>
|
||
<li><a href="../types/API.Server.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Server</div></a></li>
|
||
<li><a href="../types/API.ServerBan.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Server<wbr/>Ban</div></a></li>
|
||
<li><a href="../types/API.SessionInfo.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Session<wbr/>Info</div></a></li>
|
||
<li><a href="../types/API.SnapshotContent.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Snapshot<wbr/>Content</div></a></li>
|
||
<li><a href="../types/API.SnapshotWithContext.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Snapshot<wbr/>With<wbr/>Context</div></a></li>
|
||
<li><a href="../types/API.Special.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Special</div></a></li>
|
||
<li><a href="../types/API.Stats.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Stats</div></a></li>
|
||
<li><a href="../types/API.SystemMessage.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>System<wbr/>Message</div></a></li>
|
||
<li><a href="../types/API.SystemMessageChannels.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>System<wbr/>Message<wbr/>Channels</div></a></li>
|
||
<li><a href="../types/API.TwitchType.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Twitch<wbr/>Type</div></a></li>
|
||
<li><a href="../types/API.User.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>User</div></a></li>
|
||
<li><a href="../types/API.UserPermission.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>User<wbr/>Permission</div></a></li>
|
||
<li><a href="../types/API.UserProfile.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>User<wbr/>Profile</div></a></li>
|
||
<li><a href="../types/API.UserProfileData.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>User<wbr/>Profile<wbr/>Data</div></a></li>
|
||
<li><a href="../types/API.UserReportReason.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>User<wbr/>Report<wbr/>Reason</div></a></li>
|
||
<li><a href="../types/API.UserStatus.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>User<wbr/>Status</div></a></li>
|
||
<li><a href="../types/API.Video.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Video</div></a></li>
|
||
<li><a href="../types/API.VoiceFeature.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Voice<wbr/>Feature</div></a></li>
|
||
<li><a href="../types/API.WebPushSubscription.html" class="tsd-kind-type-alias tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Web<wbr/>Push<wbr/>Subscription</div></a></li>
|
||
<li><a href="../functions/API.getPathName.html" class="tsd-kind-function tsd-parent-kind-namespace tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>
|
||
<div>get<wbr/>Path<wbr/>Name
|
||
<div class="menu-item-desc">Get the specific path name of any given path.</div></div></a></li></ul></div></details></li>
|
||
<li><a href="../enums/BotFlags.html" class="tsd-kind-enum"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>
|
||
<div>Bot<wbr/>Flags
|
||
<div class="menu-item-desc">Flags attributed to users</div></div></a></li>
|
||
<li><a href="../enums/ConnectionState.html" class="tsd-kind-enum"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>
|
||
<div>Connection<wbr/>State
|
||
<div class="menu-item-desc">All possible event client states.</div></div></a></li>
|
||
<li><a href="../enums/ServerFlags.html" class="tsd-kind-enum"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>
|
||
<div>Server<wbr/>Flags
|
||
<div class="menu-item-desc">Flags attributed to servers</div></div></a></li>
|
||
<li><a href="../enums/UserBadges.html" class="tsd-kind-enum"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>
|
||
<div>User<wbr/>Badges
|
||
<div class="menu-item-desc">Badges available to users</div></div></a></li>
|
||
<li><a href="../enums/UserFlags.html" class="tsd-kind-enum"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>
|
||
<div>User<wbr/>Flags
|
||
<div class="menu-item-desc">Flags attributed to users</div></div></a></li>
|
||
<li><a href="Bot.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Bot
|
||
<div class="menu-item-desc">Bot Class</div></div></a></li>
|
||
<li><a href="BotCollection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Bot<wbr/>Collection
|
||
<div class="menu-item-desc">Collection of Bots</div></div></a></li>
|
||
<li><a href="Channel.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Channel
|
||
<div class="menu-item-desc">Channel Class</div></div></a></li>
|
||
<li><a href="ChannelCollection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Channel<wbr/>Collection
|
||
<div class="menu-item-desc">Collection of Channels</div></div></a></li>
|
||
<li><a href="ChannelEditSystemMessage.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Channel<wbr/>Edit<wbr/>System<wbr/>Message
|
||
<div class="menu-item-desc">Channel Edit System Message</div></div></a></li>
|
||
<li><a href="ChannelInvite.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Channel<wbr/>Invite
|
||
<div class="menu-item-desc">Channel Invite</div></div></a></li>
|
||
<li><a href="ChannelOwnershipChangeSystemMessage.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Channel<wbr/>Ownership<wbr/>Change<wbr/>System<wbr/>Message
|
||
<div class="menu-item-desc">Channel Ownership Change System Message</div></div></a></li>
|
||
<li><a href="ChannelRenamedSystemMessage.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Channel<wbr/>Renamed<wbr/>System<wbr/>Message
|
||
<div class="menu-item-desc">Channel Renamed System Message</div></div></a></li>
|
||
<li><a href="ChannelUnread.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Channel<wbr/>Unread
|
||
<div class="menu-item-desc">Channel Unread Class</div></div></a></li>
|
||
<li><a href="ChannelUnreadCollection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Channel<wbr/>Unread<wbr/>Collection
|
||
<div class="menu-item-desc">Collection of Channel Unreads</div></div></a></li>
|
||
<li><a href="ClassCollection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Class<wbr/>Collection
|
||
<div class="menu-item-desc">Generic class collection backed by store</div></div></a></li>
|
||
<li><a href="Client.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Client
|
||
<div class="menu-item-desc">Revolt.js Clients</div></div></a></li>
|
||
<li><a href="Collection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Collection
|
||
<div class="menu-item-desc">Abstract Collection type</div></div></a></li>
|
||
<li><a href="Emoji.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Emoji
|
||
<div class="menu-item-desc">Emoji Class</div></div></a></li>
|
||
<li><a href="EmojiCollection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Emoji<wbr/>Collection
|
||
<div class="menu-item-desc">Collection of Emoji</div></div></a></li>
|
||
<li><a href="EventClient.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Event<wbr/>Client
|
||
<div class="menu-item-desc">Simple wrapper around the Revolt websocket service.</div></div></a></li>
|
||
<li><a href="File.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>File
|
||
<div class="menu-item-desc">Uploaded File</div></div></a></li>
|
||
<li><a href="ImageEmbed.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Image<wbr/>Embed
|
||
<div class="menu-item-desc">Image Embed</div></div></a></li>
|
||
<li><a href="Message.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Message
|
||
<div class="menu-item-desc">Message Class</div></div></a></li>
|
||
<li><a href="MessageCollection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Message<wbr/>Collection
|
||
<div class="menu-item-desc">Collection of Messages</div></div></a></li>
|
||
<li><a href="MessageEmbed.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Message<wbr/>Embed
|
||
<div class="menu-item-desc">Message Embed</div></div></a></li>
|
||
<li><a href="PublicBot.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Public<wbr/>Bot
|
||
<div class="menu-item-desc">Public Bot Class</div></div></a></li>
|
||
<li><a href="PublicChannelInvite.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Public<wbr/>Channel<wbr/>Invite
|
||
<div class="menu-item-desc">Public Channel Invite</div></div></a></li>
|
||
<li><a href="Server.html" class="current tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Server
|
||
<div class="menu-item-desc">Server Class</div></div></a></li>
|
||
<li><a href="ServerBan.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Server<wbr/>Ban
|
||
<div class="menu-item-desc">Server Ban</div></div></a></li>
|
||
<li><a href="ServerCollection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Server<wbr/>Collection
|
||
<div class="menu-item-desc">Collection of Servers</div></div></a></li>
|
||
<li><a href="ServerInvite.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Server<wbr/>Invite
|
||
<div class="menu-item-desc">Server Invite</div></div></a></li>
|
||
<li><a href="ServerMember.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Server<wbr/>Member
|
||
<div class="menu-item-desc">Server Member Class</div></div></a></li>
|
||
<li><a href="ServerMemberCollection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Server<wbr/>Member<wbr/>Collection
|
||
<div class="menu-item-desc">Collection of Server Members</div></div></a></li>
|
||
<li><a href="ServerPublicInvite.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Server<wbr/>Public<wbr/>Invite
|
||
<div class="menu-item-desc">Public Server Invite</div></div></a></li>
|
||
<li><a href="Session.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Session
|
||
<div class="menu-item-desc">Session Class</div></div></a></li>
|
||
<li><a href="SessionCollection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Session<wbr/>Collection
|
||
<div class="menu-item-desc">Collection of Sessions</div></div></a></li>
|
||
<li><a href="StoreCollection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Store<wbr/>Collection
|
||
<div class="menu-item-desc">Collection backed by a Solid.js Store</div></div></a></li>
|
||
<li><a href="SystemMessage.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>System<wbr/>Message
|
||
<div class="menu-item-desc">System Message</div></div></a></li>
|
||
<li><a href="TextEmbed.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Text<wbr/>Embed
|
||
<div class="menu-item-desc">Text Embed</div></div></a></li>
|
||
<li><a href="TextSystemMessage.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Text<wbr/>System<wbr/>Message
|
||
<div class="menu-item-desc">Text System Message</div></div></a></li>
|
||
<li><a href="UnknownEmbed.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Unknown<wbr/>Embed
|
||
<div class="menu-item-desc">Embed of unknown type</div></div></a></li>
|
||
<li><a href="UnknownInvite.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Unknown<wbr/>Invite
|
||
<div class="menu-item-desc">Invite of unknown type</div></div></a></li>
|
||
<li><a href="UnknownPublicInvite.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Unknown<wbr/>Public<wbr/>Invite
|
||
<div class="menu-item-desc">Public invite of unknown type</div></div></a></li>
|
||
<li><a href="User.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>User
|
||
<div class="menu-item-desc">User Class</div></div></a></li>
|
||
<li><a href="UserCollection.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>User<wbr/>Collection
|
||
<div class="menu-item-desc">Collection of Users</div></div></a></li>
|
||
<li><a href="UserModeratedSystemMessage.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>User<wbr/>Moderated<wbr/>System<wbr/>Message
|
||
<div class="menu-item-desc">User Moderated System Message</div></div></a></li>
|
||
<li><a href="UserSystemMessage.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>User<wbr/>System<wbr/>Message
|
||
<div class="menu-item-desc">User System Message</div></div></a></li>
|
||
<li><a href="VideoEmbed.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Video<wbr/>Embed
|
||
<div class="menu-item-desc">Video Embed</div></div></a></li>
|
||
<li><a href="WebsiteEmbed.html" class="tsd-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>
|
||
<div>Website<wbr/>Embed
|
||
<div class="menu-item-desc">Website Embed</div></div></a></li>
|
||
<li><a href="../types/ClientOptions.html" class="tsd-kind-type-alias"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Client<wbr/>Options
|
||
<div class="menu-item-desc">Client options object</div></div></a></li>
|
||
<li><a href="../types/PrivateSession.html" class="tsd-kind-type-alias"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>
|
||
<div>Private<wbr/>Session</div></a></li>
|
||
<li><a href="../variables/RE_CHANNELS.html" class="tsd-kind-variable"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg>
|
||
<div>RE_<wbr/>CHANNELS
|
||
<div class="menu-item-desc">Regular expression for channels.</div></div></a></li>
|
||
<li><a href="../variables/RE_MENTIONS.html" class="tsd-kind-variable"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg>
|
||
<div>RE_<wbr/>MENTIONS
|
||
<div class="menu-item-desc">Regular expression for mentions.</div></div></a></li>
|
||
<li><a href="../variables/RE_SPOILER.html" class="tsd-kind-variable"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg>
|
||
<div>RE_<wbr/>SPOILER
|
||
<div class="menu-item-desc">Regular expression for spoilers.</div></div></a></li></ul></nav></div></div></div>
|
||
<div class="tsd-generator">
|
||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||
<div class="overlay"></div></body></html> |