Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sandarutharuneth/alphamusic
Alpha is a Discord Music Bot built with discord.js & uses Command Handler from discordjs.guide
https://github.com/sandarutharuneth/alphamusic
discord-bot discord-js discord-music-bot node-js
Last synced: 27 days ago
JSON representation
Alpha is a Discord Music Bot built with discord.js & uses Command Handler from discordjs.guide
- Host: GitHub
- URL: https://github.com/sandarutharuneth/alphamusic
- Owner: sandarutharuneth
- License: mit
- Created: 2021-09-02T06:34:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-02T07:37:51.000Z (over 3 years ago)
- Last Synced: 2024-11-17T03:31:10.589Z (3 months ago)
- Topics: discord-bot, discord-js, discord-music-bot, node-js
- Language: JavaScript
- Homepage: https://alphamusic-xyz.glitch.me
- Size: 297 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
![logo](https://i.imgur.com/bHjtIwX.png)
# Alpha Music (Discord Music Bot)
> Alpha is a Discord Music Bot built with discord.js & uses Command Handler from [discordjs.guide](https://discordjs.guide)## Requirements
1. Discord Bot Token **[Guide](https://discordjs.guide/preparations/setting-up-a-bot-application.html#creating-your-bot)**
2. YouTube Data API v3 Key **[Guide](https://developers.google.com/youtube/v3/getting-started)**
2.1 **(Optional)** Soundcloud Client ID **[Guide](https://github.com/zackradisic/node-soundcloud-downloader#client-id)**
3. Node.js v14.0.0 or newer## Getting Started
If deploying to Heroku make sure to create config variables
```
git clone https://github.com/eritislami/evobot.git
cd evobot
npm install
```After installation finishes you can use `node index.js` to start the bot.
## Configuration
Copy or Rename `config.json.example` to `config.json` and fill out the values:
⚠️ **Note: Never commit or share your token or api keys publicly** ⚠️
```json
{
"TOKEN": "",
"YOUTUBE_API_KEY": "",
"SOUNDCLOUD_CLIENT_ID": "",
"MAX_PLAYLIST_SIZE": 10,
"PREFIX": "/",
"PRUNING": false,
"LOCALE": "en",
"DEFAULT_VOLUME": 100,
"STAY_TIME": 30
}
```Currently available locales are:
- English (en)
- Arabic (ar)
- Brazilian Portuguese (pt_br)
- Dutch (nl)
- French (fr)
- German (de)
- Italian (it)
- Korean (ko)
- Polish (pl)
- Russian (ru)
- Simplified Chinese (zh_cn)
- Singaporean Mandarin (zh_sg)
- Spanish (es)
- Swedish (sv)
- Traditional Chinese (zh_tw)
- Thai (th)
- Turkish (tr)
- Vietnamese (vi)
- Check [Contributing](#-contributing) if you wish to help add more languages!## Features & Commands
> Note: The default prefix is '/'
* 🎶 Play music from YouTube via url
`/play https://www.youtube.com/watch?v=GLvohMXgcBo`
* 🔎 Play music from YouTube via search query
`/play under the bridge red hot chili peppers`
* 🎶 Play music from Soundcloud via url
`/play https://soundcloud.com/blackhorsebrigade/pearl-jam-alive`
* 🔎 Search and select music to play
`/search Pearl Jam`
Reply with song number or numbers seperated by comma that you wish to play
Examples: `1` or `1,2,3`
* 📃 Play youtube playlists via url
`/playlist https://www.youtube.com/watch?v=YlUKcNNmywk&list=PL5RNCwK3GIO13SR_o57bGJCEmqFAwq82c`
* 🔎 Play youtube playlists via search query
`/playlist linkin park meteora`
* Now Playing (/np)
* Queue system (/queue, /q)
* Loop / Repeat (/loop)
* Shuffle (/shuffle)
* Volume control (/volume, /v)
* Lyrics (/lyrics, /ly)
* Pause (/pause)
* Resume (/resume, /r)
* Skip (/skip, /s)
* Skip to song # in queue (/skipto, /st)
* Move a song in the queue (/move, /mv)
* Remove song # from queue (/remove, /rm)
* Play an mp3 clip (/clip song.mp3) (put the file in sounds folder)
* List all clips (/clips)
* Show api ping (/ping)
* Show bot uptime (/uptime)
* Toggle pruning of bot messages (/pruning)
* Help (/help, /h)
* Command Handler from [discordjs.guide](https://discordjs.guide/)
* Media Controls via Reactions![reactions](https://i.imgur.com/LrYdr3d.png)
## 🤝 Contributing
1. [Fork the repository](https://github.com/doveoliviacameron/alphamusic/fork)
2. Clone your fork: `git clone https://github.com/your-username/alphamusic.git`
3. Create your feature branch: `git checkout -b my-new-feature`
4. Commit your changes: `git commit -am 'Add some feature'`
5. Push to the branch: `git push origin my-new-feature`
6. Submit a pull request## Copyright (c) ©2021 Alpha Developer Team.