Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Multiple Clients on one file/instance - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
3y ago
•
5 replies
AmusedGrape
Multiple Clients on one file/instance
I was wondering if its possible to run multiple clients on one file
(i
.e
.
.forEach
(
)
-ing
new Client()
new Client()
)
?
I tried a basic implementation and the commands we
're spammed after running one once
(see screenshot
)
Solution
Absolutely not
, Sapphire interacts with
container
container
which exists as a singleton
(only one instance
)
.
I don
't know why you want to do this
, but worker threads or forks are your only way
.
Jump to solution
Sapphire - Imagine a Framework
Join
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,261
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Two Commands In One File
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
Multiple commands in a single file
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
Multiple command exports from a single file.
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Multiple context commands in a single file
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago