Need return to be the end of any relevant check #244
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 project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Sirdog/EnduraBot#244
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
During a code review executed by Claude Opus 4.6, it advised me that the following codeblock does not stop code execution and it keeps running. This code currently exists in
cogs/channel_link.pyThis was not detected during edge-case testing as, on the front-end, the error message successfully appears with no other messages. This is because, while code execution does not stop, Discord interprets the
await interaction.response.send_message("One of the IDs...")as the only response and so doesn't send others.I've confirmed this by running the command with bogus IDs and then checking to see if a faulty entry exists via
/cl-list. A faulty entry did infact exist.Need to add
returnto the end of the the check. I do need to audit the entire codebase, however, to includereturnanywhere it isnt.Addressed by #263. Documentation does not need to be updated. Closing.