Move to importing the actual library

pull/107/head
bobloy 5 years ago
parent d482b4914b
commit f2524b3d20

@ -7,10 +7,10 @@ from redbot.core import Config, commands
from redbot.core.commands import Cog from redbot.core.commands import Cog
from redbot.core.data_manager import cog_data_path from redbot.core.data_manager import cog_data_path
from .chatterbot import ChatBot from chatterbot import ChatBot
from .chatterbot.comparisons import levenshtein_distance from chatterbot.comparisons import levenshtein_distance
from .chatterbot.response_selection import get_first_response from chatterbot.response_selection import get_first_response
from .chatterbot.trainers import ListTrainer from chatterbot.trainers import ListTrainer
class Chatter(Cog): class Chatter(Cog):
@ -19,6 +19,7 @@ class Chatter(Cog):
""" """
def __init__(self, bot): def __init__(self, bot):
super().__init__()
self.bot = bot self.bot = bot
self.config = Config.get_conf(self, identifier=6710497116116101114) self.config = Config.get_conf(self, identifier=6710497116116101114)
default_global = {} default_global = {}

Loading…
Cancel
Save