/bibleq allow full channel search #6

Closed
opened 2025-10-09 18:31:37 -04:00 by sirdog3355 · 0 comments
sirdog3355 commented 2025-10-09 18:31:37 -04:00 (Migrated from github.com)

Right now, to make the load on the bot manageable, when running /bibleq only the latest 100 entries in #out-of-context are eligible for selection. Desired functionality is that every quote in the channel is eligible.

Per Fleff:

My limited research shows the sort of indexing i'd want isn't really feasible; however, what could be done is adding another limit to the search telling it to search 'around' a random date defined by the oldest and message (we can lock in on) and the current date.
You could do this and then just pick from like <20 messages instead of 100

Fleff also provided the following stack overflow link: https://stackoverflow.com/questions/67378292/discord-py-how-would-i-get-a-random-message-from-the-server

Right now, to make the load on the bot manageable, when running `/bibleq` only the latest 100 entries in #out-of-context are eligible for selection. Desired functionality is that every quote in the channel is eligible. Per Fleff: > My limited research shows the sort of indexing i'd want isn't really feasible; however, what could be done is adding another limit to the search telling it to search 'around' a random date defined by the oldest and message (we can lock in on) and the current date. > You could do this and then just pick from like <20 messages instead of 100 Fleff also provided the following stack overflow link: https://stackoverflow.com/questions/67378292/discord-py-how-would-i-get-a-random-message-from-the-server
Sign in to join this conversation.
No description provided.