👨‍💻[NEW] BDFD x Discord.js Eval

New way to access Discord.js within BDFD!

This evaler allows you to eval Discord.js code within BDFD!

How does it work?

  • Create an evaler

  • Get your evaler link

  • Send requests as you please!

Setting Up Your Evaler:

  1. Login with Discord

  2. Verify your identity by inputting your key

  3. Input your bot token

  4. Input a secret auth key. This can be whatever you want! Make it secure as this is how you will reach your evaler. Do not share the key with anyone else

  5. Select Intents. Only select the intents you absolutely need. Privileged Intents (GuildMembers, GuildPresences, and MessageContent) must be activated in the Discord Developer Portal in order for the bot to start.

Once your evaler has been submitted, If successful, the bot should automatically start.

How to Eval:

  • Copy the link provided on the dashboard.

  • Make a POST request to the link $httpPost[<url>/eval;{"code": "your_code_here"}]

    • Required Body Parameter: code The code to evaluate.

    • Required Header parameter: auth The auth token you created

  • After sending the request, capture the result using $httpResult. This will contain the output from the evaluation process.

  • Use $httpStatus to determine whether the API request was successful or encountered an error.

    • If the status is 400 (bad request), the API encountered an error. You can debug using $httpResult[error].

    • If successful, the result will be available in $httpResult[details].

  • If the API call is successful, you can retrieve the current API-to-Discord API ping using $httpResult[ping].

Management Options:

  • Configure - Reconfigure Evaler Settings [THIS IS NOT READY YET]

  • Delete - Delete the Evaler

  • Restart - Restart the Evaler

Have more questions or need help? Join the Support Server and we'll guide you through!

Privacy and Security

To run this evaler, we do save the inputted bot tokens in a secure database. The database is obfuscated so not even I can read it.

We expect all users to adhere to not only Discords ToS, but our own rules as well so we can keep this running.

  • The code is processed through malicious check before being executed, if your code flags the check. We will be alerted and may suspend your evaler without notice.

  • We kindly and sternly ask that you do not abuse this project and ruin it for everyone, meaning I can simply take this down with a click of a button if even one user abuses this.

  • Use common sense, treat others as you'd want to be treated.

    • Imagine if someone raided your server, that would hurt right? Don't raid other servers. (It is honestly sad this has to be said.)

Last updated