Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
global preconditions - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
3y ago
•
3 replies
-Carlos👑
global preconditions
do global preconditions affect listeners too
? I
'm having an issue where a
messageCreate
messageCreate
event goes thru even though i
'm sending a message in the bot
's DMs and I have a
if (!message.guild) return;
if (!message.guild) return;
at the top of the code
Solution
They do not
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
Global preconditions position seems to be broken
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
preconditions
S-IaF
Sapphire - Imagine a Framework / sapphire-support
6mo ago
Preconditions
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
preconditions implementation
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago