Open TrashUwU opened 4 years ago
Just use read_only=True
if you are going to implement it like that. With that the bot will not write to the database so you can train it with good data downloaded from the internet and then deploy it with the discord bot without it learning. From my experience it doesn't really end well with training the bot through discord.
I used chatterbot package to make a discord.py bot.
Actually there are too many people talking to the bot. 1st user types "nice to meet you again" and the bot replies "hello!", 2nd user types "do you eat foods?". Now the bot saves something like this in the database:-
"do you eat foods?": {"in_response_to": [{"text": "hello!", "occurrence": 1}], "created_at": {"$date": 1595746882223}, "extra_data": {}}
"do you eat foods?" in response to "hello!"... The bot sent "hello" to the 1st guy, not the 2nd guy!