© 2026 Hedgehog Software, LLC
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],
"@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
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
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! });
Join the Discord to continue the conversation
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,286 Members