tenebrous-dicebot/src
projectmoon 938107feae Implement Actix for state, refactor bot code.
Instead of using an Arc Mutex for state management embedded directly
into the bot, utilize actor pattern, with the idea that this will be
much more useful than simply logging a message once in the future.

This also refactors the bot code so that instead of a single run_bot
function, the DiceBot struct now has a run() method attached to it.
This also necessitated changes and cleanup to the dicebot main, which
is for the better anyhow.

The error and config types are also now in their own files, and
implemented for more in-depth use cases.
2020-10-03 20:45:14 +00:00
..
bin Implement Actix for state, refactor bot code. 2020-10-03 20:45:14 +00:00
cofd Rote die roll now respects dice pool success_on property. 2020-09-26 14:04:12 +00:00
commands Add more tests for handling weird input. 2020-09-01 08:17:59 +00:00
dice cargo fix and fmt 2020-04-21 00:09:43 -06:00
bot.rs Implement Actix for state, refactor bot code. 2020-10-03 20:45:14 +00:00
cofd.rs Move CofD dice rolling into dice.rs file under cofd/ 2020-08-27 23:56:19 +00:00
commands.rs Fix command parser returning non-commands/empty messages as errors. 2020-08-31 23:33:46 +00:00
config.rs Implement Actix for state, refactor bot code. 2020-10-03 20:45:14 +00:00
dice.rs cargo fix and fmt 2020-04-21 00:09:43 -06:00
error.rs Implement Actix for state, refactor bot code. 2020-10-03 20:45:14 +00:00
help.rs Implement basic, not-well-formatted help. 2020-08-30 21:54:01 +00:00
lib.rs Implement Actix for state, refactor bot code. 2020-10-03 20:45:14 +00:00
parser.rs Remove useless trim function and unnecessary uses of eat_whitespace. 2020-08-31 20:16:43 +00:00
roll.rs Implement Chronicles of Darkness dice system, improve error handling. 2020-08-23 21:24:04 +00:00
state.rs Implement Actix for state, refactor bot code. 2020-10-03 20:45:14 +00:00