Inspiration

I wanted to learn JavaScript and I used Discord every day. Seeing that I could make a Discord bot with JavaScript (NodeJS) and learn in the process, I took the jump.

What it does

Logger bot version 3 uses webhooks and Discord's built-in audit logs to let administrators know when certain things happen. Example: send a message to a specified text channel when a user gets banned, or when someone deletes a message, etc.

How I built it

Each iteration of Logger has built upon previous challenges that each version has faced. Version two was created to address the problem of large amounts of data being processed at once (atleast one DB operation per second) compared to version one, which was very simple. The latest iteration, version three, was built to take use of process-based sharding and improve database operations (now at 5 operations per second).

Challenges I ran into

Finding technologies that are built for low memory usage and effectively implementing them without compromising the few resources I have.

Accomplishments that I'm proud of

The patreon.com following that the bot has pulls in enough to fully pay for the infrastructure and APIs used.

What I learned

How to build an application that's highly concurrent, smart with database operations, utilizes multiple REST APIs, and makes it's users happy.

Built With

Share this project:

Updates