Comments (17)
@Dany-LF Discord.js released the v11.6, install it using npm i discord.js
from discord-backup.
Hello, can you send your code please?
If you use something like a catch, replace with this:
backup.load(id, backup).then(() => {
}).catch((err) => {
console.error(err);
message.channel.send("Sorry, an error...etc");
});
from discord-backup.
Hello, sure!
This is a code (load and infos) : https://pastebin.com/upz3xLC3
This is a error with load : https://i.imgur.com/gRNyHno.png
And error with infos : No backup found
from discord-backup.
Are you sure you're using Discord.js v11.5-dev
? Try to install it using npm install discordjs/discord.js#11.5-dev
. If you're using Discord.js v11.5
, it won't break your code but you need it to use discord-backup.
from discord-backup.
I'm using 11.5.1, but will it affect my bot if I'm using the dev version?
from discord-backup.
I install but it's a 11.6-dev not 11.5-dev, it's normal ?
from discord-backup.
I'm using 11.5.1, but will it affect my bot if I'm using the dev version?
No, it won't.
I install but it's a 11.6-dev not 11.5-dev, it's normal ?
What do you mean? 11.6-dev doesn't exist...
from discord-backup.
I'm sorry, I test soon
from discord-backup.
Yay this is work ! The infos command send me every no backup fond error...
from discord-backup.
Hmm... In your Sky/database/backups
folder, is there a json file named with the backup ID?
Also, you just have to use setStorageFolder
once, for example in your main file.
from discord-backup.
Yes it saves with the ID, but it does not work yet
from discord-backup.
root@debian:~/flynbot# npm install discordjs/discord.js#11.5-dev
npm ERR! code 1
npm ERR! Command failed: git checkout 11.5-dev
npm ERR! error: pathspec '11.5-dev' did not match any file(s) known to git.
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-02-29T19_18_21_641Z-debug.log
root@debian:~/flynbot#
This isn't exist mmmh
from discord-backup.
That's great, I didn't know there was an 11.6, I'll go see the changes right now!
from discord-backup.
11.6 and 11.6.1:
"11.6.0 is being released to backport new features from 12.0.0-dev."
(node:23776) UnhandledPromiseRejectionWarning: TypeError: guild.iconURL is not a function
This is weird all my bot work and if i use npm i discordjs/discord.js
he install v12 but with v12 i can't do anything i think this is an error(i can only use backup with v12)
from discord-backup.
You have to use the discordjs-v11
branch of discord backup.
from discord-backup.
Yeah i see this
from discord-backup.
Resolved !
from discord-backup.
Related Issues (20)
- Error [ERR_REQUIRE_ESM]
- backup.fetch not working HOT 1
- BitFieldInvalid HOT 2
- How do you backup an entire server (that has more than 10 messages per channel) ?
- Invalid bitfield flag or number SUPPRESS_GUILD_REMINDER_NOTIFICATIONS
- npmjs
- Discord v14 HOT 2
- Error [ERR_REQUIRE_ESM]: require() of ES Module HOT 1
- Slowing down
- sorry
- BUG : Load only 1 channel with messages
- Forum Discord HOT 1
- Forums being backed up as voice channels HOT 2
- Error
- TypeError [ClientMissingIntents]: Valid intents must be provided for the Client.
- Cache HOT 1
- This error i get HOT 4
- err HOT 1
- err
- Channel Merging Function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-backup.