Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Can't create new listener - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
โข
3y ago
โข
7 replies
ikoli
Can't create new listener
I
've tried to create a ready listener as the getting started shows
, but it crashes
Solution
exact same error as
#TypeError Class constructor
_SapphireClient cannot be invoked without
'new
'
This means your
target
target
wasn
't set so it defaults to ES3 which is ancient JS that isn
't supported and doesn
't supported classes
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
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How can I create a listener for @discordjs/voice states?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Ready listener doesn't run
S-IaF
Sapphire - Imagine a Framework / sapphire-support
4mo ago
Ready Listener doesn't work
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
THREAD_CREATE event Listener run method arguments
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago