mirror of
https://github.com/house-of-vanity/conf_bot.git
synced 2025-07-06 14:24:08 +00:00
Let's collect more data.
This commit is contained in:
@ -248,7 +248,7 @@ class MessageWorker:
|
||||
self.db.add_conf(chat_id, chat_title)
|
||||
|
||||
for word in collection:
|
||||
self.db.add_relation(word=word, user_id=user_id, conf_id=chat_id)
|
||||
self.db.add_relation(word=word, user_id=user_id, conf_id=chat_id, text=text)
|
||||
|
||||
def clean_text(self, s):
|
||||
file = open(self.stop_words, 'rt')
|
||||
|
Reference in New Issue
Block a user