Discordchatexporter: Saving in Database file

Created on 20 Jan 2020  路  3Comments  路  Source: Tyrrrz/DiscordChatExporter

A more practical way to save messages instead of html or json would be with database format so that the new messages can be added to the old ones instead of remaking the messages files and losing information.

enhancement wontfix

Most helpful comment

Yes, seconding this. Having a way to update your exported file instead of recreating them each time would be very useful! Maybe try sqlite3, would make it faster and easier to parse if you're dealing with larger logs too.

All 3 comments

Yes, seconding this. Having a way to update your exported file instead of recreating them each time would be very useful! Maybe try sqlite3, would make it faster and easier to parse if you're dealing with larger logs too.

Since there is already CSV output, it shouldn't be too hard to make a script that converts that into an sqlite database.

While I understand the use case, adding support for more formats makes the project much harder to maintain. There's most likely not going to be any more formats added past this point.

As an alternative, it would most likely be possible to add a feature to the CLI version that would print the output to stdout instead of a file. That way, you can run the CLI programmatically, read the output in streaming way, and then relay that to the database. If that would work for you, let me know in a comment and I'll create a separate issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tyzoid picture tyzoid  路  3Comments

Latias4Ever picture Latias4Ever  路  4Comments

Tyrrrz picture Tyrrrz  路  5Comments

ealgase picture ealgase  路  4Comments

chibiusagi picture chibiusagi  路  4Comments