Skip to content

Latest commit

 

History

History
137 lines (102 loc) · 3.81 KB

README.md

File metadata and controls

137 lines (102 loc) · 3.81 KB


kaseciak logo


Features

  • 🎵 Play songs from YouTube, Youtube Music, Spotify and more

  • 🔍 Search for a song or playlist via a query or link

  • 🎼 View playback in an embed and control it using buttons

  • 📻 Listen to music from polish radios like RMF FM or Eska

  • 🦾 Full support for slash commands

  • 📝 All commands (click to show)
    Categories:

    Music

    Name Options Description
    play query:optional Plays or adds a song/playlist to the queue
    playnext query Plays or adds a song/playlist as next to the queue
    queue Shows the queue
    clear Clears the queue
    skip amount:number:optional Skips current or multiple songs
    back Rewinds to the previous song
    pause Pauses the song
    resume Resumes the song
    seek seconds:number Rewinds the song to a specific moment
    shuffle Shuffles the queue
    stop Stops the bot and deletes the queue
    lyrics query:optional Searches for the lyrics of a song
    player Shows or hides the music controller
    use-yt-music choice:optional Choose wheter you want to use yt music to search for songs

    Radio

    Name Options Description
    radio station:string Starts adding songs from the radio or adds a radio station
    radio-stop Removes all radios from the queue

    Managment

    Name Options Description
    ping Checks whether the bot is running
    prefix new-prefix:string:optional Shows current prefix or sets it
    help command:string:optional Shows description of command or categories

    Developer

    This commands are only available for bot owners

    Name Options Description
    exit Exits the nodejs process
    reload-db Reloads the db

play command example

player command example

queue command example


Requirements

  1. Get bot token as shown here.
    1.1 Enable "Message Content Intent" in Discord Developer Portal
  2. Node.js 16 or newer

⚙️ Installation

  1. Clone the repo, install packages & build the bot
git clone https://github.com/loloToster/Kaseciak.git
cd Kaseciak
npm install
npm run build
  1. Create a file named .env and insert following content in it:
TOKEN="paste your token here"
  1. Run the bot
npm start

🐋 Running with docker

To run this bot using docker you'll have to set an env variable TOKEN to the token of your discord bot and mount a volume to /app/data. Here is a simple example:

docker run -e TOKEN=*your bot token here* -v ./data:/app/data --name kaseciak -d lolotoster/kaseciak

You can also use docker compose

version: '3'

services:
  bot:
    restart: always
    image: lolotoster/kaseciak
    environment:
      - TOKEN=*your bot token here*
    volumes:
      - kaseciakdata:/app/data

volumes:
  kaseciakdata:

🛠️ Additional settings

Every setting described here is an env variable and should be put inside of your .env file.

  • DEF_PREFIX: this variable defines the default prefix for non-slash commands. It can be overwritten by using the prefix command. By default it is set to >