Automation Tools/ Client work

PlayStorm Core Discord Bot

This bot is the backbone of the PlayStorm Discord server. It automates tedious administrative tasks, allowing the club leads to focus on organizing events. It features a custom permission system that rivals enterprise software.

Project typeClient delivery
StatusCompleted project
FocusAutomation Tools

Technology

TypeScriptDiscord.jsPrismaPostgreSQLDocker

System approach

  • Language: TypeScript for type-safety and better maintenance.
  • ORM: Prisma for interacting with a PostgreSQL database.
  • Infrastructure: Containerized using Docker for easy deployment.

Challenges

  • Handling high volumes of concurrent Discord events.
  • Managing complex state across persistent voice channels.
  • Ensuring the bot stays online 24/7 during major tournaments.

Solutions

  • Implemented an event handler with rate-limiting to stay within Discord API bounds.
  • Used a centralized database to track state instead of in-memory storage.
  • Deployed with Docker and automated health checks to ensure near 100% uptime.

Key outcomes

01

Automated role assignment

02

Database-backed persistence

03

Containerized deployment