Code Monkey home page Code Monkey logo

v14revamped-codebase's Introduction

Codebase of the Discord.js V14 Revamped YouTube series

Last updated: 26-12-2023 @ 17:50 GMT

README.md last updated: 16-01-2024 @ 10:30 GMT

Getting started with this codebase

  1. Download this GitHub repository and open it in your code editor (e.g. Visual Studio Code).

  2. Create a new file called .env and paste in the following:

TOKEN=
MONGODB_TOKEN=
  1. Copy your Discord bot token from the Discord Developers website and paste it next to TOKEN= in your .env file.

  2. If you do not know how to set up a MongoDB database, then please watch episode 3 of the Discord.js V14 Revamped series to see how to create an account and create login credentials.

  3. Copy the URI that is given on the MongoDB website and paste it next to MONGODB_TOKEN= in your .env file.

  4. Save everything and open your terminal / command prompt.

  5. Run the following command to install every package needed for this codebase to run properly:

npm install
  1. After everything is installed, create 3 folders inside your src folder: one with the name buttons, one named contextmenus and the last one named modals. These folders are used for later videos, but you can leave them empty. You cannot delete them - they must exist in your src folder. If done correctly, your src folder should look like this:
๐Ÿ“ src
  ๐Ÿ“ buttons
  ๐Ÿ“ commands/misc
  ๐Ÿ“ contextmenus
  ๐Ÿ“ events
  ๐Ÿ“ handlers
  ๐Ÿ“ modals
  ๐Ÿ“ utils
  config.json
  index.js
  messageConfig.json
  suspiciousUsers.json
  1. Run one of the following commands to start your bot:
node .

nodemon .

Run node . if you do not want an auto-restart on every save you make in your code editor; run nodemon . if you do want an auto-restart on every save you make in your code editor.

Questions? Having problems?

If you have any questions about this code base or you face issues when following this step-by-step guide, you can join our The North Solution Discord server and we will help you out.

v14revamped-codebase's People

Contributors

kajgit avatar pakjebecel avatar

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.