Closed mlaggner closed 5 months ago
To get a list of forum posts, you can go through Active Guild Threads (keeping only the relevant channel) and List Public Archived Threads.
Although please note. As far as I'm aware, keeping data in this way (offline) - will violate Discord's developer ToS. As you need to provide a way for deletion of this data. (I'm not a lawyer though, so please consult folks at DDevs for this)
Many thanks.
As I am the main administrator of the discord server and this is a private bot, I do not think that there is any issue according to the ToS. Unfortunately discord itself is not able to offer some sort of disaster recovery (our server has been hacked and completely nuked and discord itself did not help in any way), we need to create our own backups to safe the tons of work we've spent in the content
As I found out, we can read messages from a normal (text) channel and there is an endpoint for creating/managing a forum thread - but I miss the endpoint for reading all messages/posts from a forum thread. Is this not implemented or just not possible?
My use case is to dump all messages from a guild forum for an offline backup. My idea is to
discordgo.Session.ChannelMessages
or the channel objectdiscordgo.Channel
it selfAny help would be highly appreciated