Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/misa198/misa-bot-discord
Play Music in Discord.
https://github.com/misa198/misa-bot-discord
chatbot discord-bot discord-js nodejs soundcloud typescript
Last synced: 3 months ago
JSON representation
Play Music in Discord.
- Host: GitHub
- URL: https://github.com/misa198/misa-bot-discord
- Owner: misa198
- License: mit
- Created: 2021-05-15T14:37:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-04T14:28:36.000Z (almost 3 years ago)
- Last Synced: 2024-10-11T00:57:46.631Z (4 months ago)
- Topics: chatbot, discord-bot, discord-js, nodejs, soundcloud, typescript
- Language: TypeScript
- Homepage:
- Size: 1.25 MB
- Stars: 7
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Misabot
Play Music in Discord
## Overview
Misabot is a Discord bot that plays music in voice channel. The bot is built on Discord.js v13.
For Discord.js v12, see [here](https://github.com/Misabot/misabot-discord/tree/v1)## Requirements
- Node.js v16.6.0 or higher
## Using
- Setup permissions
- Scopes: `bot`, `application.commands`
- Bot permissions: `Send Messages`, `Embed Links`, `Use Slash Commands`, `Connect`, `Speak`
- ```bash
git clone https://github.com/Misabot/misabot-discord.git && \
cd misabot-discord
```
- Create .env file in root directory includes your Discord bot token. `TOKEN = `- ```bash
yarn && \
yarn build && \
yarn start
```- Invite the bot to the server, then join a voice channel. Send `!deploy` to deploy the slash command for bot in the server
## Deploy to Heroku
The bot can run continuously on Heroku without sleep. You need to setup 2 `Config Vars` in your Heroku app.
- `TOKEN = `
- `APP_URL = `## Docs
| ID | Name | Description | Usage |
| --- | ---------- | ----------------------------------------------------------------- | ------------------------ |
| 1 | play | Plays a song or playlist on Youtube with the given name or url | /play {link/query} |
| 2 | soundcloud | Plays a song or playlist on SoundCloud with the given name or url | /soundcloud {link/query} |
| 3 | pause | Pause current song | /pause |
| 4 | resume | Resume current song | /resume |
| 5 | skip | Skip current song | /skip |
| 6 | nowplaying | Get current song info | /nowplaying |
| 7 | shuffle | Shuffle the queue | /shuffle |
| 8 | queue | View songs in queue | /queue |
| 9 | jump | Jump to song in queue by position | /jump {position} |
| 10 | remove | Remove song in queue by position | /remove {position} |
| 11 | ping | See the ping to server | /ping |
| 12 | leave | Stop and leave audio channel | /leave |
| 13 | help | See the help for this bot | /help |## License
[MIT](https://choosealicense.com/licenses/mit/)