Deployment failing
Hey! My sapphire deployment is failing but I don't really know why. It is giving me some errors on the framework's code apparently:
Any help is appreciated 🙂 Thanks in advance
Solution:Jump to solution
Not a Sapphire bug, but rather a semi-breaking type change in latest version that we're announcing in a few minutes.
tl;dr: You need to use
InteractionHandler.LoaderContext
instead of PieceContext
.
Likewise for commands it's Command.LoaderContext
, listeners Listener.LoaderContext
, and so on....4 Replies
This will be fixed in 30 minutes or so
It is related to new releases that are pending announcement
Solution
Not a Sapphire bug, but rather a semi-breaking type change in latest version that we're announcing in a few minutes.
tl;dr: You need to use
InteractionHandler.LoaderContext
instead of PieceContext
.
Likewise for commands it's Command.LoaderContext
, listeners Listener.LoaderContext
, and so on.Thanks for your quick replies! 🙂
No problem, we're working on this right now, updating a lot of Sapphire packages ^^