Skip to content

Throw an error on a specific message forwarding (external guild) #10679

@GuiguiBlocCraft

Description

@GuiguiBlocCraft

Which package is this bug report for?

discord.js

Issue description

For testing, I would like to see the data from message forwarding.
However, a message from an external guild AND external channel or external role, when I want to check messageSnapshots, there's exception from cleanContent() in Util.js.

It's not an event issue, but to get from the cache.

image

Code sample

No response

Versions

  • discord.js 14.17.2
  • NodeJS 22.11.0
  • Windows 10 22H2

Issue priority

Low (slightly annoying)

Which partials do you have configured?

Channel

Which gateway intents are you subscribing to?

Guilds, GuildMembers, GuildVoiceStates, GuildPresences, GuildMessages, GuildMessageReactions, DirectMessages, DirectMessageReactions, MessageContent

I have tested this issue on a development release

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions