Git Product home page Git Product logo

Comments (17)

Androz2091 avatar Androz2091 commented on August 14, 2024 1

@Dany-LF Discord.js released the v11.6, install it using npm i discord.js

from discord-backup.

Androz2091 avatar Androz2091 commented on August 14, 2024

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.

iamrunyard avatar iamrunyard commented on August 14, 2024

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.

Androz2091 avatar Androz2091 commented on August 14, 2024

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.

iamrunyard avatar iamrunyard commented on August 14, 2024

I'm using 11.5.1, but will it affect my bot if I'm using the dev version?

from discord-backup.

iamrunyard avatar iamrunyard commented on August 14, 2024

I install but it's a 11.6-dev not 11.5-dev, it's normal ?

from discord-backup.

Androz2091 avatar Androz2091 commented on August 14, 2024

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.

iamrunyard avatar iamrunyard commented on August 14, 2024

I'm sorry, I test soon

from discord-backup.

iamrunyard avatar iamrunyard commented on August 14, 2024

Yay this is work ! The infos command send me every no backup fond error...

from discord-backup.

Androz2091 avatar Androz2091 commented on August 14, 2024

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.

iamrunyard avatar iamrunyard commented on August 14, 2024

Yes it saves with the ID, but it does not work yet

from discord-backup.

HideakiAtsuyo avatar HideakiAtsuyo commented on August 14, 2024

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.

HideakiAtsuyo avatar HideakiAtsuyo commented on August 14, 2024

That's great, I didn't know there was an 11.6, I'll go see the changes right now!

from discord-backup.

HideakiAtsuyo avatar HideakiAtsuyo commented on August 14, 2024

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.

Androz2091 avatar Androz2091 commented on August 14, 2024

You have to use the discordjs-v11 branch of discord backup.

from discord-backup.

HideakiAtsuyo avatar HideakiAtsuyo commented on August 14, 2024

Yeah i see this

from discord-backup.

iamrunyard avatar iamrunyard commented on August 14, 2024

Resolved !

from discord-backup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.