From 47e7f46e2e67a38a00bd9cbd7388576e477a8f45 Mon Sep 17 00:00:00 2001 From: bobloy Date: Thu, 16 Aug 2018 14:25:22 -0400 Subject: [PATCH] gotta be str --- chatter/chat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chatter/chat.py b/chatter/chat.py index c4939d5..9b0b6ef 100644 --- a/chatter/chat.py +++ b/chatter/chat.py @@ -10,6 +10,7 @@ from chatter.chatterbot import ChatBot from chatter.chatterbot.trainers import ListTrainer from redbot.core.data_manager import cog_data_path + class Chatter: """ This cog trains a chatbot that will talk like members of your Guild @@ -29,7 +30,7 @@ class Chatter: self.chatbot = ChatBot( "ChatterBot", storage_adapter='chatter.chatterbot.storage.SQLStorageAdapter', - database=data_path + database=str(data_path) ) self.chatbot.set_trainer(ListTrainer)