Intro

📎TODO

  • Create discord bot
  • Alert when discord bot is down
  • Automate adding members to GitHub Org
  • Auto-join calls
  • Create a startup script

Updates

Automate adding members to GitHub Org

nano bot.py
  • Create a GitHub Bot Token with admin:org scope

  • Update .env

DISCORD_BOT_TOKEN=your_discord_token
GITHUB_TOKEN=your_github_token
GITHUB_ORG=your_org_name
SOFTWARE_THREAD_ID=123456789012345678  # ID of your forum thread

Update bot.py

  • Invites users to the GitHub org
  • Adds them to the OCR Training team if the org is “Training-Dummy”
  • Adds them to the Software team if the org is “oc-robotics”
  • Sends all invite / add-to-team messages to the specified log channel