Version 1.1.4 - Correction de Bug
All checks were successful
Deployment Pipeline / deploy (push) Successful in 36s
All checks were successful
Deployment Pipeline / deploy (push) Successful in 36s
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user