Commit Graph

7 Commits

Author SHA1 Message Date
Andrzej Stepien d98819445f refactor database functions so that:
- db prop is passed down from top layer (to make testing easier, and for memory efficiency)
- functions are organised into separate, themed files - for readability
- tests now pass down a test database, and update it accordingly
2023-08-17 00:26:54 +02:00
Andrzej Stepien fa3c37627b remove try/catches from inner layer 2023-08-16 12:41:38 +02:00
Andrzej Stepien 53c1635e65 buffered prompts now have timestamp instead of iso 2023-08-15 22:33:01 +02:00
Andrzej Stepien 0a98f3a477 don't allow suggestions without CW 2023-08-15 22:22:56 +02:00
Andrzej Stepien b565408a31 successful suggestions now added to buffer 2023-08-15 02:23:50 +02:00
Andrzej Stepien bcd2351a65 slurs no longer caught by isRealWord check 2023-08-15 02:10:22 +02:00
Andrzej Stepien 972fa0c519 now processes mentions and sends replies 2023-08-15 01:40:05 +02:00