Androz2091 / discord-backup

📦 Complete framework to facilitate server backup using discord.js v13
https://npmjs.com/package/discord-backup
MIT License
433 stars 82 forks source link

How do you backup an entire server (that has more than 10 messages per channel) ? #480

Closed brentleywilson closed 1 year ago

brentleywilson commented 1 year ago

I dont understand, is it impossible to do this ? I have set the maxMessagesPerChannel = 99999999, but still to no avail. It just reloads the 10 recent messages and thats it.

Edit : So apparently the messages are backed up in the json but not everything gets loaded when you load a backup.

SOLVED, so apparently you have to add maxMessagesPerChannel in the backup.load() function too as:

backup.load(backupID, message.guild, maxMessagesPerChannel = 999999).then() =>....