tenebrous-dicebot/src
projectmoon 14f8bc8b39
continuous-integration/drone/push Build is passing Details
Reuse device ID generated by matrix SDK after first login.
Adds new db tree for simple global state values (which also lays
foundation for other stuff), and stores device ID in that tree after
first login. The ID is then reused on subsequent runs of the
application.

This is simpler than storing device ID in config file.

Fixes #9.
2021-02-07 14:21:28 +00:00
..
basic Move original dice rolling code into its own 'basic' module. 2020-11-04 20:46:25 +00:00
bin Centralize plain text formatting at point of message sending. 2021-01-31 14:12:09 +00:00
bot Upgrade to Matrix SDK latest (Store Rewrite) and Tokio 1.0 2021-01-30 12:54:47 +00:00
cofd Properly format dice plurality in CofD dice pools. 2021-01-31 14:57:18 +00:00
commands Centralize plain text formatting at point of message sending. 2021-01-31 14:12:09 +00:00
cthulhu Upgrade to Matrix SDK latest (Store Rewrite) and Tokio 1.0 2021-01-30 12:54:47 +00:00
db Reuse device ID generated by matrix SDK after first login. 2021-02-07 14:21:28 +00:00
basic.rs Move original dice rolling code into its own 'basic' module. 2020-11-04 20:46:25 +00:00
bot.rs Reuse device ID generated by matrix SDK after first login. 2021-02-07 14:21:28 +00:00
cofd.rs Move CofD dice rolling into dice.rs file under cofd/ 2020-08-27 23:56:19 +00:00
commands.rs Allow up to 50 commands per message. 2021-02-02 21:45:59 +00:00
config.rs Better public API for user variables, avoid allocations in Context. 2020-11-03 20:31:29 +00:00
context.rs Upgrade to Matrix SDK latest (Store Rewrite) and Tokio 1.0 2021-01-30 12:54:47 +00:00
cthulhu.rs Implement parsing of Cthulhu dice, only basic for now. 2020-10-31 20:51:17 +00:00
db.rs Reuse device ID generated by matrix SDK after first login. 2021-02-07 14:21:28 +00:00
dice.rs Slight refactor of calculate_dice_amount. Lazy error handling. 2021-02-02 22:02:43 +00:00
error.rs Reuse device ID generated by matrix SDK after first login. 2021-02-07 14:21:28 +00:00
help.rs Update help for new dice pool syntax. 2020-10-16 22:20:46 +00:00
lib.rs Centralize record_room_information function. 2020-11-30 19:53:26 +00:00
logic.rs Upgrade to Matrix SDK latest (Store Rewrite) and Tokio 1.0 2021-01-30 12:54:47 +00:00
matrix.rs Centralize plain text formatting at point of message sending. 2021-01-31 14:12:09 +00:00
models.rs Unit tests for inserting and loading room info from db. 2020-11-29 21:29:13 +00:00
parser.rs Fix database error name. Improve dice number conversion error message. 2021-02-03 23:27:47 +00:00
state.rs Remove actix, move state to RwLock. Update dependencies. 2020-10-18 20:37:02 +00:00
variables.rs Centralize common parsing code. 2020-10-31 20:51:17 +00:00