A easy/configurable/lots of features for your need!
This bot is designed to be stateless music bot (no database, no cache, no persistent data) so no needs for a database!
Important
This project is now unmaintained with too many bugs, and I am kinda not interested in it anymore. The actual bot will also be shut down, thanks for using it.
- Python 3.10 or higher
- poetry (
pip install poetry) - A lavalink server (either locally host it or find one here or if you are lazy go ahead use
lavalink.api.timelessnesses.mewith port of 80 and passwordyoushallnotpassand it's not ssl)
-
Find your lavalink server here.
-
You can either make your own .env file and fill out these
MUSIC_TOKEN=bot token
MUSIC_SPOTIFY_CLIENT_ID=spotify client id
MUSIC_SPOTIFY_CLIENT_SECRET=spotify client secret
MUSIC_LAVALINK_HOST=lavalink host (ip or domain)
MUSIC_LAVALINK_PORT=lavalink port
MUSIC_LAVALINK_PASSWORD=lavalink password
MUSIC_LAVALINK_HTTPS=lavalink https (true or false)
MUSIC_PREFIX=prefix2.1 You can edit config/config.py to your own choice too
from dotenv import load_dotenv
load_dotenv()
import os
token = "Bot token"
prefix = "bot prefix"
spotify_client_id = "spotify client id"
spotify_client_secret = "spotify client secret"
lavalink_host = "lavalink host (ip or domain)"
lavalink_port = "lavalink port integer only"
lavalink_password = "lavalink password"
lavalink_is_https = True or False based on if you use https or not-
Do
make install -
Do
make run
- Configure stuffs inside
config/config.py - Build image with
make build_image - Run with
docker run lavalinking_dev:latest(Add-dflag for detaching from the console and run it in background)
- Create
.envfile and configure stuff as same as one in Step 2 Procedure - Run
docker run --env-file=.env ghcr.io/timelessnesses/lavalinking:latest(Add-dflag for detaching from the console and run it in background)
- Clone the repository
- Create
.envfile and configure stuff as same as one in Step 2 Procedure - Run
docker compose up(Add-dflag for detaching from the console and run it in background)
- Using lavalink
- Spotify supports
- Youtube supports
- Soundcloud supports
- Music queue
- Music loop
- Skipping
- Volume control (up to 1000)
- Music search
- Live time update (Every 5 Seconds)
- Skip votes
- Filters
- Loop queues
- Playing from file attachment and direct audio/video URL
- Assuring command argument have the appropiate type
- Slash command/Prefix command
- Please use this lavalink jar file for better results or find node that use this
Lavalinkable is now in stable status. Will work on issues that were posted