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
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-09 21:17:34 +00:00
0939feee84
Placeholder to record all user info when joining room
9349dd5f00
Add event processing check to received messages.
74d0b88e80
Add should process check to room member event
fb24090952
Keep seen events in database, don't process already-seen events.
bf151a0a40
maintain list of events in db. must convert allh handlers to use it.
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-08 22:28:36 +00:00
bf151a0a40
maintain list of events in db. must convert allh handlers to use it.
a77d066daf
Do not process old membership events.
d7aaed9e00
Implement room clearing, log to info for member updates.
b5c78bcee5
Remove userandroom struct from rooms db
51ba3e3f42
Record user join/leaves in rooms. Move event emitter to its own file.
Add exponential backoff invite retry
5ce79a3c05
Ignore emacs temp files.
a5dde18899
Update to the latest matrix SDK, and fix the Cargo.toml entry.