| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | | * | | | Strip references to seasonalbot chat | 2020-03-01 | -13/+12 | ||
| | | | | | | | | | | | | | | | | | | | | | Redirect any output to seasonalbot commands, where relevant | ||||
| | | * | | | Cycle icons within season in configured interval only | 2020-02-23 | -1/+12 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `load_seasons` task now has an internal state, which increments for every day. Before cycling the icon within the same season, first check whether we've waited the configured amount of days since the last cycle. Entering a new season, or changing the icon, resets the state to 0. This allows us to slow down the rate at which we cycle icons, addressing a bug where the icon wasn't loading for some users. | ||||
| | | * | | | Calculate seconds as n_hours * seconds_in_hour | 2020-02-23 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | This is a lot more readable than just 86400. | ||||
| | * | | | | (Games Cog): Added space between game search result + removed cutoff in ↵ | 2020-03-04 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | get_close_matches. | ||||
| | * | | | | (Games Cog): Moved `string.Template` to `str.format()`, applied changes ↵ | 2020-03-04 | -51/+37 | ||
| | | | | | | | | | | | | | | | | | | | | | everywhere. | ||||
| | * | | | | (Games Cog): Moved self.genres to __init__ and added type hints. Added lower ↵ | 2020-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 ↵ | 2020-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 ↵ | 2020-03-04 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | lines. | ||||
| | * | | | | (Games Cog): Stop refreshing genres task when Cog unload | 2020-03-04 | -0/+5 | ||
| | | | | | | |||||
| | * | | | | (Games Cog): Added try block to genres refresh task. | 2020-03-04 | -1/+6 | ||
| | | | | | | |||||
| | * | | | | (Games Cog): Added .games refresh|r command for refreshing genres. | 2020-03-04 | -1/+13 | ||
| | | | | | | |||||
| | * | | | | (Games Cog): Created task for fetching genres (every hour) | 2020-03-04 | -2/+7 | ||
| | | | | | | |||||
| | * | | | | (Games Cog): Fixed _get_genres function looping over genres (started using ↵ | 2020-03-04 | -5/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | dict.items()) | ||||
| | * | | | | (Games Cog): Fixed get_games_list calling formatting at L192 | 2020-03-04 | -2/+1 | ||
| | | | | | | |||||
| | * | | | | (Games Cog): Fixed companies list generating code (.games <genre> command). | 2020-03-02 | -3/+2 | ||
| | | | | | | |||||
| | * | | | | (Games Cog): Added comments about offsets, use keyword parameters for ↵ | 2020-03-02 | -1/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | get_companies_list. | ||||
| | * | | | | (Games Cog): Fixed and added content to docstrings. | 2020-03-02 | -2/+7 | ||
| | | | | | | |||||
| | * | | | | (Games Cog): Moved layouts, request bodies and URLs to Templates. Added ↵ | 2020-02-28 | -162/+213 | ||
| | | | | | | | | | | | | | | | | | | | | | token check on load. Other small code improvisations. | ||||
| | * | | | | Added .games command with all it's subcommands, added IGDB token requirement ↵ | 2020-02-25 | -19/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | to constants.py. | ||||
| | * | | | | Remove keys() from total_rating count (Games Cog) | 2020-02-25 | -1/+1 | ||
| | | | | | | | | | | | | | | | | Co-Authored-By: Thomas Petersson <[email protected]> | ||||
| | * | | | | Added .games command with all it's subcommands, added IGDB token requirement ↵ | 2020-02-25 | -0/+338 | ||
| | |/ / / | | | | | | | | | | | | | to constants.py. | ||||
| * | | | | Deseasonify: move 'SeasonBase' to seasons package init | 2020-03-07 | -41/+20 | ||
| | | | | | | | | | | | | | | | | | | | | | The season module can now be safely deleted, as everything defined here has either been removed or moved elsewhere. | ||||
| * | | | | Deseasonify: add `get_extensions` helper function | 2020-03-07 | -1/+20 | ||
| | | | | | | | | | | | | | | | | | See docstring for further details. | ||||
| * | | | | Deseasonify: move `get_seasons` util function to package init | 2020-03-07 | -14/+15 | ||
| | | | | | |||||
| * | | | | Deseasonify: remove `get_season_class` utility function | 2020-03-07 | -7/+0 | ||
| | | | | | |||||
| * | | | | Deseasonify: remove `get_season` utility function | 2020-03-07 | -33/+0 | ||
| | | | | | |||||
| * | | | | Deseasonify: remove redundant SeasonBase methods | 2020-03-07 | -181/+0 | ||
| | | | | | | | | | | | | | | | | | For now, we will keep the base class with annotated attrs. | ||||
| * | | | | Deseasonify: remove SeasonManager cog | 2020-03-07 | -138/+1 | ||
| | | | | | |||||
| * | | | | Merge branch 'master' into seasonal-purge | 2020-02-22 | -193/+642 | ||
| |\| | | | |||||
| | * | | | Fixed comments in Movie cog | 2020-02-18 | -2/+2 | ||
| | | | | | |||||
| | * | | | Fixed error message for less than 1 movie check. | 2020-02-18 | -1/+1 | ||
| | | | | | |||||
| | * | | | Added .movies genres|genre|g command. Made .movies command docstring ↵ | 2020-02-17 | -46/+42 | ||
| | | | | | | | | | | | | | | | | | smaller. Added warning loggings. Better Some Numbers section formatting. | ||||
| | * | | | Small style fixes: removed unnecessary comments, made ifs easier readable, ↵ | 2020-02-16 | -26/+17 | ||
| | | | | | | | | | | | | | | | | | fixed type hints. | ||||
| | * | | | Moved get_random_movies to Movie cog and made this to smaller functions. | 2020-02-15 | -141/+128 | ||
| | | | | | |||||
| | * | | | Replaced check from Enum members to try-except block. | 2020-02-14 | -5/+4 | ||
| | | | | | |||||
| | * | | | Made .movies command genres getting ID and name check to Enum, also made ↵ | 2020-02-14 | -57/+33 | ||
| | | | | | | | | | | | | | | | | | things more dynamical. | ||||
| | * | | | Moved .movies command genres from subcommands to if-elif-else statement, ↵ | 2020-02-14 | -328/+96 | ||
| | | | | | | | | | | | | | | | | | added alias .movie | ||||
| | * | | | Added .movie command with what when specifing genre you get random movies, ↵ | 2020-02-12 | -0/+481 | ||
| | | | | | | | | | | | | | | | | | depending how much movies you define. This use TMDB API. | ||||
| | * | | | Add correct emoji IDs to Evergreen reddit cog | 2020-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. | ||||
| | * | | | Removed un-wanted code and using random.simple() to select 5 random unique ↵ | 2020-02-09 | -13/+6 | ||
| | | | | | | | | | | | | | | | | | reddit posts insted of using a while loop | ||||
| | * | | | Merge branch 'master' into reddit_posts | 2020-02-05 | -5/+15 | ||
| | |\ \ \ | | | |/ | | |/| | |||||
| | | * | | Shorten description & remove author override in permission error embed | 2020-01-27 | -4/+4 | ||
| | | | | | | | | | | | | | Update logging events so they follow the correct chain of execution | ||||
| | | * | | Added permission check for staff channels message leak. | 2020-01-25 | -0/+12 | ||
| | | | | | |||||
| | | * | | Removed unnacessary `content` variable usage | 2020-01-07 | -2/+1 | ||
| | | | | | |||||
| | | * | | Moved jump url into a field. | 2020-01-07 | -6/+2 | ||
| | | | | | |||||
| | | * | | Add exception where relayed message.content length exceed 2048 characters | 2020-01-07 | -1/+4 | ||
| | | | | | |||||
| | * | | | uninstalled the buttons lib and corrected lint errors | 2020-02-05 | -123/+124 | ||
| | | | | | |||||
| | * | | | finished implementing the reddit command | 2020-02-05 | -45/+51 | ||
| | | | | | |||||
| | * | | | installed buttons and implemented embed pagination | 2020-01-26 | -0/+130 | ||
| | |/ / | |||||
| | * | | Merge branch 'master' into quiz_fix | 2019-12-20 | -137/+291 | ||
| | |\ \ | |||||