Open GlamgarOnDiscord opened 10 months ago
Code :
`
const guildId = '1144349513121792101'
const backupData = await backup.fetch(backupID);
// Options de chargement de la sauvegarde
const loadOptions = {
clearGuildBeforeRestore: true,
maxMessagesPerChannel: 10,
speed: 250,
};
// Chargez la sauvegarde sur le serveur Discord spécifié avec les options
await backup.load(backupData, guildId, loadOptions);
` ` `
Hello, when i try to load :
TypeError: Cannot read properties of undefined (reading 'cache') at x (/home/runner/backup/node_modules/@outwalk/discord-backup/dist/index.js:1:4228) at Object.Y [as load] (/home/runner/backup/node_modules/@outwalk/discord-backup/dist/index.js:3:144)