aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar Rohan_Iceman <[email protected]>2019-03-27 21:09:23 +0530
committerGravatar GitHub <[email protected]>2019-03-27 21:09:23 +0530
commit463e7f9d757ce8142f23f67f55f3c41d4336ba56 (patch)
treefc3e6484b77907bc0158c271af26261d013ae508 /bot/bot.py
parentMerge pull request #99 from python-discord/config-update (diff)
parentMerge pull request #132 from python-discord/dpy-cog-changes (diff)
Merge pull request #1 from python-discord/master
syncing fork
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bot/bot.py b/bot/bot.py
index 2df550dc..d60390c3 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -18,10 +18,7 @@ class SeasonalBot(Bot):
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]):
@@ -48,6 +45,7 @@ class SeasonalBot(Bot):
"""
Send an embed message to the devlog channel
"""
+
devlog = self.get_channel(constants.Channels.devlog)
if not devlog: