Dicebot ignores commands it does not understand
Bot attempts to execute command if it finds a ! in the message
Bot will print out "executed X" commands for lines that don't have commands
Bot attempts to execute command if it finds a ! in the message
Bot will print out "executed X" commands for lines that don't have commands
projectmoon
deleted branch room-state-management from projectmoon/tenebrous-dicebot
2020-11-10 20:59:57 +00:00
Room State Management
0e04e67f6e
Log debug instead of trace for timestamp index inserts.
551f21a49a
Fix minor typo in rooms db code.
9ed2a81dd3
Record all users in room when joining.
0939feee84
Placeholder to record all user info when joining room
9349dd5f00
Add event processing check to received messages.
Room State Management
Keep track of what rooms the bot is in, and what users are in them
These will be implemented by #44:
- Prevent duplicate event processing due to the way Matrix SDK retrieves events when joining a room.
- When a user joins a room, and record the user in the rooms…
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-10 20:37:22 +00:00
0e04e67f6e
Log debug instead of trace for timestamp index inserts.
af197dd58f
Log debug instead of trace for timestamp index inserts.
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-10 20:35:31 +00:00
af197dd58f
Log debug instead of trace for timestamp index inserts.
551f21a49a
Fix minor typo in rooms db code.
Room State Management
Deferring the atomicity changes and recording of room info to future pull requests.
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-10 20:18:08 +00:00
9ed2a81dd3
Record all users in room when joining.
Room State Management
Perhaps move this and TxableTree
into a common part of the database code. Maybe also convert it to a trait. The atomicity issues with Tree
instances also should be addressed. Use fetch_and_update
when it's a regular Tree, and the existing code if it's a TransactionalTree
(since the atomicity is controlled by the transaction).
Room State Management
As of this writing, there are two missing pieces of functionality before merging:
- Adding all users in the room to the database upon joining a room.
- Recording room-level information (ID,…
Room State Management