Skip to content

Commit

Permalink
🐛 Some doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Jan 16, 2021
1 parent 0eb23ef commit 0cc22c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,7 @@ <h4 class="panel-title">
</tr>

</table></div>
<div class="panel-body">🆘 Example:<br><pre><code class="javascript">client.on("voiceChannelUneaf", (member, deafType) => {
<div class="panel-body">🆘 Example:<br><pre><code class="javascript">client.on("voiceChannelUndeaf", (member, deafType) => {
console.log(member.user.tag+" become undeafed!");
});
</code></pre></div>
Expand Down Expand Up @@ -2257,7 +2257,7 @@ <h4 class="panel-title">
</tr>

</table></div>
<div class="panel-body">🆘 Example:<br><pre><code class="javascript">client.on("unhandledRoleUpdate", (oldState, newState) => {
<div class="panel-body">🆘 Example:<br><pre><code class="javascript">client.on("unhandledVoiceStateUpdate", (oldState, newState) => {
console.log("Voice state for member '"+oldState.member.user.tag+"' was updated but discord-logs couldn't find what was updated...");
});
</code></pre></div>
Expand Down
4 changes: 2 additions & 2 deletions tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ client.on("voiceChannelDeaf", (member, deafType) => {
console.log(member.user.tag+" become deafed!");
});

client.on("voiceChannelUneaf", (member, deafType) => {
client.on("voiceChannelUndeaf", (member, deafType) => {
console.log(member.user.tag+" become undeafed!");
});

Expand All @@ -225,7 +225,7 @@ client.on("voiceStreamingStop", (member, voiceChannel) => {
console.log(member.user.tag+" stopped streaming");
});

client.on("unhandledRoleUpdate", (oldState, newState) => {
client.on("unhandledVoiceStateUpdate", (oldState, newState) => {
console.log("Voice state for member '"+oldState.member.user.tag+"' was updated but discord-logs couldn't find what was updated...");
});

Expand Down

0 comments on commit 0cc22c8

Please sign in to comment.