Skip to content
/ bamboo Public

(竹): A Discord bot for streaming NetEase Cloud Music | 一个播放网易云音乐的Discord机器人

License

Notifications You must be signed in to change notification settings

k27dong/bamboo

Repository files navigation

折盡武昌柳,掛席上瀟湘。
二年魚鳥江上,笑我往來忙。
富貴何時休問,離別中年堪恨,憔悴鬢成霜。
絲竹陶寫耳,急羽且飛觴。

  ——辛棄疾

bamboo

A Discord bot for streaming NetEase Cloud Music

discord.js badge Support server badge Sponsor page badge

Github action badge Uptime badge Code quality badge License badge

Overview

Bamboo is a Discord bot that allows you to stream music from NetEase Cloud Music to Discord voice channels. It is written in JavaScript with discord.js.

中文文档

Installation

Invite to Server

The official instance of Bamboo is hosted on a server that operates 24/7 with auto-restart capabilities. To introduce it to your server, click on the invite link above. However, due to potential high traffic, the server may experience slowdowns which may affect your experience. For a more personalized and reliable experience, it is recommended to host your own instance of Bamboo.

Bamboo is still in its early stages of development. If you encounter any bugs or have any suggestions, please feel free to join the support server and let us know!

Join the Official Discord Server

Development

Note As of August 2023, the static binary of ffmpeg on Linux-based systems would incorrectly trigger the AudioPlayerStatus event in discord.js, causing Bamboo to stop playing music. To fix this, it is required for Linux users to bypass the static binary by manually installing ffmpeg via apt:

$ sudo apt update && sudo apt install ffmpeg

For other systems, it is also recommended to install ffmpeg for better performance, and it can be done simply via pnpm:

$ pnpm install ffmpeg-static

More information can be found in this thread.

  • Install Node.js >= v16 and pnpm.
  • For Docker: docker compose up
  • For Node: pnpm install && pnpm start

Demo

Play songs from an album:

album_demo

Play songs from a user playlist

playlist_demo

Play a song by its name:

play_demo

Display lyrics:

lyric_demo

Contributors

Contributor badge

About

(竹): A Discord bot for streaming NetEase Cloud Music | 一个播放网易云音乐的Discord机器人

Topics

Resources

License

Stars

Watchers

Forks