Skip to content

Commit

Permalink
fix(voicePrivacy): real whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
adan-ea committed Oct 18, 2023
1 parent 7ad180e commit c3cc2b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adroid_ea",
"version": "3.5.0",
"version": "3.6.0",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/tempVoice/commands/voicePrivacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ async function handleWhitelistCommand(
.get(target.id)
?.allow.has(PermissionsBitField.Flags.Connect);

if (isWhitelisted) {
if (!isWhitelisted) {
await voiceChannel.permissionOverwrites.edit(target.id, {
ViewChannel: true,
Connect: true,
Expand Down

0 comments on commit c3cc2b8

Please sign in to comment.