aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/bot/bot.py b/bot/bot.py
index 96caf9e3..f3b1acbb 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -6,7 +6,6 @@ from typing import List
from aiohttp import AsyncResolver, ClientSession, TCPConnector
from discord import Embed
from discord.ext import commands
-from discord.ext.commands import Bot
from bot import constants
@@ -15,16 +14,13 @@ log = logging.getLogger(__name__)
__all__ = ('SeasonalBot',)
-class SeasonalBot(Bot):
+class SeasonalBot(commands.Bot):
"""Base bot instance."""
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.http_session = ClientSession(
- connector=TCPConnector(
- resolver=AsyncResolver(),
- family=socket.AF_INET,
- )
+ connector=TCPConnector(resolver=AsyncResolver(), family=socket.AF_INET)
)
def load_extensions(self, exts: List[str]):