Skip to content

alidexter001/LexufyBot

Repository files navigation

MusicBot Only </commands>

An advanced Music Bot Made By C4•Clan

© C4•Clan 2023 All rights reserved

C4•Clan

LexufyBot is an Advanced and Simple MusicBot Made By ∁₄•Clan.

  • Support Youtube | Spotify | Deezer | Radio Stations
  • Made With Erela.js | Erela.js-Spotify | Erela.js-Deezer | Erela.js-Facebook
  • Total commands 20 Commands
  • Developed By: !௹ ◈คli◈ ௹#7137

Discord Presence

Commands

Command Description
Play Play/add to the queue Music From Youtube/Spotify
Stop Destroy the server music queue
Skip Skip the current played music
Pause Pause the server queue
Resume Resume the server queue
Skipto Skip to a specific song on the queue
Clear Clear the queue from all the songs
Queue Display the current queue of the server
NowPlaying Display the current track played informations
Grab Save a specific track from the queue on your DMs
Shuffle Shuffle the server queue
Seek Seek to a specific part from the song (seconds)
Loop Loop the current Queue / Track
Previous Play the previous song from the queue
Bassboost Set the BassBoost level to the queue
Lyrics Display the lyrics of the current song
Volume Set the Volume level to the queue
Help Display the list of all the bot commands
Invite Save an invite link of the bot to your DMs
Ping Display the bot Ping & Api latency

Installation

LexufyBot requires Node.js v18 to run.

Install the Packages and start the server.


For Windows...

cd LexufyBot
npm i
node index.js

For Replit...

Click The The Button Down Below

Repl.it

On The Shell Type The Following Commands

npm i
node index.js

Development

Want to Edit The Code? Great!

It's really easy to add commands just follow the steps:


const {EmbedBuilder} = require('discord.js');
const { getVoiceConnection } = require('@discordjs/voice');
const {EMBED_COLORS} = require('../config')

module.exports = {
    name: '',//the name of the command here
    description: '',// the description here

    run: async(interaction, client) =>{
        const player = interaction.client.manager.get(interaction.guild.id);

        if(!player) return interaction.reply({content: `❌ **| Nothing is playing right now...**`, ephemeral: true});
        const channel = interaction.member.voice.channel;
        const botChannel = interaction.guild.members.me.voice.channel;

        if(!channel) return interaction.reply({content: `⚠️**| You have to be on a voice channel to use this command.**`, ephemeral: true});
        if(channel && channel != botChannel) return interaction.reply({content: `⚠️**| You have to be on the same voice channel as mine to use this command.**`, ephemeral: true});
        
        try{
            //you add the actions that the command do here.
        }catch(e){console.log(e)}
    }
}

⚠️You are free to edit the code or use a part of it on your project but don't change the copyright and author

License

Apache License Version 2.0 License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published