0.24.0 • Published 1 year ago

@leomotors/music-bot v0.24.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@leomotors/music-bot

npm.io npm.io npm.io

Music Bot components extracted from harunon.js

How to use

This package has 2 parts, the underlying mechanics and the part that consume it.

You likely only want to import complete Music Cog which is compatible to cocoa-discord-utils

See Example at tests/bot.js

Apart from that, if you can understand the code src/voice.ts, you can directly interact with api underneath, all of them is public.

Minimal Usage

  • Clone this repository, build the package and run tests/bot.js

  • Adjust and add some codes to personalize the bot

Advanced Usage

Prerequisites

  • node 16 (Minimum required by discord.js, What my bots are optimized for)

  • IMPORTANT Encoding Libraries (This library does not ship these encoding libraries, so you can freely decide which one to install)

✨Features

  • play from YouTube

  • queue

  • pause / resume

  • Loop

  • Remove from Queue and Clear

  • Search with beautiful embeds

🖼️ Highlight

  • ✨ Search Feature

npm.io

npm.io

Note: Picture from previous release, lazy to update

Note

  • This module has its cog named "Music", be sure to not creating a duplicate name

  • Despite cocoa-discord-utils supports CommonJS, this module does not

  • This module is still in beta, not implemented features includes but not limited to: Working in edge cases for example, user invoke command without being in voice channel

0.24.0

1 year ago

0.21.0

2 years ago

0.23.0

1 year ago

0.22.0

2 years ago

0.20.1

2 years ago

0.20.0

2 years ago

0.9.0-beta.1

2 years ago

0.9.0

2 years ago

0.14.0

2 years ago

0.15.0

2 years ago

0.15.1

2 years ago

0.7.0

2 years ago

0.3.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.6.0

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago