Code Monkey home page Code Monkey logo

hard-bot's Introduction

HarD-BOT

Music bot for Discord using latest API

Setup instructions: 1 - Install dependencies: npm i dotenv discord.js discord-player @discordjs/voice @discordjs/rest @discordjs/opus @discordjs/builders play-dl ffmpeg-static

2 - Setup your app token to the .env file 3 - Setup your CLIENT_ID and GUILD_ID for the bot on index.js file 4 - Edit the strings.js file to your preferred language

5 - Go to https://discord.com/developers/applications/YOUR_BOT_ID/bot and enable "MESSAGE CONTENT INTENT"

6 - Go to OAuth2 and set:

  • Scopes: "applications.commands" and "bot"
  • Bot permissions: "Read Messages/View Channels", "Send Messages", "Manage Messages", "Embed Links", "Read Message History", "Use Slash Commands", "Connect" and "Speak"

7 - Now copy the URL at the bottom page and invite the bot to your server

8 - Now on the bot folder on a terminal, deploy/load the commands node index.js load

9 - Now run the bot node index.js

10 - Now go to your server and use the bot!

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.