mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 12:44:17 +02:00
fix(arabot): fix no reply for voice channel updates
This commit is contained in:
parent
90207acaae
commit
0b68a7c524
@ -170,9 +170,7 @@ export class AccessCommand extends Command {
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return;
|
} else {
|
||||||
}
|
|
||||||
|
|
||||||
// Set permissions of text channel
|
// Set permissions of text channel
|
||||||
switch (permission) {
|
switch (permission) {
|
||||||
case 'add':
|
case 'add':
|
||||||
@ -207,6 +205,7 @@ export class AccessCommand extends Command {
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
await interaction.reply(`Successfully updated permissions for ${channel}`);
|
await interaction.reply(`Successfully updated permissions for ${channel}`);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user