gotta be str
This commit is contained in:
parent
2853910caf
commit
47e7f46e2e
@ -10,6 +10,7 @@ from chatter.chatterbot import ChatBot
|
|||||||
from chatter.chatterbot.trainers import ListTrainer
|
from chatter.chatterbot.trainers import ListTrainer
|
||||||
from redbot.core.data_manager import cog_data_path
|
from redbot.core.data_manager import cog_data_path
|
||||||
|
|
||||||
|
|
||||||
class Chatter:
|
class Chatter:
|
||||||
"""
|
"""
|
||||||
This cog trains a chatbot that will talk like members of your Guild
|
This cog trains a chatbot that will talk like members of your Guild
|
||||||
@ -29,7 +30,7 @@ class Chatter:
|
|||||||
self.chatbot = ChatBot(
|
self.chatbot = ChatBot(
|
||||||
"ChatterBot",
|
"ChatterBot",
|
||||||
storage_adapter='chatter.chatterbot.storage.SQLStorageAdapter',
|
storage_adapter='chatter.chatterbot.storage.SQLStorageAdapter',
|
||||||
database=data_path
|
database=str(data_path)
|
||||||
)
|
)
|
||||||
self.chatbot.set_trainer(ListTrainer)
|
self.chatbot.set_trainer(ListTrainer)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user