Will
Will
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Will on 4/12/2025 in #djs-questions
How to test a bot that manages dozens of users in a voice channel?
No description
9 replies
DIAdiscord.js - Imagine an app
Created by Will on 4/12/2025 in #djs-questions
How to test a bot that manages dozens of users in a voice channel?
hmm okay, so maybe I can use the bot id as the group identifier. Will try that, thanks.
9 replies
DIAdiscord.js - Imagine an app
Created by Will on 4/12/2025 in #djs-questions
How to test a bot that manages dozens of users in a voice channel?
Code: https://pastebin.com/jWS0thS8 Output:
โœ… Bot test user 1#9512 is ready!
๐ŸŽค Bot test user 1#9512 joined voice channel coffee-chat-lobby
โณ Waiting 65 seconds before initializing next bot...
โœ… Bot test user 2#4315 is ready!
๐ŸŽค Bot test user 2#4315 joined voice channel coffee-chat-lobby
โœจ All bots initialized successfully!
๐Ÿ‘ฅ Users in voice channel: 1

๐Ÿ“ Type "exit" to gracefully shutdown the bots
exit
๐Ÿ‘‹ Initiating graceful shutdown...
๐Ÿงน Cleaning up voice connections...
โŒ Error destroying voice connection: Error: Cannot destroy VoiceConnection - it has already been destroyed
at VoiceConnection.destroy (/Users/user/Documents/Projects/N3S/coffee-chat-bot-discord-test-users/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/voice/src/VoiceConnection.ts:553:10)
at cleanup (/Users/user/Documents/Projects/N3S/coffee-chat-bot-discord-test-users/src/index.ts:18:18)
at Interface.<anonymous> (/Users/user/Documents/Projects/N3S/coffee-chat-bot-discord-test-users/src/index.ts:38:7)
โœ… Bot test user 1#9512 is ready!
๐ŸŽค Bot test user 1#9512 joined voice channel coffee-chat-lobby
โณ Waiting 65 seconds before initializing next bot...
โœ… Bot test user 2#4315 is ready!
๐ŸŽค Bot test user 2#4315 joined voice channel coffee-chat-lobby
โœจ All bots initialized successfully!
๐Ÿ‘ฅ Users in voice channel: 1

๐Ÿ“ Type "exit" to gracefully shutdown the bots
exit
๐Ÿ‘‹ Initiating graceful shutdown...
๐Ÿงน Cleaning up voice connections...
โŒ Error destroying voice connection: Error: Cannot destroy VoiceConnection - it has already been destroyed
at VoiceConnection.destroy (/Users/user/Documents/Projects/N3S/coffee-chat-bot-discord-test-users/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/voice/src/VoiceConnection.ts:553:10)
at cleanup (/Users/user/Documents/Projects/N3S/coffee-chat-bot-discord-test-users/src/index.ts:18:18)
at Interface.<anonymous> (/Users/user/Documents/Projects/N3S/coffee-chat-bot-discord-test-users/src/index.ts:38:7)
9 replies
DIAdiscord.js - Imagine an app
Created by Will on 4/12/2025 in #djs-questions
How to test a bot that manages dozens of users in a voice channel?
My backup plan is to spin up a bunch of really cheap servers on some cloud provider and log in one bot per server, but was wondering if there's an easier (and cheaper) solution
9 replies
DIAdiscord.js - Imagine an app
Created by Will on 4/12/2025 in #djs-questions
How to test a bot that manages dozens of users in a voice channel?
I read somewhere there's a 60 second cooldown between client creations so I tried just logging in each bot 65 seconds apart, but that didn't work. It allows the first bot I have to log in but the 2nd just can't join
9 replies
DIAdiscord.js - Imagine an app
Created by Will on 4/12/2025 in #djs-questions
How to test a bot that manages dozens of users in a voice channel?
discord.js 14.18.0 node v20.18.1
9 replies
TTCTheo's Typesafe Cult
Created by Will on 1/10/2024 in #questions
Expo Module Development Issue on WSL2
I do see the module show up in the Using expo modules log
4 replies
TTCTheo's Typesafe Cult
Created by Will on 1/10/2024 in #questions
Expo Module Development Issue on WSL2
No description
4 replies
TTCTheo's Typesafe Cult
Created by Will on 5/20/2023 in #questions
background tasks in t3 stack?
or if not, is there a recommended way to set up the project so I can re use all of my prisma types in some lambda code?
4 replies