aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* (Games Cog): Added space between game search result + removed cutoff in ↵Gravatar Karlis S2020-03-04-2/+2
| | | | get_close_matches.
* (Games Cog): Moved `string.Template` to `str.format()`, applied changes ↵Gravatar ks1232020-03-04-51/+37
| | | | everywhere.
* (Games Cog): Moved self.genres to __init__ and added type hints. Added lower ↵Gravatar ks1232020-03-04-3/+3
| | | | `difflib.get_close_matches` cutoff from 0.6 (default) to 0.4.
* (Games Cog): Replaced - with space in genre aliases, added multiword genres ↵Gravatar ks1232020-03-04-9/+10
| | | | support for .games command, modified docstring to explain this and added str.title() to embed title genre showing.
* (Games Cog): Remove too much empty lines in .games search command, simplify ↵Gravatar ks1232020-03-04-1/+1
| | | | lines.
* (Games Cog): Stop refreshing genres task when Cog unloadGravatar ks1232020-03-04-0/+5
|
* (Games Cog): Added try block to genres refresh task.Gravatar ks1232020-03-04-1/+6
|
* (Games Cog): Added .games refresh|r command for refreshing genres.Gravatar ks1232020-03-04-1/+13
|
* (Games Cog): Created task for fetching genres (every hour)Gravatar ks1232020-03-04-2/+7
|
* (Games Cog): Fixed _get_genres function looping over genres (started using ↵Gravatar ks1232020-03-04-5/+5
| | | | dict.items())
* (Games Cog): Fixed get_games_list calling formatting at L192Gravatar ks1232020-03-04-2/+1
|
* (Games Cog): Fixed companies list generating code (.games <genre> command).Gravatar ks1232020-03-02-3/+2
|
* (Games Cog): Added comments about offsets, use keyword parameters for ↵Gravatar ks1232020-03-02-1/+5
| | | | get_companies_list.
* (Games Cog): Fixed and added content to docstrings.Gravatar ks1232020-03-02-2/+7
|
* (Games Cog): Moved layouts, request bodies and URLs to Templates. Added ↵Gravatar ks1232020-02-28-162/+213
| | | | token check on load. Other small code improvisations.
* Added .games command with all it's subcommands, added IGDB token requirement ↵Gravatar Karlis S2020-02-25-19/+4
| | | | to constants.py.
* Remove keys() from total_rating count (Games Cog)Gravatar Karlis S2020-02-25-1/+1
| | | Co-Authored-By: Thomas Petersson <[email protected]>
* Merge remote-tracking branch 'origin/games-command' into games-commandGravatar ks1232020-02-25-0/+0
|\ | | | | | | | | # Conflicts: # bot/seasons/evergreen/game.py
| * Added .games command with all it's subcommands, added IGDB token requirement ↵Gravatar ks1232020-02-24-0/+334
| | | | | | | | to constants.py.
* | Added .games command with all it's subcommands, added IGDB token requirement ↵Gravatar ks1232020-02-25-0/+339
|/ | | | to constants.py.
* Merge pull request #353 from python-discord/F4zi/bug/LAST_EMOJI-352Gravatar Shirayuki Nekomata2020-02-19-12/+15
|\ | | | | Fix the Pagination cog
| * Merge branch 'master' into F4zi/bug/LAST_EMOJI-352Gravatar Shirayuki Nekomata2020-02-19-0/+199
| |\ | |/ |/|
* | Merge pull request #350 from ks129/movies-commandGravatar Shirayuki Nekomata2020-02-18-0/+199
|\ \ | | | | | | .movie Command Adding
| * \ Merge branch 'master' into movies-commandGravatar Shirayuki Nekomata2020-02-18-8/+0
| |\ \ | |/ / |/| |
| * | Fixed comments in Movie cogGravatar Karlis S2020-02-18-2/+2
| | |
| * | Fixed error message for less than 1 movie check.Gravatar Karlis S2020-02-18-1/+1
| | |
| * | Added .movies genres|genre|g command. Made .movies command docstring ↵Gravatar ks1232020-02-17-46/+43
| | | | | | | | | | | | smaller. Added warning loggings. Better Some Numbers section formatting.
| * | Small style fixes: removed unnecessary comments, made ifs easier readable, ↵Gravatar ks1232020-02-16-26/+17
| | | | | | | | | | | | fixed type hints.
| * | Moved get_random_movies to Movie cog and made this to smaller functions.Gravatar ks1232020-02-15-141/+128
| | |
| * | Replaced check from Enum members to try-except block.Gravatar ks1232020-02-14-5/+4
| | |
| * | Made .movies command genres getting ID and name check to Enum, also made ↵Gravatar ks1232020-02-14-57/+33
| | | | | | | | | | | | things more dynamical.
| * | Moved .movies command genres from subcommands to if-elif-else statement, ↵Gravatar ks1232020-02-14-328/+96
| | | | | | | | | | | | added alias .movie
| * | Added .movie command with what when specifing genre you get random movies, ↵Gravatar ks1232020-02-12-0/+481
| | | | | | | | | | | | depending how much movies you define. This use TMDB API.
| | * Lint error - missing lineGravatar F4zii2020-02-17-1/+0
| | |
| | * Merge remote-tracking branch 'origin/F4zi/bug/LAST_EMOJI-352' into ↵Gravatar F4zii2020-02-17-0/+1
| | |\ | | | | | | | | | | | | F4zi/bug/LAST_EMOJI-352
| | | * Paginator Migration - Added trashcan emoji to constants.pyGravatar F4zii2020-02-17-1/+1
| | | |
| | | * Paginator Migration - Added trashcan emoji to constants.pyGravatar F4zii2020-02-17-1/+3
| | | |
| | * | Paginator Migration - Added trashcan emoji to constants.pyGravatar F4zii2020-02-17-1/+4
| | |/
| | * Pagination migrations - Data Structure ModifiedGravatar F4zi2020-02-17-1/+1
| | | | | | | | | | | | | | | | | | Changed the pagination emoji collection from list to tuple This change was suggested since this collection is constant
| | * Pagination migrations - Actions and emojisGravatar F4zi2020-02-17-6/+6
| | | | | | | | | | | | | | | | | | | | | Clicking on [:trashcan:] broke the loop and deleted the message, instead, now we return after a message deletion and break when an `asyncio.TimeoutError` is raised (when a user fails to add reactions in time)
| | * Paginator Migration - Emoji and actionsGravatar F4zii2020-02-16-10/+10
| | | | | | | | | | | | | | | Switched the emoji used to clear the reactions of a paginator [":x:"] With [":trashcan:"], Clicking on this emoji deletes the message
| | * Fix the Pagination cogGravatar F4zii2020-02-16-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.
* | Remove metadata from PR templateGravatar scragly2020-02-13-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.
* Merge pull request #333 from python-discord/github-templatesGravatar scragly2020-02-10-58/+113
|\ | | | | Refine Github Templates
| * Merge branch 'master' into github-templatesGravatar scragly2020-02-10-203/+401
| |\ | |/ |/|
* | Add correct emoji IDs to Evergreen reddit cogGravatar Sebastiaan Zeeff2020-02-09-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.
* | Merge pull request #346 from RohanJnr/reddit_postsGravatar Shirayuki Nekomata2020-02-09-0/+130
|\ \ | | | | | | Implemented the Reddit command as mentioned in #267
| * | Removed un-wanted code and using random.simple() to select 5 random unique ↵Gravatar RohanJnr2020-02-09-13/+6
| | | | | | | | | | | | reddit posts insted of using a while loop
| * | rolled back to original pipfile.lockGravatar RohanJnr2020-02-05-212/+210
| | |
| * | locked pipfile with python3.7Gravatar RohanJnr2020-02-05-0/+42
| | |