when his bot is inside a voice channel, moving others takes about 5 seconds, whilst when it’s not in

there is a very strange bug when my bot is in vocal and that it has to move a member the action but about 5 seconds, whereas when it is not in vocal that but about 30ms SCohno
9 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Bouns
BounsOP3y ago
{
"discord.js": "^14.5.0",
"@discordjs/voice": "^0.11.0",
}
{
"discord.js": "^14.5.0",
"@discordjs/voice": "^0.11.0",
}
Bouns
BounsOP3y ago
it is in no way my VPS the cause, it is only used at 20%.
Bouns
BounsOP3y ago
PepeEuh bot has a temporary channel system, basically there is a channel that creates other channels and the users are moved respectively in their created channel, it works very well (300ms), on the other hand as soon as the bot has joined a voice and that it realizes are move member.voice.setChannel(channelCreate.id) it takes about 5 seconds I would like to know how I can optimize this time when my bot is in a vocal
Bouns
BounsOP3y ago
look this video
Bouns
BounsOP3y ago
when my bot are in vocal, the action to move people are so slow but when doesn't in voice this action are so speed
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Creeper
Creeper3y ago
is bandwith doing good?
Bouns
BounsOP3y ago
yes is that yes it is
Want results from more Discord servers?
Add your server