Skip to content
/ tobis Public

A modern Discord music bot implementation, written in TypeScript (WIP)

License

Notifications You must be signed in to change notification settings

flowzy/tobis

Repository files navigation

🎧 Tobis

Tobis is a Discord music bot implementation, written in TypeScript.
It uses Docker, Bun, discord.js, Lavalink, and Sentry.

The bot currently does not support sharding.

Important

This project is still in its early stages.

Features

Slash commands

Command Description
/play Play a song
/skip Skip the current song
/stop Stop the music
/ping Measure the latency
/uptime Report the uptime
/queue See queue
/pause Pause track
/resume Resume track
/clear Clear queue
/remove Remove track from queue

Getting started

Prerequisites

Set up environment variables

cp .env.example .env

Running commands

For easier management, the project comes with a Makefile.

Command Description
make dev Launches the bot in development mode. This will automatically restart the bot
make prod Launches the bot in production mode
make stop Stops the bot
make logs Shows the logs
make purge Stops the bot and removes all containers / images
make clear-cache Clears the file-system cache

Registering commands

All commands get automatically registered upon startup.

This happens only when there is no cache, or when the cache is outdated. This makes it easy to update the commands and not worry about spamming the Discord API.

To clear the file-system cache, run make clear-cache.

About

A modern Discord music bot implementation, written in TypeScript (WIP)

Topics

Resources

License

Stars

Watchers

Forks