Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Event from other bot - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
6mo ago
•
2 replies
Mathias
Event from other bot
Hi everyone
I have two bots running on SapphireJS
. From bot B
, I want to emit a custom event to bot A using client
.emit
(
)
.
I saw your documentation here
:
https://sapphirejs.dev/docs/Guide/listeners/listening-to-events-emitted-by-other-emitters
But I don
’t understand the part about
"One method is to set the name a Client property containing the emitter like
s
o
:
"
Also
, I can
’t use client
.ws because I don
’t have access to it
, and I
’d prefer not to use it if possible
Is there a simpler way to achieve this
?
Thanks
!
Sapphire Framework
Listening to events emitted by other emitters | Sapphire
By default
, Sapphire
's event emitter is your client
. However
, for advanced use cases
, you can specify a different
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
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
messageCommandDenied preventing bot from booting
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
Invoking Command method from other command
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
GuildDelete Event somehow gets triggered when I restart my Bot
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Passing data from one handler to the other
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago