From 0c721a2dbe2c15ca2da77b7e42a4149c7e9272bb Mon Sep 17 00:00:00 2001 From: Bobloy Date: Thu, 3 May 2018 12:24:16 -0400 Subject: [PATCH] naming --- chatter/__init__.py | 8 ++++++-- chatter/chatterbot/input/__init__.py | 2 +- chatter/chatterbot/storage/__init__.py | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/chatter/__init__.py b/chatter/__init__.py index 2d7a8e8..3056b82 100644 --- a/chatter/__init__.py +++ b/chatter/__init__.py @@ -1,5 +1,9 @@ -from .chatter import Chatter - +from .chat import Chatter +from . import chatterbot def setup(bot): bot.add_cog(Chatter(bot)) + +__all__ = ( + 'chatterbot' +) diff --git a/chatter/chatterbot/input/__init__.py b/chatter/chatterbot/input/__init__.py index 625b583..53c53f9 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 c456292..77d3e04 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',