Code Monkey home page Code Monkey logo

misa-bot-discord's Introduction

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

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
  • git clone https://github.com/Misabot/misabot-discord.git && \
    cd misabot-discord
  • Create .env file in root directory includes your Discord bot token. TOKEN = <token>

  • 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 = <bot token>
  • APP_URL = <your Heroku 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

misa-bot-discord's People

Contributors

misa198 avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.