This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
Releases: DarkoPendragon/discord.js-musicbot-addon
Releases · DarkoPendragon/discord.js-musicbot-addon
13.0.2
1.6, class time.
1.6, Class time.
No bot code changes required from 1.5/1.4. Examples are still the same.
Changes:
- Removed asynchronous functions since some people don't like using the latest and greatest.
- Added enabling/disabling commands.
- Added looping.
- "Class" update.
- Fixed some errors/bugs from 1.5.
- Added alive message function && (heh) options.
- Removed enabling/disabling commands until further notice.
- Added all additions from pull requests to the main npm module.
- Updated examples.
New music, new you.
1.4.0
Yeah, I put a cringy title for this version. Deal with it.
The 1.4 update completely changes the way the bot plays and search's for music.
New Notable Items
- New music/searching.
- Fixed ytdl related issues.
- Now requires a YouTube API3 key to be passed to the bot (see new code below).
- Added errors to ensure the bot has the right info at startup so it doesn't crash afterwards.
Code Change
New code is required for the module. See below.
const Discord = require('discord.js');
const client = new Discord.Client();
const Music = require('discord.js-musicbot-addon'); //note: capital M.
const music = new Music(client, { //note: lowercase m.
youtubeKey: 'sum-youtube-api3-keyhere'
}); //add any other options you want, youtubeKey is required however.
client.login('secret-token');
Stable, ready, and beautiful.
This version has proved to be stable, has my current wishes for the minimum updates, and the code looks all nice now.
Main first commit.
The entire awesomeness.