Closes #7 Added a simple validation package we can expand on. For now we can use it to validate links that get sent to the bot and make sure that: 1. It's an actual url 2. It's a url for a service we support Also added a make file to run tests and other tasks we might need in the future. Added a github action to run tests. Reviewed-on: #19 Co-authored-by: Javier Feliz <me@javierfeliz.com> Co-committed-by: Javier Feliz <me@javierfeliz.com>
21 lines
316 B
Markdown
21 lines
316 B
Markdown
# Papi Bot
|
|
|
|
Currently in development.
|
|
|
|
## System requirements
|
|
- `ffmpeg` make sure libopus is included
|
|
- `yt-dlp`
|
|
|
|
## Running locally
|
|
|
|
Copy .env.example to .env
|
|
|
|
Populate the discord bot keys
|
|
|
|
`go run .`
|
|
|
|
type `!` in any channel in the discord while you're in a voice channel.
|
|
|
|
## Running tests locally
|
|
|
|
`make test` |