Paginated message maze error...?
I'm getting a strange message from the
PaginatedMessage
class:
However, this command was called from within a guild and not a DM.
Intents: [GatewayIntentBits.Guilds]
FYI, I'm running with only the application.commands
scope, not bot
Here's the relevant code:
This is running inside of a chatInputRun()
.
Version: "@sapphire/discord.js-utilities": "^7.3.3",

7 Replies
Relevant research - https://discord.com/channels/737141877803057244/1151938957806940160/1151938957806940160
This was the only past time this error was mentioned in this server. Appraently it got closed without an actual resolution.
do you have the guilds intent? the solution for the linked issue was https://discord.com/channels/737141877803057244/1151938957806940160/1151962183933100103 (as per what the user marked the solution as with @Answer Overflow)
yes. I mentioned in my message:
Intents:[GatewayIntentBits.Guilds]
FYI, I'm running with only theapplication.commands
scope, notbot
Best you can do is run with a debugger and set a breakpoint before the error is thrown so you can trace what went wrong but this should only happen if there is something wrong in terms of config.
i ended up just implementing it myself 🙃 sorry yall!
Implementing what exactly?
if you mean a paginated message then that's silly and you're shooting yourself in the foot... very hard. A little bit of debugging now would safe you a lot of pain later when you're own code eventually needs adjusting. But you do you I suppose.
yeah i just needed the back and forth buttons. it was very simple to implement, i just stored the index in the custom id of the button and matched that with an array of embeds.
I'll probably debug it at a later time but I wanted to get an update out