aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2020-02-16Paginator Migration - Emoji and actionsGravatar F4zii-10/+10
Switched the emoji used to clear the reactions of a paginator [":x:"] With [":trashcan:"], Clicking on this emoji deletes the message
2020-02-16Fix the Pagination cogGravatar F4zii-1/+1
When using pagination in the Reddit cog, clicking the LAST_EMOJI would raise an exception like this: TypeError: unsupported operand type(s) for -: 'list' and 'int' This was resolved by taking the subtraction out of the len() function.
2020-02-13Remove metadata from PR templateGravatar scragly-8/+0
GH wasn't making use of the metadata section the same way as the issue templates do, so they appeared in the pre-fill, confusing contributors. This removes the section entirely to prevent the confusion.
2020-02-09Add correct emoji IDs to Evergreen reddit cogGravatar Sebastiaan Zeeff-7/+7
The emoji IDs in the Reddit cog were for emojis that are not available to Seasonal Bot. While I think a proper solution using constants is to be preferred, I've edited in IDs for emojis that can be used by the bot in the mean time. I've reused three of the emojis that we were already using for our Reddit webhook and added four new emojis to the `PyDis Emoji II` server. Reused emojis: :user: 638729835442602003 :upvotes: 638729835245731840 :comments: 638729835073765387 New emojis available on PyDis Emoji II: :reddit_logo: 676030265734332427 :reddit_post_photo: 676030265734201344 :reddit_post_text: 676030265910493204 :reddit_post_video: 676030265839190047 The latter four may need to be restyled to match the first three in the future.
2020-02-09Removed un-wanted code and using random.simple() to select 5 random unique ↵Gravatar RohanJnr-13/+6
reddit posts insted of using a while loop
2020-02-05rolled back to original pipfile.lockGravatar RohanJnr-212/+210
2020-02-05locked pipfile with python3.7Gravatar RohanJnr-0/+42
2020-02-05uninstalled the buttons lib and corrected lint errorsGravatar RohanJnr-243/+170
2020-02-05finished implementing the reddit commandGravatar RohanJnr-45/+51
2020-02-02Update CODEOWNERSGravatar Joseph-1/+1