Skip to content

Conversation

@abilash-dev
Copy link

Generate transcript files with forwarded messages.

forwarded embed messages
forwarded attachment files
forwarded stickers
forwarded messages
forwarded message components

Transcript attachment handler with webhook support.

Added some delays and retries to avoid crashes
Added the usage instructions in README.md

Improved meta tags for better preview appearance.

Discord.py, Py-cord, Nextcord Support

1. Generate transcript files with forwarded messages.
- forwarded embed messages
- forwarded attachment files
- forwarded stickers
- forwarded messages
- forwarded message components

2. Transcript attachment handler with webhook support.
- Added some delays and retries to avoid crashes
- Added the usage instructions in README.md

3. Improved meta tags for better preview appearance.
1. Updated README.md
2. Added reference to the number in attachment handler (size_limit).
3. Asynchronous version of webhook
4. Removed the sleep
5. Adjusted the latest changes in the error handling.
6. Updated message.py
7. Updated transcript.py
- It logs forwarded messages in discord.py only.
- In other forks, it will work normally like before.
1. Added comment about file size limit.
2. Removed the direct import of discord from attachment_handler.py
3. Other changes
@doluk
Copy link
Collaborator

doluk commented Dec 20, 2025

@abilash-dev
thank you very much for opening this pull request. sorry for the delayed reply.

I tested your pr just a few minutes ago and I have some issues with it

image I find it extremely hard to distinguish between forwarded messages and original messages. The only indication is the little forwarded at the top. which differs quite a bit from the discord ui. Also I noticed, that there are some issue with the content. `# []()` isn't the content of the forwarded message as you can see at the left. I know that the markdown here is extremely cursed, by requirement wouldn't be that it parses that properly. but at least the unformated content should be preserved. Further your pull request changes, that the timestamp in the code block is formated instead ignored

@abilash-dev
Copy link
Author

Ok, Give me some time I'll try to change those.

@doluk
Copy link
Collaborator

doluk commented Dec 21, 2025

Sure!

Fixed the issues in the forwarded message
@abilash-dev
Copy link
Author

image

I think it is better now

Copy link
Collaborator

@doluk doluk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that looks better, but the style of the forwarded messages is still quite different from the original discord style. We try to match the original style

quote for the forwarded message
@abilash-dev
Copy link
Author

image

Added quote for the forwarded message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants