Tyrrrz / DiscordChatExporter

Exports Discord chat logs to a file
MIT License
7.48k stars 682 forks source link

HTML export are empty #1106

Closed MickaNoob closed 1 year ago

MickaNoob commented 1 year ago

Version

2.40.0

Flavor

GUI (Graphical User Interface)

Export format

HTML

Details

Hey, i got a problem,

When a export a channel, content of messages are empty.

Do you know why?

image

Steps to reproduce

CanePlayz commented 1 year ago

make sure your bot has the message content intent enabled

MickaNoob commented 1 year ago

Ho thanks it's fixed.

tcyrus commented 11 months ago

I know the issue is closed, but can this be added to the Troubleshooting guide? I encountered the issue and couldn't find it in the guide.

It might be possible to check the flags in /applications/@me to make sure that GATEWAY_MESSAGE_CONTENT or GATEWAY_MESSAGE_CONTENT_LIMITED is there.

Tyrrrz commented 11 months ago

@tcyrus thanks a lot for that hint. I was looking for a way to check for the presence of that intent via the REST API and couldn't find it.

CanePlayz commented 11 months ago

I know the issue is closed, but can this be added to the Troubleshooting guide? I encountered the issue and couldn't find it in the guide.

Has been added recently

tcyrus commented 11 months ago

Thanks. Just wanted to say a couple of things before dropping this topic.

This issue affects all export types. It's probably not worth renaming the issue since this case is now covered as part of the app as well as in the troubleshooting guide.

I'm not sure of the difference between GATEWAY_MESSAGE_CONTENT and GATEWAY_MESSAGE_CONTENT_LIMITED, which is why I suggested checking for both. The discord dev docs are unclear on how to validate this without hard coding the guild number threshold and comparing against that (this criteria might change).

Thanks for moving on this so quickly.