Skip to content
/ longhorn Public
forked from xieve/musicord

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

License

Notifications You must be signed in to change notification settings

87x/longhorn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

longhorn, fork of musicord

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

Installation

First, follow the instructions here to install Discordia and here to aquire the audio libraries Discordia-Voice needs, here you can download yt-dlp 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.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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%