You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here the on_message function returns more than just issues, it also returns pull requests. So the docstring and the variable names should be changed accordingly.
Possible Solutions
For the docstring it could be changed to:
"Automatic issue and pull request linking."
For the variable name:
repo_sequential_numbers
issues_prs
Would you like to implement a fix?
I'd like to implement the fix
The text was updated successfully, but these errors were encountered:
Note: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. ...
For user facing (e.g. help command text) I think it's worth listing both, but because this is internal I'm not sure it's worth changing, although maybe it would be more clear, I don't mind.
For user facing (e.g. help command text) I think it's worth listing both, but because this is internal I'm not sure it's worth changing, although maybe it would be more clear, I don't mind.
@wookie184 When I was trying to find the source of this command I overlooked this file because the docstring mentioned 'issues' in the on_messagefunction, I found the source of this through Chris when he redirected me. So it kinda causes confusion.
Description
on_message
function:sir-lancebot/bot/exts/utilities/githubinfo.py
Line 175 in 9ecf423
sir-lancebot/bot/exts/utilities/githubinfo.py
Line 183 in 9ecf423
Here the
on_message
function returns more than just issues, it also returns pull requests. So the docstring and the variable names should be changed accordingly.Possible Solutions
repo_sequential_numbers
issues_prs
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: