Discordchatexporter: Add support for replies

Created on 24 Nov 2020  路  4Comments  路  Source: Tyrrrz/DiscordChatExporter

The exporter works just fine with the old style of "quoting" messages, but it's not able to recognize the new reply feature.

enhancement help wanted

Most helpful comment

Can someone tell Discord to stop adding new features? :joy:

All 4 comments

Can someone tell Discord to stop adding new features? :joy:

A message that's a reply looks as follows:

{
    "id": "788118588040806460",
    "type": 0,
    "content": "this is a reply to \"hello\"",
    "channel_id": "716047609776832626",
    "author": {
        "id": "83101988983668736",
        "username": "Sanqui",
        "avatar": "5806dc8069de110e94876ea63e0a1456",
        "discriminator": "3248",
        "public_flags": 0
    },
    "attachments": [],
    "embeds": [],
    "mentions": [
        {
            "id": "511537274270515230",
            "username": "SanquiAlt",
            "avatar": "7e458feb1daa0c3f77b37b943a17d2db",
            "discriminator": "7357",
            "public_flags": 0
        }
    ],
    "mention_roles": [],
    "pinned": false,
    "mention_everyone": false,
    "tts": false,
    "timestamp": "2020-12-14T19:01:53.924000+00:00",
    "edited_timestamp": null,
    "flags": 0,
    "message_reference": {
        "channel_id": "716047609776832626",
        "guild_id": "716047609776832623",
        "message_id": "788118504581627964"
    },
    "referenced_message": {
        "id": "788118504581627964",
        "type": 0,
        "content": "hello",
        "channel_id": "716047609776832626",
        "author": {
            "id": "511537274270515230",
            "username": "SanquiAlt",
            "avatar": "7e458feb1daa0c3f77b37b943a17d2db",
            "discriminator": "7357",
            "public_flags": 0
        },
        "attachments": [],
        "embeds": [],
        "mentions": [],
        "mention_roles": [],
        "pinned": false,
        "mention_everyone": false,
        "tts": false,
        "timestamp": "2020-12-14T19:01:34.026000+00:00",
        "edited_timestamp": null,
        "flags": 0
    }
}

The referenced_message does respect edits.

I'm having trouble seeing the new reply's as well. I don't have the "referenced_message" in my json and I'm using the newest tagged version: DiscordChatExporter.Cli v2.25.0

@joshrowland what @Sanqui showed is the Discord API's representation of a reply message. This feature still hasn't been merged yet.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

siu3334 picture siu3334  路  7Comments

NerveCoordinator picture NerveCoordinator  路  3Comments

tyzoid picture tyzoid  路  3Comments

mdiller picture mdiller  路  3Comments

Jakhaxz picture Jakhaxz  路  3Comments