Giter VIP home page Giter VIP logo

discord.js-v13-example's Introduction

[Made in VS Code] ˙ [License MIT]
[Last Commit]


This is an example bot to make commands with categories using Discord.js v13, a powerful JavaScript library for interacting with the Discord API. This bot contains examples of commands with legacy prefix (deprecated) and slash commands.

Table of Contents


Getting started

Dependencies

Launch requirements:

  • Node.js v17 or higher,
  • npm v8 or higher (usually comes bundled with Node.js).

Also:


How to run this project

Bot preparing

  • Step 3: Write the name of your bot and click the «Create» button:

  • Step 4: Go to the «Bot» category:

  • Step 5: Click on the «Add Bot» button:

  • Step 6: Click on the «Copy» button, this to copy the Bot Token:

Bot configuring

  • Step 7: Rename .env.example to .env.
  • Step 8: Edit .env file and paste your bot token.
  • Step 9: Edit the config.js file to your liking.
  • Step 10: Install bot dependencies with npm i.
  • Step 11: Start the bot with npm start!

How to invite bot to a server

  • Step 1: Select your application, then click on "OAuth2" and open "URL Generator":

  • Step 2: Here you have to select the permissions of your Bot, in SCOPES first select "Bot" and "applications.commands", then in BOT PERMISSIONS select "Administrator" and then below you will receive the invitation of your bot click on the «Copy» button

  • Step 3: Paste the link of the invitation of your bot that you copy in a tab of your browser, then select the server and give the button "Continue" then the button "Authorize", after this complete the capcha and the bot would already be inside your server!


Heroku

Deploy

Support Server

If you find an error or need support, go to my discord server and open a ticket:

[ Discord Server Here ] Faith Community | Services
[Discord server invite]

For contributors

  1. Contributing
  2. Download

discord.js-v13-example's People

Contributors

buddier avatar gesugao-san avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.