Skip to content

Discord.js bot. Can play music from YouTube, Spotify; has many other commands such as purge, kick, 8ball, etc.

License

Notifications You must be signed in to change notification settings

vladdenisov/crove-bot

Repository files navigation

Crove Bot Build Status Node.js CI Known Vulnerabilities GitHub release (latest by date) GitHub repo size GitHub

Crove can play music from Youtube, Spotify, Soundcloud, Bandcamp and It has many other commands such as purge, kick, 8ball, sauce, gif, etc.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

  • Node.js 12.0.0 or newer is required.
  • Java 13 is required.
  • Follow instructions and Install Lavalink.
  • Linux (change package manager if necessary)
     $ sudo apt install autoconf libtool g++ make  
  • Windows
     npm install --global windows-build-tools

Installing

A step by step series of examples that tell you how to get a development env running

Clone this repo

$ git clone https://github.com/vladdenisov/crove-bot.git

Get into crove-bot folder

$ cd crove-bot

Install node modules

$ npm install 

Follow instructions and Install Lavalink. (If you haven't done this yet)

Edit application.yml and index.js (optional)

$ nano application.yml

Edit config.json (use example config and replace values)

$ nano config.json

Start Lavalink

$ java -jar Lavalink.jar

Start bot

$ npm run start

Deployment

  1. Install bot on your server.

  2. Firstly start Lavalink:

    $ java -jar Lavalink
  3. Then start the bot:

    $ npm run server

Built With

  • DiscordJS - The Discord API framework used
  • Lavalink - Standalone audio sending node based on Lavaplayer
  • Lavacord - Lavalink wrapper for Discord.js

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details