https://github.com/math280h/cupid
https://github.com/math280h/cupid
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/math280h/cupid
- Owner: math280h
- License: mit
- Created: 2025-01-12T13:23:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-15T01:19:53.000Z (over 1 year ago)
- Last Synced: 2025-04-03T17:50:30.403Z (about 1 year ago)
- Language: Go
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Cupid
Cupid is a Discord bot that allows users to send flowers and anonymous messages to other users.
Cupid also maintains a leaderboard of the most popular users on the server.
## Getting Started
Create a new bot on the [Discord Developer Portal](https://discord.com/developers/applications) and invite it to your server.
### Running the docker container
**NOTE:** In the .env file, it's important none of the values is sourrounded by quotes.
If you are using qoutes docker will escape the values as \"value\" and the bot will not work.
(*We will make a fix for this in the future*)
```bash
docker compose up
```
## Configuration
Cupid can be configured either through parameters passed to the bot or through environment variables.
You can find all env variables in the [.env.example](.env.example) file.
You can find all command line arguments [flags.go](internal/shared/flags.go)
## Development
### Prisma
```bash
go run github.com/steebchen/prisma-client-go db push
```