Skip to content

relipocere/gotune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Tune - Discordgo music bot

Non-GO Dependencies

yt-dlp is a YouTube downloader.

ffmpeg for format conversion and audio extraction.

Features

  • Multi-server support
  • Song search
  • Pause, resume, skip, skip to, stop, queue, and seek
  • Auto-disconnect when done playing
  • Cleans-up and leaves if kicked or forcefully moved to another channel
  • Support for playlists
  • Cache which is cleaned after the container restart

Limits

  • YouTube is the only supported platform
  • Doesn't support streams
  • Downloads only first 10 songs of a playlist (can be manually changed in yt-dlp options)

Usage

Clone the repository:

https://github.com/relipocere/gotune.git

Rename example_config.yml to config.yml and fill it.

Running using Docker

Build Docker image:

sudo docker build -t gotune .

If you're running bot for the first time you need to register commands, so pass a --register-commands argument:

sudo docker run -d -l bot gotune --register-commands

Run the Docker image:

sudo docker run -d -l bot gotune

Running locally on Ubuntu-based Linux

Install dependencies manually or use:

make get-deps-ubuntu 

If you're running bot for the first time you need to register slash commands:

make run-register

Run the bot:

make run

Releases

No releases published

Packages

No packages published