PaginatedMessage "This maze wasn't meant for you...what did you do." on a user app

Almost (?) the same issue with https://discord.com/channels/737141877803057244/1151938957806940160, but this time on a user app. Trying to run a command in a guild channel but it gets logged saying it came from a DM. Here's some info that might be helpful: The intents and partials
intents: [
GatewayIntentBits.DirectMessageReactions,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.GuildModeration,
GatewayIntentBits.GuildEmojisAndStickers, // it's still here because old code
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildVoiceStates,
GatewayIntentBits.MessageContent
],
partials: [Partials.Channel],
intents: [
GatewayIntentBits.DirectMessageReactions,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.GuildModeration,
GatewayIntentBits.GuildEmojisAndStickers, // it's still here because old code
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildVoiceStates,
GatewayIntentBits.MessageContent
],
partials: [Partials.Channel],
All dependencies are up to date
"@sapphire/decorators": "^6.2.0",
"@sapphire/discord-utilities": "^3.5.0",
"@sapphire/discord.js-utilities": "7.3.3",
"@sapphire/fetch": "^3.0.5",
"@sapphire/framework": "^5.3.7",
"@sapphire/plugin-api": "^8.3.1",
"@sapphire/plugin-editable-commands": "^4.0.4",
"@sapphire/plugin-logger": "^4.1.0",
"@sapphire/plugin-subcommands": "^7.0.1",
"@sapphire/time-utilities": "^1.7.14",
"@sapphire/type": "^2.6.0",
"@sapphire/utilities": "^3.18.2",
"@skyra/env-utilities": "^2.0.1",
"discord.js": "^14.22.1",
"dotenv": "^17.2.3",
"openai": "^6.1.0"
"@sapphire/decorators": "^6.2.0",
"@sapphire/discord-utilities": "^3.5.0",
"@sapphire/discord.js-utilities": "7.3.3",
"@sapphire/fetch": "^3.0.5",
"@sapphire/framework": "^5.3.7",
"@sapphire/plugin-api": "^8.3.1",
"@sapphire/plugin-editable-commands": "^4.0.4",
"@sapphire/plugin-logger": "^4.1.0",
"@sapphire/plugin-subcommands": "^7.0.1",
"@sapphire/time-utilities": "^1.7.14",
"@sapphire/type": "^2.6.0",
"@sapphire/utilities": "^3.18.2",
"@skyra/env-utilities": "^2.0.1",
"discord.js": "^14.22.1",
"dotenv": "^17.2.3",
"openai": "^6.1.0"
yarn info @sapphire/discord.js-utilities
└─ @sapphire/discord.js-utilities@npm:7.3.3
├─ Version: 7.3.3
yarn info @sapphire/discord.js-utilities
└─ @sapphire/discord.js-utilities@npm:7.3.3
├─ Version: 7.3.3
Application logs
2025-10-06 05:21:36 - DEBUG - [0] - askai dolliwyx[296862433136476160] Direct Messages
2025-10-06 05:23:25 - DEBUG - [0] - askai dolliwyx[296862433136476160] Direct Messages
2025-10-06 05:21:36 - DEBUG - [0] - askai dolliwyx[296862433136476160] Direct Messages
2025-10-06 05:23:25 - DEBUG - [0] - askai dolliwyx[296862433136476160] Direct Messages
Relevant code with the PaginatedMessage
if (response.message.content?.length! > 2000) {
await interaction.editReply({ content: "Response is too long. Splitting the message..." });
const paginatedMessage = new PaginatedMessage();
const chunks = splitString(response.message.content!, 2000);

for (const chunk of chunks) {
paginatedMessage.addPageContent(chunk);
}

return paginatedMessage.run(interaction, interaction.user);
} else return interaction.editReply({ content: response.message.content! });
if (response.message.content?.length! > 2000) {
await interaction.editReply({ content: "Response is too long. Splitting the message..." });
const paginatedMessage = new PaginatedMessage();
const chunks = splitString(response.message.content!, 2000);

for (const chunk of chunks) {
paginatedMessage.addPageContent(chunk);
}

return paginatedMessage.run(interaction, interaction.user);
} else return interaction.editReply({ content: response.message.content! });
It first replies with ""Response is too long. Splitting the message..." and then gets edited into "This maze wasn't meant for you...what did you do."
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?