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 Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Bouns ๐ŸŒฟ
Bouns ๐ŸŒฟโ€ข2y ago
{
"discord.js": "^14.5.0",
"@discordjs/voice": "^0.11.0",
}
{
"discord.js": "^14.5.0",
"@discordjs/voice": "^0.11.0",
}
Bouns ๐ŸŒฟ
Bouns ๐ŸŒฟโ€ข2y ago
it is in no way my VPS the cause, it is only used at 20%.
Bouns ๐ŸŒฟ
Bouns ๐ŸŒฟโ€ข2y 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 ๐ŸŒฟ
Bouns ๐ŸŒฟโ€ข2y ago
look this video
Bouns ๐ŸŒฟ
Bouns ๐ŸŒฟโ€ข2y 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 Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Creeper
Creeperโ€ข2y ago
is bandwith doing good?
Bouns ๐ŸŒฟ
Bouns ๐ŸŒฟโ€ข2y ago
yes is that yes it is