Error [UNLOADED_PIECE] The piece 'CoreReady' does not exist.
I have no idea why prod started throwing this error on restart, cannot reproduce on test
Solution:Jump to solution
I moved my client.login to a different file and forgot to re-upload the file I removed the old call from, so it was getting called twice. Sorry to bother
17 Replies
Anyone know anything about this?
Tag suggestion for @Acier:
- Did you use a folder of the examples repository or did you use the CLI to generate your bot?
- What's your file/folder structure?
- What's your "main" property in
package.json
- Are you using TypeScript? And if so, how are you compiling and running your code?
- Are you using the version 2 or version 3 of @sapphire/framework
?
- In case you are using version 3 of @sapphire/framework
, and your problem related to message commands, did you add loadMessageCommandListeners
to your SapphireClient
options
Remember that if you are new to @sapphire/framework
it is important that you read the user guide.You seem to have done some kind of partial reload without properly updating your dependencies because the compiled version of https://github.com/sapphiredev/framework/blob/main/src/listeners/CoreReady.ts cannot be found
GitHub
framework/CoreReady.ts at main · sapphiredev/framework
Discord bot framework built on top of discord.js for advanced and amazing bots. - framework/CoreReady.ts at main · sapphiredev/framework
Maybe nuke the lockfile along with node_modules and try reinstalling.
![this](https://cdn.discordapp.com/emojis/882665451405070376.png)
Solution
I moved my client.login to a different file and forgot to re-upload the file I removed the old call from, so it was getting called twice. Sorry to bother
Can we make this message posted for every post on creation?
that would be weird considering it should be common sense :P
But sometimes people reply with that info, other times the problem isn't sapphire related (see djs den)
I'm not sure if AOF can respond differently per channel..
I mean only for this forum
time to open a new issue ![actually](https://cdn.discordapp.com/emojis/882665341740789840.png)
![actually](https://cdn.discordapp.com/emojis/882665341740789840.png)
you can leave it in #suggestions fyi if you want to suggest it seriously
Technically yes but not with spinel. It's an HTT only bot. Doesn't receive forum creation thread events.
AOF?
Answer overflow
And I was taking about achieving it with AOF
so this suggestion will go to AOF's server instead
Never heard anyone abbreviate it
24 pioneered it
Anyway I can just ping @Rhys
TL;DR: a message to automatically send when a forum channel is created alongside the current one about the consent. I.e. https://discord.com/channels/737141877803057244/1056607021790666763/1056609564054786138
It's a bad one tbh. If anything it would be AO, following SO being short for StackOverflow. @24