https://github.com/usc-cisco/cupid-bot
Anonymous confession Discord bot via DMs. Built with Sapphire & TypeScript.
https://github.com/usc-cisco/cupid-bot
bun sapphirejs typescript
Last synced: 2 months ago
JSON representation
Anonymous confession Discord bot via DMs. Built with Sapphire & TypeScript.
- Host: GitHub
- URL: https://github.com/usc-cisco/cupid-bot
- Owner: usc-cisco
- License: mit
- Created: 2025-01-26T14:18:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-26T15:19:05.000Z (over 1 year ago)
- Last Synced: 2025-01-26T15:29:51.457Z (over 1 year ago)
- Topics: bun, sapphirejs, typescript
- Language: TypeScript
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# cupid-bot
A simple confession bot that sends a direct message to a user in the Discord Server the bot is in.
Everybody deserves a little love.
Proudly built with Sapphire + Bun + TypeScript
See Demo 🎀

## Usage
```bash
bun install
bun run start # the bot will now listen to commands once invited to join your server
```
Then, to invite the bot, you need to go to the [Discord Developer Portal](https://discord.com/developers/applications) > OAuth2 and tick `bot` and `Administrator` then visit the `Generated URL`.
### Environment Variables
```bash
cp .env.example .env
nano .env # then paste your variables there
```
1. `DISCORD_BOT_TOKEN`: obtained from the [Discord Developer Portal](https://discord.com/developers/applications) > Bot > Token > Reset Token.
- ensure the bot has the following `Bot > Privileged Gateway Intents`
- `Presence Intent`
- `Server Members Intent`
- `Message Content Intent`
2. `TENOR_API_KEY`: follow the guide to get a [Tenor API Key from the Google Cloud Console](https://developers.google.com/tenor/guides/quickstart#setup)
3. `DEVELOPER_USER_ID`: the Discord User ID that is exempted from rate-limiting
## License
MIT License