https://github.com/netfloex/tempo-ts
A simple Discord music bot that can play Soundcloud, Youtube or Spotify tracks.
https://github.com/netfloex/tempo-ts
Last synced: 7 days ago
JSON representation
A simple Discord music bot that can play Soundcloud, Youtube or Spotify tracks.
- Host: GitHub
- URL: https://github.com/netfloex/tempo-ts
- Owner: Netfloex
- License: mit
- Created: 2021-03-13T19:18:20.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-13T19:23:46.000Z (about 4 years ago)
- Last Synced: 2025-02-16T23:25:29.405Z (3 months ago)
- Language: TypeScript
- Homepage: https://tempo.g-vm.nl
- Size: 713 KB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tempo is a Discord music bot, written in TypeScript.
### Installation
The easiest way to install Tempo locally is via Docker:
```yml
version: '3'
services:
tempo:
image: xeeon/tempo
container_name: tempo
environment:
- YOUTUBE=YOUTUBE API TOKEN
- SOUNDCLOUD=SOUNDCLOUD CLIENT ID
- SPOTIFY_SECRET=SPOTIFY SECRET API TOKEN
- SPOTIFY_ID=SPOTIFY SECRET API ID
- GENIUS=GENIUS API KEY
- DISCORD=DISCORD BOT TOKEN
- OWNER=DISCORD OWNER ID
- DATABASE_URL=POSTGRES DATABASE URL
```
You can also install Tempo using the following commands:
```
git clone https://github.com/guusvanmeerveld/tempo/ tempo
cd tempo
npm install
npm run build
```### Tokens
To start the bot and connect to the Youtube or Soundcloud api, you will need a few tokens in the file `.env`. To do so, you can rename the file [`example.env`](example.env) to `.env` and fill in the necessary tokens/id's.
### Start
To start the bot, simply run the following command:
```
npm start
```### Configuration
For a more specific installation, please check the `config` folder and update the files to your needs.