You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backup files are now axbs2 format. The system will automatically convert axbs1 to axbs2 format if you were using an older version of the system.
The backup system is now a class. It will be needed to be initialized first.
You can now choose the order of the loading of the backup. I recommend you to use the default order.
The Backup ID is still editable.
Usage
Create a Backup
constBackupSystem=require('discord-backup-system');client.BackupSystem=newBackupSystem("/backups/");// ... // Your Message Event / Commandclient.BackupSystem.create(message.guild,message.author.id,`${message.guild.id}-#{GEN_SHORT}#`).then(backupData=>{message.channel.send(`This is your backup: \`${backupData.id}\``)});
Usage
Params
Type
Explication
Default
guild
Guild
Guild To Backup
None
authorId
Snowflake
Author of the backup
None
name
String
Backup Name (#{GEN}# to generated a random string and #{GEN_SHORT}# to generate a shorter strings)