[PAGINATED_MESSAGE_RUNS_IN_NON_PARTIAL_DM_CHANNEL] PaginatedMessageRunsInNonpartialDMChannel: PaginatedMessage was initiated in a DM channel without the client having the required partial configured.If you want PaginatedMessage to work in DM channels then make sure you start your client with "CHANNEL" added to "client.options.partials".Furthermore if you are using message based commands (as opposed to application commands) then you will also need to add the "DIRECT_MESSAGE" intent to "client.options.intents"If you do not want to be alerted about this in the future then you can disable this warning by setting "PaginatedMessage.emitPartialDMChannelWarning" to "false", or use "setEmitPartialDMChannelWarning(false)" before calling "run".
[PAGINATED_MESSAGE_RUNS_IN_NON_PARTIAL_DM_CHANNEL] PaginatedMessageRunsInNonpartialDMChannel: PaginatedMessage was initiated in a DM channel without the client having the required partial configured.If you want PaginatedMessage to work in DM channels then make sure you start your client with "CHANNEL" added to "client.options.partials".Furthermore if you are using message based commands (as opposed to application commands) then you will also need to add the "DIRECT_MESSAGE" intent to "client.options.intents"If you do not want to be alerted about this in the future then you can disable this warning by setting "PaginatedMessage.emitPartialDMChannelWarning" to "false", or use "setEmitPartialDMChannelWarning(false)" before calling "run".
However, this command was called from within a guild and not a DM.
Intents:
[GatewayIntentBits.Guilds]
[GatewayIntentBits.Guilds]
FYI, I'm running with only the
application.commands
application.commands
scope, not
bot
bot
Here's the relevant code:
const paginatedInfo = new PaginatedMessage().addPageEmbeds( Object.entries(beeData).map(([_, data]) => new EmbedBuilder() .setTitle(`${data.emoji} ${data.name}`) .setDescription(data.description) .setColor(Colors.Yellow), ),);await paginatedInfo.run(interaction);
const paginatedInfo = new PaginatedMessage().addPageEmbeds( Object.entries(beeData).map(([_, data]) => new EmbedBuilder() .setTitle(`${data.emoji} ${data.name}`) .setDescription(data.description) .setColor(Colors.Yellow), ),);await paginatedInfo.run(interaction);