Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How do i enable DM message detection? - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
โข
2y ago
โข
4 replies
kraken
How do i enable DM message detection?
I have
'messageCreate
' listener on bot
, but it does not seem to detect the messages received by the bot in dm
.
Solution
Assuming you followed the instructions from the second big red block on the guide
:
https://sapphirejs.dev/docs/Guide/getting-started/getting-started-with-sapphire
You have to also enable the Channels partial
https://discordjs.guide/popular-topics/partials.html#handling-partial-data
Sapphire Framework
Getting started with Sapphire | Sapphire
To install Sapphire
, you need to install both discord
.js and
discord.js Guide
Imagine a guide
.
.
. that explores the many possibilities for your discord
.js bot
.
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 do I handle this UserError?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
How to get message args ?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
How do I use autocompleteRun on subcommands?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
How do i delete a slash command?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
4y ago