aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2020-03-04(Games Cog): Moved `string.Template` to `str.format()`, applied changes ↵Gravatar ks123-51/+37
everywhere.
2020-03-04(Games Cog): Moved self.genres to __init__ and added type hints. Added lower ↵Gravatar ks123-3/+3
`difflib.get_close_matches` cutoff from 0.6 (default) to 0.4.
2020-03-04(Games Cog): Replaced - with space in genre aliases, added multiword genres ↵Gravatar ks123-9/+10
support for .games command, modified docstring to explain this and added str.title() to embed title genre showing.
2020-03-04(Games Cog): Remove too much empty lines in .games search command, simplify ↵Gravatar ks123-1/+1
lines.
2020-03-04(Games Cog): Stop refreshing genres task when Cog unloadGravatar ks123-0/+5
2020-03-04(Games Cog): Added try block to genres refresh task.Gravatar ks123-1/+6
2020-03-04(Games Cog): Added .games refresh|r command for refreshing genres.Gravatar ks123-1/+13
2020-03-04(Games Cog): Created task for fetching genres (every hour)Gravatar ks123-2/+7
2020-03-04(Games Cog): Fixed _get_genres function looping over genres (started using ↵Gravatar ks123-5/+5
dict.items())
2020-03-04(Games Cog): Fixed get_games_list calling formatting at L192Gravatar ks123-2/+1
2020-03-02(Games Cog): Fixed companies list generating code (.games <genre> command).Gravatar ks123-3/+2
2020-03-02(Games Cog): Added comments about offsets, use keyword parameters for ↵Gravatar ks123-1/+5
get_companies_list.
2020-03-02(Games Cog): Fixed and added content to docstrings.Gravatar ks123-2/+7
2020-02-28(Games Cog): Moved layouts, request bodies and URLs to Templates. Added ↵Gravatar ks123-162/+213
token check on load. Other small code improvisations.
2020-02-25Added .games command with all it's subcommands, added IGDB token requirement ↵Gravatar Karlis S-19/+4
to constants.py.
2020-02-25Remove keys() from total_rating count (Games Cog)Gravatar Karlis S-1/+1
Co-Authored-By: Thomas Petersson <[email protected]>
2020-02-25Added .games command with all it's subcommands, added IGDB token requirement ↵Gravatar ks123-0/+339
to constants.py.
2020-02-24Added .games command with all it's subcommands, added IGDB token requirement ↵Gravatar ks123-0/+334
to constants.py.
2020-02-18Fixed comments in Movie cogGravatar Karlis S-2/+2
2020-02-18Fixed error message for less than 1 movie check.Gravatar Karlis S-1/+1
2020-02-17Added .movies genres|genre|g command. Made .movies command docstring ↵Gravatar ks123-46/+43
smaller. Added warning loggings. Better Some Numbers section formatting.
2020-02-17Lint error - missing lineGravatar F4zii-1/+0
2020-02-17Paginator Migration - Added trashcan emoji to constants.pyGravatar F4zii-1/+4
2020-02-17 Paginator Migration - Added trashcan emoji to constants.pyGravatar F4zii-1/+1
2020-02-17Paginator Migration - Added trashcan emoji to constants.pyGravatar F4zii-1/+3
2020-02-17Pagination migrations - Data Structure ModifiedGravatar F4zi-1/+1
Changed the pagination emoji collection from list to tuple This change was suggested since this collection is constant
2020-02-17Pagination migrations - Actions and emojisGravatar F4zi-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)
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-16Small style fixes: removed unnecessary comments, made ifs easier readable, ↵Gravatar ks123-26/+17
fixed type hints.
2020-02-15Moved get_random_movies to Movie cog and made this to smaller functions.Gravatar ks123-141/+128
2020-02-14Replaced check from Enum members to try-except block.Gravatar ks123-5/+4
2020-02-14Made .movies command genres getting ID and name check to Enum, also made ↵Gravatar ks123-57/+33
things more dynamical.
2020-02-14Moved .movies command genres from subcommands to if-elif-else statement, ↵Gravatar ks123-328/+96
added alias .movie
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.