/musicord

A simple music-bot written in Lua with the discordia library.

Primary LanguageLuaThe UnlicenseUnlicense

musicord

A simple music-bot to stream from YouTube written in Lua with the Discordia and the youtube-dl library

Installation

First, follow the instructions here to install Discordia and here to aquire the audio libraries Discordia-Voice needs, here you can download youtube-dl for your platform, run lit install creationix/coro-split in your bash/commandline and finally download main.lua in the folder where you installed everything else. To start the bot, just execute luvit main.lua TOKEN, where TOKEN is your bot's token that you get after creating a discord application online.

Available commands:

  • audio.play URL for playing single videos
  • audio.playlist URL for playing YouTube-playlists
  • audio.pause to pause the current stream
  • audio.resume to resume the paused stream
  • audio.skip to skip the playing video and go on with the next item on the YouTube playlist

To-Do:

A queue for audio.play