GradBot is a Discord bot for managing a graduation project team. The first working slice supports idea collection, idea listing, voting, archiving, and audit logging to Google Sheets.
-
Install dependencies:
npm install
-
Copy
.env.exampleto.envand fill in the values:DISCORD_TOKEN= DISCORD_CLIENT_ID= DISCORD_GUILD_ID= GOOGLE_SERVICE_ACCOUNT_EMAIL= GOOGLE_PRIVATE_KEY= GOOGLE_SHEET_ID= LEAD_ROLE_ID= ADMIN_ROLE_ID=
-
In Google Sheets, create tabs named
Ideas,Votes, andLogs. GradBot writes the header row automatically when a tab is empty. -
Start the bot:
npm start
/idea add title description difficulty tech_stack/idea list status/idea view id/idea vote id vote/idea archive id
npm run typecheck
npm run build
npm test