aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2021-08-31Make the bot automatically join threadsGravatar Matteo Bertucci-2/+18
This is just a QoL of life thing, avoiding having us to check if the bot is here or not before issuing a command Co-authored-by: ChrisJL <[email protected]>
2021-08-31Trigger the bot on mentionsGravatar Matteo Bertucci-1/+2
Since it is the only way to add bots to threads, it would make sense to be able to execute that command.
2021-08-31Migrate to Discord.py 2.0a0Gravatar Matteo Bertucci-185/+194
Since the Discord.py repository has been archived, we can switch to the latest commit of 2.0a0, knowing no breaking change will occur (still pinned to the commit just in case). This commit also solves two small problems due to that fix, the avatar interface changing and Embed.name disappearing. Quite a painless migration.
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