Commit Graph

248 Commits

Author SHA1 Message Date
projectmoon 54a3cc0880 Add basic logging to the dice bot. 2020-08-28 00:13:04 +00:00
projectmoon f0a1fe53fc Move CofD dice rolling into dice.rs file under cofd/ 2020-08-27 23:56:19 +00:00
projectmoon 18a05ebd7c Add auto-join, adapted from matrix SDK examples. 2020-08-27 23:50:32 +00:00
jeff 12fdc2a1c9 Add tar files to gitignore 2020-08-27 19:49:21 +00:00
projectmoon e8ce058e5d Properly format dramatic failures. 2020-08-27 19:49:21 +00:00
projectmoon 33ac91063b Set cache dir to something more accessible. 2020-08-27 19:49:21 +00:00
jeff f3de145663 New Dockerfile to work with glibc. 2020-08-27 19:49:21 +00:00
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 0f41acd078 gitignore updates 2020-08-23 21:24:04 +00:00
jeff a62727070a Update Cargo files for fork. 2020-08-23 21:24:04 +00:00
jeff 2a90927760 Add Dockerfile for self-contained deployment. 2020-08-23 21:24:04 +00:00
jeff e4e2122d81 Update readme about the 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
jeff b2b15f9a85 Update dependencies for LibreSSL 3.1 2020-08-23 21:24:04 +00:00
Taylor C. Richberger 05d1f92ae1 update readme 2020-04-21 22:51:00 -06:00
Taylor C. Richberger 13e62e053d flesh out the readme 2020-04-21 22:50:07 -06:00
Taylor C. Richberger 19fc5a6bc9 update Cargo.lock 2020-04-21 22:36:34 -06:00
Taylor C. Richberger f5b046e93b remove license-file 2020-04-21 22:36:17 -06:00
Taylor C. Richberger b727d3b076 add metadata to Cargo.toml 2020-04-21 22:34:50 -06: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 18537f9ab0 vscode change 2020-04-19 19:43:41 -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 8be108a57c Merge branch 'master' of gitlab.com:Taywee/axfive-matrix-dicebot 2020-04-16 23:25:19 -06:00
Taylor C. Richberger 61ec4e5fa7 cargo fmt 2020-04-16 23:25:13 -06:00
Taylor C. Richberger 6389ae1c2b Add LICENSE 2020-04-17 05:24:39 +00:00
Taylor C. Richberger b4544e5373 Add README.md 2020-04-17 05:24:24 +00:00
Taylor C. Richberger 1196bebb92 get initial stuff working 2020-04-16 23:20:54 -06:00