aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/game.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-11-21 00:30:58 +0100
committerGravatar Leon Sandøy <[email protected]>2020-11-21 00:30:58 +0100
commit16417225e7c0bfbb4260d51722c2f68696e7ccd6 (patch)
tree4a22678232104c6bee8c67edeea8a16a8d3e963b /bot/exts/evergreen/game.py
parentMake the bot name less hard-coded. (diff)
Remove references to old name.
I've tried to replace this with generic references where appropriate, but a lot of the time it just doesn't make a lot of sense to do so.
Diffstat (limited to 'bot/exts/evergreen/game.py')
-rw-r--r--bot/exts/evergreen/game.py6
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: