From f2524b3d20d31a277729e45af4a4c199af6c80a0 Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 27 Jul 2020 13:11:45 -0400 Subject: [PATCH] Move to importing the actual library --- chatter/chat.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/chatter/chat.py b/chatter/chat.py index 10ab156..005b807 100644 --- a/chatter/chat.py +++ b/chatter/chat.py @@ -7,10 +7,10 @@ from redbot.core import Config, commands from redbot.core.commands import Cog from redbot.core.data_manager import cog_data_path -from .chatterbot import ChatBot -from .chatterbot.comparisons import levenshtein_distance -from .chatterbot.response_selection import get_first_response -from .chatterbot.trainers import ListTrainer +from chatterbot import ChatBot +from chatterbot.comparisons import levenshtein_distance +from chatterbot.response_selection import get_first_response +from chatterbot.trainers import ListTrainer class Chatter(Cog): @@ -19,6 +19,7 @@ class Chatter(Cog): """ def __init__(self, bot): + super().__init__() self.bot = bot self.config = Config.get_conf(self, identifier=6710497116116101114) default_global = {}