Open
Description
Summary
The content of forwarded messages cannot be obtained
Reproduction Steps
For forwarded messages, only the reference metadata can be read, and the content of the original message cannot be obtained. The obtained message content is blank
Minimal Reproducible Code
import discord
from discord import Message
class MyClient(discord.Client):
async def on_ready(self):
print(f'{self.user.name}({self.user.id})')
async def on_message(self, message: Message) -> None:
# don't respond to ourselves
if message.author == self.user:
return
print(message.content) # When it is a forwarded message, the printed result is empty
print(message.contclean_contentent) # When it is a forwarded message, the printed result is empty
print(message.system_content) # When it is a forwarded message, the printed result is empty
intents = discord.Intents.default()
intents.message_content = True
client = MyClient(intents=intents)
client.run('token')
Expected Results
I hope that the content of the forwarded messages can be obtained normally
Actual Results
I hope that the content of the forwarded messages can be obtained normally
Intents
Get messages
System Information
Linux
Checklist
- I have searched the open issues for duplicates.
- I have shown the entire traceback, if possible.
- I have removed my token from display, if visible.
Additional Context
No response