Skip to content

Commit

Permalink
fix: allow all versions of djs up to v15
Browse files Browse the repository at this point in the history
  • Loading branch information
HunteRoi committed Mar 13, 2023
1 parent cc1cc32 commit b6af237
Showing 12 changed files with 150 additions and 2,158 deletions.
35 changes: 0 additions & 35 deletions docs/api-docs/assets/highlight.css
Original file line number Diff line number Diff line change
@@ -7,16 +7,6 @@
--dark-hl-2: #DCDCAA;
--light-hl-3: #0000FF;
--dark-hl-3: #569CD6;
--light-hl-4: #0070C1;
--dark-hl-4: #4FC1FF;
--light-hl-5: #A31515;
--dark-hl-5: #CE9178;
--light-hl-6: #008000;
--dark-hl-6: #6A9955;
--light-hl-7: #098658;
--dark-hl-7: #B5CEA8;
--light-hl-8: #AF00DB;
--dark-hl-8: #C586C0;
--light-code-background: #FFFFFF;
--dark-code-background: #1E1E1E;
}
@@ -26,11 +16,6 @@
--hl-1: var(--light-hl-1);
--hl-2: var(--light-hl-2);
--hl-3: var(--light-hl-3);
--hl-4: var(--light-hl-4);
--hl-5: var(--light-hl-5);
--hl-6: var(--light-hl-6);
--hl-7: var(--light-hl-7);
--hl-8: var(--light-hl-8);
--code-background: var(--light-code-background);
} }

@@ -39,11 +24,6 @@
--hl-1: var(--dark-hl-1);
--hl-2: var(--dark-hl-2);
--hl-3: var(--dark-hl-3);
--hl-4: var(--dark-hl-4);
--hl-5: var(--dark-hl-5);
--hl-6: var(--dark-hl-6);
--hl-7: var(--dark-hl-7);
--hl-8: var(--dark-hl-8);
--code-background: var(--dark-code-background);
} }

@@ -52,11 +32,6 @@
--hl-1: var(--light-hl-1);
--hl-2: var(--light-hl-2);
--hl-3: var(--light-hl-3);
--hl-4: var(--light-hl-4);
--hl-5: var(--light-hl-5);
--hl-6: var(--light-hl-6);
--hl-7: var(--light-hl-7);
--hl-8: var(--light-hl-8);
--code-background: var(--light-code-background);
}

@@ -65,21 +40,11 @@
--hl-1: var(--dark-hl-1);
--hl-2: var(--dark-hl-2);
--hl-3: var(--dark-hl-3);
--hl-4: var(--dark-hl-4);
--hl-5: var(--dark-hl-5);
--hl-6: var(--dark-hl-6);
--hl-7: var(--dark-hl-7);
--hl-8: var(--dark-hl-8);
--code-background: var(--dark-code-background);
}

.hl-0 { color: var(--hl-0); }
.hl-1 { color: var(--hl-1); }
.hl-2 { color: var(--hl-2); }
.hl-3 { color: var(--hl-3); }
.hl-4 { color: var(--hl-4); }
.hl-5 { color: var(--hl-5); }
.hl-6 { color: var(--hl-6); }
.hl-7 { color: var(--hl-7); }
.hl-8 { color: var(--hl-8); }
pre, code { background: var(--code-background); }
1,162 changes: 5 additions & 1,157 deletions docs/api-docs/classes/ClientWithSelfRoleManager.html

Large diffs are not rendered by default.

744 changes: 9 additions & 735 deletions docs/api-docs/classes/SelfRoleManager.html

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions docs/api-docs/enums/SelfRoleManagerEvents.html
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
<li><a href="SelfRoleManagerEvents.html">SelfRoleManagerEvents</a></li></ul>
<h1>Enumeration SelfRoleManagerEvents</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L1">src/SelfRoleManagerEvents.ts:1</a></li></ul></aside>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L1">SelfRoleManagerEvents.ts:1</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">
@@ -44,67 +44,67 @@ <h2>Enumeration Members</h2>
<h3 class="tsd-anchor-link"><span>channel<wbr/>Register</span><a href="#channelRegister" 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>
<div class="tsd-signature">channel<wbr/>Register<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;channelRegister&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L2">src/SelfRoleManagerEvents.ts:2</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L2">SelfRoleManagerEvents.ts:2</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="channelUnregister" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>channel<wbr/>Unregister</span><a href="#channelUnregister" 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">channel<wbr/>Unregister<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;channelUnregister&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L3">src/SelfRoleManagerEvents.ts:3</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L3">SelfRoleManagerEvents.ts:3</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="error" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>error</span><a href="#error" 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">error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;error&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L19">src/SelfRoleManagerEvents.ts:19</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L19">SelfRoleManagerEvents.ts:19</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="interaction" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>interaction</span><a href="#interaction" 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">interaction<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;interaction&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L14">src/SelfRoleManagerEvents.ts:14</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L14">SelfRoleManagerEvents.ts:14</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="maxRolesReach" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>max<wbr/>Roles<wbr/>Reach</span><a href="#maxRolesReach" 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">max<wbr/>Roles<wbr/>Reach<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;maxRolesReach&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L16">src/SelfRoleManagerEvents.ts:16</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L16">SelfRoleManagerEvents.ts:16</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="messageCreate" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>message<wbr/>Create</span><a href="#messageCreate" 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">message<wbr/>Create<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;messageCreate&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L6">src/SelfRoleManagerEvents.ts:6</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L6">SelfRoleManagerEvents.ts:6</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="messageDelete" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>message<wbr/>Delete</span><a href="#messageDelete" 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">message<wbr/>Delete<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;messageDelete&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L7">src/SelfRoleManagerEvents.ts:7</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L7">SelfRoleManagerEvents.ts:7</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="messageRetrieve" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>message<wbr/>Retrieve</span><a href="#messageRetrieve" 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">message<wbr/>Retrieve<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;messageRetrieve&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L5">src/SelfRoleManagerEvents.ts:5</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L5">SelfRoleManagerEvents.ts:5</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="reactionAdd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>reaction<wbr/>Add</span><a href="#reactionAdd" 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">reaction<wbr/>Add<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;reactionAdd&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L12">src/SelfRoleManagerEvents.ts:12</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L12">SelfRoleManagerEvents.ts:12</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="reactionRemove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>reaction<wbr/>Remove</span><a href="#reactionRemove" 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">reaction<wbr/>Remove<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;reactionRemove&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L13">src/SelfRoleManagerEvents.ts:13</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L13">SelfRoleManagerEvents.ts:13</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="requiredRolesMissing" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>required<wbr/>Roles<wbr/>Missing</span><a href="#requiredRolesMissing" 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">required<wbr/>Roles<wbr/>Missing<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;requiredRolesMissing&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L17">src/SelfRoleManagerEvents.ts:17</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L17">SelfRoleManagerEvents.ts:17</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="roleAdd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>role<wbr/>Add</span><a href="#roleAdd" 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">role<wbr/>Add<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;roleAdd&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L9">src/SelfRoleManagerEvents.ts:9</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L9">SelfRoleManagerEvents.ts:9</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="roleRemove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>role<wbr/>Remove</span><a href="#roleRemove" 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">role<wbr/>Remove<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;roleRemove&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/e5ce536/src/SelfRoleManagerEvents.ts#L10">src/SelfRoleManagerEvents.ts:10</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/hunteroi/discord-selfrole/blob/cc1cc32/src/SelfRoleManagerEvents.ts#L10">SelfRoleManagerEvents.ts:10</a></li></ul></aside></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Loading

0 comments on commit b6af237

Please sign in to comment.