Skip to content

Complete discord music bot (multilingual, configurable and much more) using discord-player.

License

Notifications You must be signed in to change notification settings

antoinemcx/naybor

Repository files navigation

Naybor 🎶

Open-source music discord bot by Melio currently available in English and French.
If you like the project, feel free to put a ⭐ for better referencing ; If you need help, join the support server.

MIT License CodeFactor Version discord.js Stars Support server

Features

  • 🎶 Music playing
  • 🌐 French and English translation
  • ⚙️ Prefix and language configuration
  • 🕑 Command handler with cooldowns
  • 🤖 Automatic help page
  • 💭 Clean help and botinfo commands

Setup the bot

Configuration

For the configuration, rename the config-example.js file to config.js and replace the following values :

module.exports = {
    token: '',
    prefix: '',
    owner: "",
    db: {
        host: "",
        user: "",
        password: "",
        database: "",
    },
    serverID: "",
    logChannel: "",
    
    emotes: {},
};

Installation

$ npm install

MariaDB

Naybor runs on the MariaDB database, a slightly modified version of MySQL.
First, create the database. The name of the database must be the same as the one set in the config.js file

After creating the database, run the following command :

$ npm run migration

Start the bot

$ npm start

More information

FFMPEG and NodeJS (version 16.9.0 or later) are required to run the bot properly.
If you find an error, have something to suggest, etc. make a pull request or contact me on my discord server.
This repository is licensed under the MIT License. See the LICENSE file (here) for more information.