© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Problem with this.container.stores.get().get(); - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
4y ago
•
14 replies
-Carlos👑
Problem with this.container.stores.get().get();
Code
:
Solution
The error means you
're probably not running this code in a piece
(listener
, command
, etc
)
, so
this.container
this.container
doesn
't exist
. Instead
, import
container
container
from
@sapphire/framework
@sapphire/framework
directly
.
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
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Global Stores
S-IaF
Sapphire - Imagine a Framework / sapphire-support
4y ago
Help with manually setting path for stores
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
sapphire problem with types
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
Problem with extended SapphireClient
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago