Androz2091 / discord-backup

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

err #527

Open B3ni15 opened 4 months ago

B3ni15 commented 4 months ago

TypeError: guild.fetchBans is not a function
    at Object.<anonymous> (/root/bot/node_modules/discord-backup/lib/create.js:54:48)
    at step (/root/bot/node_modules/discord-backup/lib/create.js:33:23)
    at Object.next (/root/bot/node_modules/discord-backup/lib/create.js:14:53)
    at /root/bot/node_modules/discord-backup/lib/create.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/root/bot/node_modules/discord-backup/lib/create.js:4:12)
    at Object.getBans (/root/bot/node_modules/discord-backup/lib/create.js:48:12)
    at /root/bot/node_modules/discord-backup/lib/index.js:183:67
    at step (/root/bot/node_modules/discord-backup/lib/index.js:33:23)
    at Object.next (/root/bot/node_modules/discord-backup/lib/index.js:14:53)
    at fulfilled (/root/bot/node_modules/discord-backup/lib/index.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)