Backup message for /quote does not exist #84

Closed
opened 2025-10-23 15:25:38 -04:00 by sirdog3355 · 0 comments
sirdog3355 commented 2025-10-23 15:25:38 -04:00 (Migrated from github.com)

Back when /rquote was refactored to be able to select any message in the channel, as a fallback, I hard coded EnduraBot to - in the event, for some reason, it does not select a message (maybe the date it picks is too far in the past and a quote doesn't exist for it, for example) - use a specific message in #out-of-context.

When testing out that message with /rquote-debug to find it, however, it appears to not exist.

Desired functionality is to either remove the fail-safe (as it appears unnecessary given the same code works on my dev server with a message history of like 10) or hardcode a new message that actually exists.

Back when `/rquote` was refactored to be able to select any message in the channel, as a fallback, I hard coded EnduraBot to - in the event, for some reason, it does not select a message (maybe the date it picks is too far in the past and a quote doesn't exist for it, for example) - use a specific message in `#out-of-context`. When testing out that message with `/rquote-debug` to find it, however, it appears to not exist. Desired functionality is to either remove the fail-safe (as it appears unnecessary given the same code works on my dev server with a message history of like 10) or hardcode a new message that actually exists.
Sign in to join this conversation.
No description provided.