@OffsetMonkey538 on MonkeyLogs538
I was annoyed that people still upload plain log files in the support discord for my Minecraft mods, when I clearly say that using mclogs, a pastebin for minecraft logs with syntax highlighting and whatnot, makes debugging much easier. So I made a Discord bot to fix that! It detects logs sent as attachments by their name and uploads them to mclogs. It can also be added as a user application, which will allow using the `/upload-logs` command anywhere.
This is my first full project written in Kotlin (previously I've only used it for Gradle buildscripts), so there were some initial challenges with Kotlin syntax for things like lambdas and also how instead of static functions you have companion objects, but Kotlin's documentation is pretty good. What documentation wasn't so good though was Kord, the library I used for interacting with the Discord API. It required quite a bit of guesswork to figure out how it works and should be used, the Discord API docs made it a bit easier though at least.
I've set up a discord server with an instance of the bot running, which can be used to test it out. There are also self-hosting instructions on the readme.
- 5 devlogs
- 21h