-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chatterbot on nextcord(discord.py) not create db.sqlite3 #2238
Comments
(2 hours later) I already found the answer: really the chatterbot doesn't work right inside the bot, but nothing prevents it from working outside the bot. So I deleted all the chatterbot inside the file (called ptreino.py) and created a new one with the chatterbot library and in the end, instead of just doing it with while True, I created a def that has the variable "Speak", thus doing with that it responds what is in the variable "Speak" with return(response) In the file that has the bot. I put "import ptreino" and in the part that was going to contain the content, I made it create the variable "speech" containing the content and then sending it to the def created in ptreino.py code for the two below: ptreino.py
discord_bot.py:
Hope this helps who was having the same problem as me |
i'll keep this post open for anyone want some help |
Hello, I'm creating a chatterbot with this library in nextcord to use in discord and it works, but it doesn't create the "db.sqlite3" file that makes possible to learn new words and I'm trying to solve this bug, in case anyone have an idea of solving this problem, I would like to comment here.
if i resolve, i'll tell how i did it
The code:
I'm not good in english, but i understand if you write in english
The text was updated successfully, but these errors were encountered: