diff --git a/chatter/chat.py b/chatter/chat.py index 9b0b6ef..276f6d8 100644 --- a/chatter/chat.py +++ b/chatter/chat.py @@ -5,10 +5,10 @@ from datetime import datetime, timedelta import discord from redbot.core import Config from redbot.core import commands +from redbot.core.data_manager import cog_data_path from chatter.chatterbot import ChatBot from chatter.chatterbot.trainers import ListTrainer -from redbot.core.data_manager import cog_data_path class Chatter: diff --git a/chatter/chatterbot/chatterbot.py b/chatter/chatterbot/chatterbot.py index d6e9cea..08576c3 100644 --- a/chatter/chatterbot/chatterbot.py +++ b/chatter/chatterbot/chatterbot.py @@ -3,9 +3,6 @@ from __future__ import unicode_literals import logging from chatter.chatterbot import utils -from chatter.chatterbot.input import InputAdapter -from chatter.chatterbot.output import OutputAdapter -from chatter.chatterbot.storage import StorageAdapter class ChatBot(object): diff --git a/chatter/chatterbot/input/__init__.py b/chatter/chatterbot/input/__init__.py index 53c53f9..625b583 100644 --- a/chatter/chatterbot/input/__init__.py +++ b/chatter/chatterbot/input/__init__.py @@ -1,6 +1,6 @@ -from .input_adapter import InputAdapter from .gitter import Gitter from .hipchat import HipChat +from .input_adapter import InputAdapter from .mailgun import Mailgun from .microsoft import Microsoft from .terminal import TerminalAdapter diff --git a/chatter/chatterbot/storage/__init__.py b/chatter/chatterbot/storage/__init__.py index 77d3e04..c456292 100644 --- a/chatter/chatterbot/storage/__init__.py +++ b/chatter/chatterbot/storage/__init__.py @@ -1,6 +1,6 @@ -from .storage_adapter import StorageAdapter from .mongodb import MongoDatabaseAdapter from .sql_storage import SQLStorageAdapter +from .storage_adapter import StorageAdapter __all__ = ( 'StorageAdapter',