[Chatter] Use relative imports
This commit is contained in:
parent
490d41d390
commit
260b5eec13
@ -7,10 +7,10 @@ from redbot.core import Config
|
|||||||
from redbot.core import commands
|
from redbot.core import commands
|
||||||
from redbot.core.data_manager import cog_data_path
|
from redbot.core.data_manager import cog_data_path
|
||||||
|
|
||||||
from chatter.chatterbot import ChatBot
|
from .chatterbot import ChatBot
|
||||||
from chatter.chatterbot.comparisons import levenshtein_distance
|
from .chatterbot.comparisons import levenshtein_distance
|
||||||
from chatter.chatterbot.response_selection import get_first_response
|
from .chatterbot.response_selection import get_first_response
|
||||||
from chatter.chatterbot.trainers import ListTrainer
|
from .chatterbot.trainers import ListTrainer
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
Cog: Any = getattr(commands, "Cog", object)
|
Cog: Any = getattr(commands, "Cog", object)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user