Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
@sapphire/plugin-api listeners - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
โข
4w ago
โข
7 replies
Juan Pablo
@sapphire/plugin-api listeners
Framework
Plugins
Solved
Hello
, I
'm trying to add listeners for when a route gets hit
, and I can
't seem to find anything in the docs about available listeners to use
. So
, how do I go about getting it logged
? Just add a logger line to every endpoint
?
Solution
https://github.com/sapphiredev/plugins/blob/main/packages/api/src/listeners/PluginServerRequest.ts
for example
GitHub
plugins/packages/api/src/listeners/PluginServerRequest.ts at main ...
Plugins for the Sapphire Framework
. Contribute to sapphiredev
/plugins development by creating an account on GitHub
.
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
@sapphire/plugin-api Methods Error
S-IaF
Sapphire - Imagine a Framework / sapphire-support
16mo ago
Issue with @sapphire/plugin-api
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Sapphire doesn't load listeners
S-IaF
Sapphire - Imagine a Framework / sapphire-support
13mo ago
Sapphire doesn't load listeners
S-IaF
Sapphire - Imagine a Framework / sapphire-support
13mo ago