Version 1.1.4 - Correction de Bug
All checks were successful
Deployment Pipeline / deploy (push) Successful in 36s

This commit is contained in:
2025-09-06 15:47:06 +02:00
parent dcc056455e
commit b2aadc7c3c
3 changed files with 20 additions and 9 deletions

View File

@@ -419,7 +419,7 @@ function init() {
// CHECKED : 03/05/2025
IORequest("/PLAYER/CHANNEL/CHANGE", () => {
handlePlayerAction(actualGuildId, (player) => {
const channel = getUserChannel()
const channel = getUserChannel(false, true)
if(!channel) {
IOAnswer("/PLAYER/CHANNEL/CHANGE", false)
return
@@ -873,9 +873,9 @@ function init() {
// Functions
function getUserChannel(usual) {
function getUserChannel(usual, force) {
const botChannel = getBotChannel()
if(botChannel) {
if(botChannel && !force) {
return botChannel
}
const membersVoices = discordBot.getMembersVoices()