I started building this website because I wanted to learn about websites, both front-end and back-end. I currently work as a "full stack" game developer, working with C++ and Lua.
Since I've never worked with web, I don't know much about it, but I have always been curious about how stuff like Node.js and React work, so I've decided to try building anything and chose Node.js as back-end, as well as plan on using React for front-end stuff.
There's no specific purpose I want to achieve here. I just bought this domain because it was free and I'd prefer working with a name instead of a random IP in my private projects. Since I'd already paid for the domain, why not build a website? And here we go.
A few years ago, I needed some help for a quiz minigame in a MMORPG that I play. The quiz is quite simple, they show a phrase and you have to say if it is either true or false. I didn't want to memorize all the answers, so I decided to get some help.
Since cheating is not cool, I just wanted something to give me the answers: I'd say the question and something would tell me wether it's true. Discord has become a pretty common app and I always have it open in my second monitor, so it's quite handy. I could simply send a message and that's done, so I decided "why not?".
After some time, the company I work in wanted a Discord bot to automatically add reactions to messages in a specific channel, so I started developing more features.
As explained before, you can add a list of emojis with which the bot will automatically react with to any message sent in a specific channel.
You can use default or custom emojis, as long as they're from the Discord server at which the bot has joined. Reactions can be customized per channel.
I don't know if this is really useful, but it's possible to add an introduction message, which will be sent privately to the user when he sends his "first" message at the specified channel.
I'm not sure if Discord has already provided basic features better than this, but I did it anyway. Maybe it's useful.
I added the possibility to give other users moderator access, this way I wouldn't have to update the quiz answers myself, I could find someone I trust and delegate this work to them.
By default, I added a "owner" configuration to the bot, so he always answers to my commands, even if I don't have admin access in the Discord server.
This is not meant as a backdoor for me as I made it customizable, so if you wanted to setup your own version of Lontrinha Bot, you could set yourself as the owner. It's just that, since the project's private and the bot's only present in my friends' server, it's easier if he always answers to me.
As I said earlier, I added some features for the company to use, but the bot version that the company would use should not have the quiz feature, as it's intended for my personal use.
I didn't want to start a new bot with many of the same features since it would simply mean duplicating code, so I finally created a settings file and made it so everything was easily customizable through a settings json: bot token, command prefix, database, bot owner id, active features.
Who knows? It depends on what seems interesting to me.