Code Monkey home page Code Monkey logo

Comments (3)

Bacon-Fixation avatar Bacon-Fixation commented on June 24, 2024

Howdy @DraTrav,

double check and make sure "$" character is not used as a value for variables in the .env

Edit: I missed the bottom of the error NEXT_PUBLIC_INVITE_URL is missing or invalid in the .env file, you can add

NEXT_PUBLIC_INVITE_URL="https://discord.com/api/oauth2/authorize?client_id=yourclientid&permissions=8&scope=bot" 

and replace the text yourclientid in the url with your DISCORD_CLIENT_ID info that is listed in the .env should be good

A full example of the .env can be found here

I hope this help

Much Love
-Bacon

from master-bot.

Bacon-Fixation avatar Bacon-Fixation commented on June 24, 2024

The other thing to try if everything is correct in the .env, is using the LTS (Long Term Support) version of nodejs (18.14.2) instead of Latest (19.xx.x)

Much Love
-Bacon

from master-bot.

DraTrav avatar DraTrav commented on June 24, 2024

I had a $ in the password for the database password, removing it fixed the "NEXT_PUBLIC_INVITE_URL" error and the bot started up properly!

from master-bot.

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.