aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot.py')
-rwxr-xr-xbot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot.py b/bot.py
index 12ea846..d405115 100755
--- a/bot.py
+++ b/bot.py
@@ -1,6 +1,7 @@
from discord.ext import commands
import discord
import logging
+import aiohttp
import datetime
import json
@@ -35,6 +36,7 @@ class BedrockBot(commands.Bot):
super().__init__(command_prefix=get_prefix, case_insensitive=True)
self.logger = logging.getLogger('discord')
self.messageBlacklist = []
+ self.session = aiohttp.ClientSession()
with open('custom_commands.json', 'r') as f:
self.custom_commands = json.load(f)