tenebrous-dicebot/src
projectmoon b3c4d8a38c
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
Centralize plain text formatting at point of message sending.
Instead of relying on all parts of the application to construct both
HTML and plain-text responses, we now construct only HTML responses,
and convert the HTML to plain text right before sending the message to
Matrix.

This is a first iteration, because the plain text has a few extra
newlines than it should, created by use of nested <p> tags.
2021-01-31 14:12:09 +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 Upgrade to Matrix SDK latest (Store Rewrite) and Tokio 1.0 2021-01-30 12:54:47 +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 Unit test for updating room info data. 2020-11-29 21:33:46 +00:00
basic.rs Move original dice rolling code into its own 'basic' module. 2020-11-04 20:46:25 +00:00
bot.rs Centralize plain text formatting at point of message sending. 2021-01-31 14:12:09 +00:00
cofd.rs Move CofD dice rolling into dice.rs file under cofd/ 2020-08-27 23:56:19 +00:00
commands.rs Centralize plain text formatting at point of message sending. 2021-01-31 14:12:09 +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 Keep seen events in database, don't process already-seen events. 2020-11-09 21:16:07 +00:00
dice.rs Upgrade to Matrix SDK latest (Store Rewrite) and Tokio 1.0 2021-01-30 12:54:47 +00:00
error.rs Upgrade to Matrix SDK latest (Store Rewrite) and Tokio 1.0 2021-01-30 12:54:47 +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 Move original dice rolling code into its own 'basic' module. 2020-11-04 20:46:25 +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