discord-backup
discord-backup copied to clipboard
err
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)