https://github.com/ryanfleck/musicbot
Modified Replit Discord.py Music Bot
https://github.com/ryanfleck/musicbot
Last synced: 5 months ago
JSON representation
Modified Replit Discord.py Music Bot
- Host: GitHub
- URL: https://github.com/ryanfleck/musicbot
- Owner: RyanFleck
- Created: 2021-09-19T16:06:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-25T17:35:14.000Z (over 2 years ago)
- Last Synced: 2025-04-06T17:36:11.002Z (about 1 year ago)
- Language: Python
- Size: 25.9 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Trance: A Discord Music Bot
Source adapted from this [gist](https://gist.github.com/vbe0201/ade9b80f2d3b64643d854938d40a0a2d), Copyright (c) 2019 Valentin B.
[Add to your server!](https://discord.com/api/oauth2/authorize?client_id=920007238062583848&permissions=377960320064&scope=bot)
Email me [here](https://ryanfleck.ca/about) if you want to use it on a large server.
Remember to adhere to a [code of ethics.](https://www.sqlite.org/codeofethics.html)
### Setup
Create a file named `.env`
Add `TOKEN=`
Your .env file should look something like this:
```
TOKEN=
```
To run locally use:
```
env $(cat .env) poetry run python main.py
```
### Adding to a server
First, use this link:
On your backend, run:
```sh
# Build and Run
env $(cat .env) docker-compose build
docker-compose up -d --force-recreate
# Enter Container
docker exec -it musicbot-2 /bin/bash
```