Git Product home page Git Product logo

Comments (2)

favna avatar favna commented on May 27, 2024

@discordjs/builders has a dependency of @sapphire/shapeshift to provide input validation. That is to say, whatever you're inputting is invalid and if Shapeshift wouldn't throw an error then the Discord API would. You are self responsible for handling your errors and ensuring your bot doesn't crash due to them.

The error says it comes from EmbedBuilder.addFields and at the bottom it says [ 'value', [ExpectedConstraintError] which means that you're not providing the field value. Read up on how to create embeds with DiscordJS on their guide: https://discordjs.guide/popular-topics/embeds.html#using-the-embed-constructor. ---

As for this:

I'm not quite sure what sapphire is even for
Sapphire is primarily the only officially supported framework for DiscordJS. We also have many tools, such as shapeshift. In fact, some of our other libraries are also dependencies for DiscordJS such as @sapphire/snowflake and @sapphire/async-queue. We also have our own server: https://discord.gg/sapphiredev.

Lastly, I assume you asked for support in the djs-help-14 channel? I'm honestly trying to find where you asked and see how people replied that didn't help you because it would be good to get people to provide better support so you didn't have to go through the hoops of creating a GH issue.

from shapeshift.

favna avatar favna commented on May 27, 2024

Closing this as answered above and questions are supposed to go through Discord, not GitHub issues.

from shapeshift.

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.