UltraEcho
An easy way to add music to your bot
Installation
$ npm i ultraecho
Setup
const Discord = require('discord.js');
const Client = new Discord.Client({intents: 32767});
const UltraEcho = require('ultraecho');
Client.on('ready' , async () => {
const Music = UltraEcho.start({ bot: Client });
});
Client.login('TOKEN');
Usage
Play command
Works on both interactions and messages
Understands the message and auto plays the song name
Client.on('messageCreate' , msg => {
if(msg.content.startsWith('!play')){
Music.play(msg);
}
})