Posts
Parser bugfix Since /roll can now accept any user input as a roll annotation, I am now facing the sanitization problem. At the moment, roll_bot uses Telegram Markdown syntax, but it turns out to be really tricky to handle properly. The main issues here are with message splitting. The maximum length of the message that can be sent is 4096 symbols. If the message is longer, the bot tries its best to...
Devlog №002
Apr 25, 2021
24 views
Support for roll annotations! 🎉 Try it: /r d20 to hit the dragon, 6d6 slashing damage And get beautiful: to hit the dragon: 1d20[17] = 17 slashing damage: 6d6[3,2,2,1,6,2] = 16 Boring technical stuff It took me a lot of time to implement and I'm not sure how well this will work under heavy load. This was enabled by recently implemented parser. The problem is that each comment symbol is analyzed...
Devlog №001
Apr 10, 2021
31 views