Skip to content

xBaank/Tobi

Repository files navigation


Markdownify

Tobi is a discord music bot that uses low memory and cpu usage.

Markdownify GitHub Workflow Status (branch)

Comands

  • help
  • loop
  • pause
  • play
  • resume
  • seek
  • skip
  • stop
  • join
  • time

Screenshots

image image image image image image image

Key Features

  • Low memory usage
  • Low cpu usage
  • Fully async
  • Low loading time

Sources

Sources State
Youtube DONE
Spotify TODO
SoundCloud TODO

Enviroment variables

Variables Required
Token
Prefix
Sapisid
Psid
PacketQueueSize

Important

Sapisid and Psid are youtube cookies required to make authenticated requests to www.youtube.com. If you don't provide them you will not be able to play restricted videos.

How to get Sapisid and Psid to access restricted videos

  1. Go to https://www.youtube.com
  2. Login with an account
  3. Open the developer tools (F12)
  4. Go to the Storage tab
  5. Go to Cookies and copy the SAPISID and __Secure-3PSID values

Requirements

To use this application you need to have installed .NET 8 Runtime

Docker

There is a docker image to self host.

To run it use

docker run -d -e Token=PutHereYourToken -e Sapisid=Value -e Psid=Value -e Prefix=! xbank/tobi-bot:latest

Credits