jeff
0eb181a7a9
Clean up dependencies and upgrade to 0.3.0 after matrix SDK port.
2020-08-27 00:05:19 +00:00
jeff
6572e1d04e
Port dice bot to use matrix-rust-sdk.
...
This gives us many things for free, like automated state management,
no need to declare special API structs and use HTTP requests directly,
and most importantly: ENCRYPTION!
2020-08-26 23:53:30 +00:00
jeff
a62727070a
Update Cargo files for fork.
2020-08-23 21:24:04 +00:00
projectmoon
2c08eb41ad
Implement Chronicles of Darkness dice system, improve error handling.
...
Adds the Chronicles of Darkness 2E dice system to the bot, and also
somewhat improves the error handling when weird commands are received.
2020-08-23 21:24:04 +00:00
Taylor C. Richberger
6cb88a566c
get everything working and slightly documented
2020-04-21 22:30:00 -06:00
Taylor C. Richberger
8e50218c03
cargo fix
2020-04-21 22:20:05 -06:00
Taylor C. Richberger
6d180734d5
make actually work with messages
2020-04-21 22:19:15 -06:00
Taylor C. Richberger
81b8b2c0cc
simplify the code, and invert Result and Option
2020-04-21 00:22:31 -06:00
Taylor C. Richberger
4e72498181
format
2020-04-21 00:15:18 -06:00
Taylor C. Richberger
1a34a390d4
cargo fix again
2020-04-21 00:11:52 -06:00
Taylor C. Richberger
319e016bc3
remove unneeded
2020-04-21 00:11:25 -06:00
Taylor C. Richberger
e7458c12ad
cargo fix and fmt
2020-04-21 00:09:43 -06:00
Taylor C. Richberger
198f0bd43f
remove unnecessary annotation
2020-04-21 00:08:29 -06:00
Taylor C. Richberger
649aec531e
implement command parser fully
2020-04-21 00:07:03 -06:00
Taylor C. Richberger
90ae9c142c
lay command groundwork. Maybe need to make parsing more ergonomic.
2020-04-20 21:15:13 -06:00
Taylor C. Richberger
d0f3ec7ad2
handle matrix message handling
2020-04-20 15:09:38 -06:00
Taylor C. Richberger
087e20c261
get roller working correctly
2020-04-20 13:44:18 -06:00
Taylor C. Richberger
a9e1ccbf2e
restructure into dice module
2020-04-20 11:19:50 -06:00
Taylor C. Richberger
9121497d17
fmt
2020-04-20 10:02:26 -06:00
Taylor C. Richberger
1ce4b54417
Make sure all parsers are complete
2020-04-20 09:19:24 -06:00
Taylor C. Richberger
56de3d34f1
write out nom-based parser
2020-04-20 00:32:57 -06:00
Taylor C. Richberger
59cb407eae
Add dicebot-roll dice expression parser
2020-04-19 16:07:33 -06:00
Taylor C. Richberger
b4ccae581a
improve documentation
2020-04-18 17:12:25 -06:00
Taylor C. Richberger
7cc29ddf8f
get things cleaned up a little bit more
2020-04-18 17:09:55 -06:00
Taylor C. Richberger
f129f45864
add TODO
2020-04-17 16:54:07 -06:00
Taylor C. Richberger
b30eec72b3
modularize things
2020-04-17 16:53:27 -06:00
Taylor C. Richberger
61ec4e5fa7
cargo fmt
2020-04-16 23:25:13 -06:00
Taylor C. Richberger
1196bebb92
get initial stuff working
2020-04-16 23:20:54 -06:00