Improve handling of listeners/channel_link.py in regards to missing txt channels. #304
No reviewers
Labels
No labels
bug
config update
documentation
duplicate
enhancement
in dev
input needed
new feature
not in draft
refactor
waiting on docs update
wont-do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Sirdog/EnduraBot!304
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "enhance/cl-listener-handle-missing-txt-channel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
My best guess, with consultation with Claude Opus 4.6, is that the error mentioned in #289 was pointing to
#{txt_channel.name}not existing. While it points to{after.channel.name}, that does not make rational since, as a guard clause nested further up would not cause that code to be reached if it didn't exist.This PR introduces handling so that EnduraBot will make an attempt to fetch the channel's information via the API if the cache does not have it. If that fails, EnduraBot will fail gracefully and provide information in the logs.
God speed, future me.
Closes #289