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
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
.
cp .env.example .env
nano .env # then paste your variables there
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
-
TENOR_API_KEY
: follow the guide to get a Tenor API Key from the Google Cloud Console -
DEVELOPER_USER_ID
: the Discord User ID that is exempted from rate-limiting
MIT License