Skip to content

Anonymous confession Discord bot via DMs. Built with Sapphire & TypeScript.

License

Notifications You must be signed in to change notification settings

usc-cisco/cupid-bot

Repository files navigation

cupid-bot

USC CISCO Scientia

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 🎀 USC CISCO Scientia

Usage

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 > OAuth2 and tick bot and Administrator then visit the Generated URL.

Environment Variables

cp .env.example .env
nano .env # then paste your variables there
  1. DISCORD_BOT_TOKEN: obtained from the Discord Developer Portal > Bot > Token > Reset Token.
  • ensure the bot has the following Bot > Privileged Gateway Intents
    • Presence Intent
    • Server Members Intent
    • Message Content Intent
  1. TENOR_API_KEY: follow the guide to get a Tenor API Key from the Google Cloud Console

  2. DEVELOPER_USER_ID: the Discord User ID that is exempted from rate-limiting

License

MIT License

About

Anonymous confession Discord bot via DMs. Built with Sapphire & TypeScript.

Topics

Resources

License

Stars

Watchers

Forks