diff options
| author | 2020-11-30 15:16:54 +0100 | |
|---|---|---|
| committer | 2020-11-30 15:16:54 +0100 | |
| commit | 86aa5df9fd22f49089c774a8a3494babb1474409 (patch) | |
| tree | ee829b8933174291a8fc8ec63e432066d585b52f /bot/exts/evergreen/game.py | |
| parent | Continue loop if repo topics API request errored (diff) | |
| parent | Merge pull request #532 from python-discord/sebastiaan/ci/add-core-dev-approv... (diff) | |
Merge branch 'master' into hackstats
Diffstat (limited to 'bot/exts/evergreen/game.py')
| -rw-r--r-- | bot/exts/evergreen/game.py | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/evergreen/game.py b/bot/exts/evergreen/game.py index 3c8b2725..d0fd7a40 100644 --- a/bot/exts/evergreen/game.py +++ b/bot/exts/evergreen/game.py @@ -11,7 +11,7 @@ from discord import Embed  from discord.ext import tasks  from discord.ext.commands import Cog, Context, group -from bot.bot import SeasonalBot +from bot.bot import Bot  from bot.constants import STAFF_ROLES, Tokens  from bot.utils.decorators import with_role  from bot.utils.pagination import ImagePaginator, LinePaginator @@ -130,7 +130,7 @@ class AgeRatings(IntEnum):  class Games(Cog):      """Games Cog contains commands that collect data from IGDB.""" -    def __init__(self, bot: SeasonalBot): +    def __init__(self, bot: Bot):          self.bot = bot          self.http_session: ClientSession = bot.http_session @@ -415,7 +415,7 @@ class Games(Cog):          return sorted((item for item in results if item[0] >= 0.60), reverse=True)[:4] -def setup(bot: SeasonalBot) -> None: +def setup(bot: Bot) -> None:      """Add/Load Games cog."""      # Check does IGDB API key exist, if not, log warning and don't load cog      if not Tokens.igdb:  |