The Notion Bot Project for DVC's Google Developer Club.
- Create a Discord Bot in Discord's Developer Portal
- Create a Notion Integration in Notion's Developer Portal
- Turn on Discord Developer mode in Discord settings
- Connect your Notion Integration to your Dashboard (Otherwise you'll find yourself having "database_id not found" errors)
- Create a free MongoDB Atlas database with USER-REGISTRY and DEADLINE-HISTORY collections
- Create a
.env
file with 3 variables:
DISCORD_CLIENT_ID
DISCORD_TOKEN
NOTION_KEY
MONGODB_PASSWORD
npm install discord.js
npm install @notionhq/client
npm install mongodb
npm install dotenv