Skip to content

Inazys/yuii-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


discord.js


Yuii Bot

A very cool music bot made by inazys

A complete code to download for a music bot

⚡ Configuration

Open the configuration file config.js.

module.exports = {
    app: {
        px: 'YOURPREFIX',
        token: 'YOURTOKEN',
        playing: 'ANYTHING'
    },

    opt: {
        DJ: {
            enabled: false,
            roleName: 'DJ',
            commands: ['back', 'clear', 'loop', 'pause', 'resume', 'seek', 'shuffle', 'skip', 'stop', 'volume']
        },
        maxVol: 100,
        loopMessage: false,
        discordPlayer: {
            ytdlOptions: {
                quality: 'highestaudio',
                highWaterMark: 1 << 25,
                dlChunkSize: 0,
            }
        }
    }
};

Basic configuration

  • app/px, the prefix
  • app/token, the token of the bot Discord Developers
  • app/playing, activity of the bot

📑 Installation

You need these thing

FFmpeg to process audio

Node JS (v16) Node.js 16.6.0 or newer is required.

npm install discord.js
yarn add discord.js
pnpm add discord.js
$ npm install --save discord-player
$ npm install --save @discordjs/opus

Also after download use npm i to install all dependencies

Releases

No releases published

Packages

No packages published