aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2021-08-31Add returns after sending embedGravatar brad90four-0/+2
This will avoid sending the error embed even when the status codes are ok.
2021-08-31Remove unnecessary commaGravatar brad90four-1/+1
2021-08-31Add logic to handle acceptable range of codesGravatar brad90four-9/+22
Also updated the line breaks, black was formatting on save locally.
2021-08-31Update docstrings, ' -> ", code styleGravatar brad90four-4/+4
2021-08-30Add requested changesGravatar bradtimmis-10/+22
Now that the branch is correctly tracking only the changes to the file `status_codes.py` the other requests can be addressed. Currently the only change not addressed is to handle the range of responses allowed. My focus will be on lines 45 to 64 for these changes. Issues #428 #500 #608 PR #610
2021-08-30Handle single article resultGravatar brad90four-1/+6
2021-08-30Correct article length check with future proofingGravatar brad90four-1/+1
Co-authored-by: wookie184 <[email protected]>
2021-08-30Only send articles to userGravatar brad90four-2/+2
Added the "kind": "article" parameter to the API request. This should only return articles to the user instead of courses, lessons or quizzes. Also updated the "Here are the top x results" message to handle a variable amount of articles. [Ticket: python-discord#828]
2021-08-30Add baby anaconda to snake hatch (#822)Gravatar Krishna Ramasimha-1/+2
Add baby anaconda to snake hatch, using the anaconda logo