-
-
Notifications
You must be signed in to change notification settings - Fork 315
Open
Description
Summary
Retrieving a forwarded message via GetMessagesAsync returns the correct message, however the referenced message (message.Reference.Message) contains the Channel ID of the "forwarded message" channel, instead of the channel id of the message referenced (See screenshot).

--> message.Reference.Channel is correct
--> message.Reference.Message.ChannelId is wrongly set, for that reason the message is null and ReferencedMessage also is invalid
Expected Behaviour: message.Reference.Message.ChannelId should match message.Reference.Channel.Id and the message object should be valid.
What version of the library are you using?
v5.0.0-nightly (make sure you are using the latest nightly!)
What .NET version are you using? Make sure to use the latest patch release for your major version.
.NET 9.0
Operating System
Windows 10
Reproduction Steps
- Forward a message from one channel to another.
- Fetch the forwarded message it via GetMessagesAsync.
- Check message.Reference.Message.ChannelId, it points to the channel the "forwarded message" is in, not the original message.
Trace Logs
Exceptions or other error messages
Anything else you'd like to share
No response
Metadata
Metadata
Assignees
Labels
No labels