Commit graph justusbot/internal
Author SHA1 Message Date
ccb838714a
Database type now accepts a context for its first argument when created
with NewDatabase.
2026-10-20 15:16:21 -06:00
5ed34450d6
Pass context where appropriate. 2026-10-20 15:15:50 -06:00
b5593475c6
Command update.
For some reason, the admin scope commands are not showing up to
administrators.
2026-10-19 23:15:12 -06:00
2c2d6af7eb
More spacing-related weirdness. 2026-10-16 00:16:02 -06:00
5a52bf6de6
Verse log table already sets posted to a default value. 2026-10-16 00:15:39 -06:00
9200170059
Added App(). 2026-10-16 00:15:19 -06:00
a3671d03da
App-related cruft WIP. 2026-10-16 00:15:03 -06:00
7ccf2b2073
Add bot command settings. 2026-10-16 00:14:24 -06:00
03886013cb
Moving bot code into app. 2026-10-16 00:14:05 -06:00
8ab6dc63cd
Most verse-related features have been implemented. 2026-10-15 15:12:22 -06:00
de7b2091a9
Implement rotation/random features, including simulation. 2026-10-15 15:12:02 -06:00
f8f64be3b5
Temp assignment to bypass syntax warnings. 2026-10-15 08:25:54 -06:00
bd1467ed21
Placeholder. 2026-10-14 23:57:56 -06:00
06557c021e
Report chats that already exist; do not panic. 2026-10-14 23:57:40 -06:00
d2659f9afc
Handle AddChat errors from SQLite. 2026-10-14 23:57:16 -06:00
f3bb7b7494
Normalize "no rows" SQL error. 2026-10-14 23:56:48 -06:00
043dedf2db
Further irregularity testing for inline (SkipLineBreaks) formatting. 2026-10-14 19:33:08 -06:00
811df2d520
Further insanity.
Due to the irregularities in how USF-JSON data structures are and the
subsequent annoyances with attempting to render it from a
paragraph-centric format to an inline format (e.g. quoting singular
verses), I'm seriously tempted to contrive my own.
2026-10-14 19:31:58 -06:00
cafedf6d03
Verses now track their translation. 2026-10-14 18:56:02 -06:00
0b829bd30d
Handle translation specification. 2026-10-14 18:55:46 -06:00
b74e6e51ae
Tests cleanup (partial).
Additional formatting tests have been added, especially for cases where
SkipLineBreaks is enabled (for inline quotes).
2026-10-14 18:54:44 -06:00
96512d8de1
More insane post-processing... 2026-10-14 18:54:18 -06:00
195d58165a
Allow using different translations. 2026-10-14 15:37:21 -06:00
de6ea75756
Added embedder support (currently broken upstream). 2026-10-14 15:36:58 -06:00
76f65aac90
Needs refactoring. 2026-10-14 15:36:41 -06:00
3ef97b6c2d
Added embedder assets (currently broken upstream). 2026-10-14 15:36:05 -06:00
d2a01453a7
KJV translation contains paragraph markers. Nuke them. 2026-10-14 15:35:33 -06:00
33ed9d9566
Added aliases for Judges. 2026-10-14 15:29:50 -06:00
6a02e2f4fe
Add chat management.
Presently this only allows adding a chat to the bot.
2026-10-14 14:26:18 -06:00
48cbce1b9e
Added verse list command. 2026-10-14 14:08:49 -06:00
ea847aadb3
Handle previously added verses and fix ref bug. 2026-10-14 13:08:14 -06:00
eb73a8ead8
Handle SQLite3 ErrConstraintUnique errors sensibly. 2026-10-14 13:07:43 -06:00
bcf996a1d6
Added FromRef to accept BibleRef structs.
Eventually, FromRef and Reference will be renamed.
2026-10-13 15:46:42 -06:00
b6a9cdd35b
"bot verse add" now prompts for the requested verse before adding. 2026-10-13 15:44:10 -06:00
9c1c183ce1
Added Genesis 1:1-2 to parsing tests. 2026-10-13 15:16:47 -06:00
0d404e3a27
Formatting may be fixed.
It's possible an extra linebreak might be missing.
2026-10-13 15:16:17 -06:00
98915a2a1f
Remove fmt.Print*. 2026-10-13 15:03:35 -06:00
1976078492
Tests now cover Jude 5, 6, and Obadiah 5. 2026-10-13 15:03:15 -06:00
d970aeba19
Fix formatting. 2026-10-13 15:01:28 -06:00
e6e4974ad0
Fix chapter test.
This test content may be moved to a different function.
2026-10-13 13:17:44 -06:00
c0c199320c
Fix parser handling of inline "noteId" objects. 2026-10-13 13:17:07 -06:00
ade2138342
Messy tests.
These are not actually unit tests but rather dummy output to see what
the heck is going on with the parser.

I really dislike USF-JSON.
2026-10-13 09:29:39 -06:00
bf772a9d2f
Partial refactor, discovered bug. 2026-10-13 09:29:22 -06:00
6ce1662497
Added convenience function. 2026-10-13 09:18:59 -06:00
0e6f640554
CreateDatabase -> OpenDatabase refactor. 2026-10-12 20:48:09 -06:00
bc243d4ef2
Rename CreateDatabase to OpenDatabase. 2026-10-12 20:47:53 -06:00
04905d4a1e
Begin work on loader. 2026-10-12 15:37:46 -06:00
21c5b70b6f
Cleanup. 2026-10-09 23:37:01 -06:00
2e8c25a115
Cleanup. 2026-10-09 23:36:13 -06:00
7fc76d5416
Added Bible passage reference parser. 2026-10-09 21:39:18 -06:00