<commit_before>import db
import time
from datetime import datetime
import os

BOT_ID = 5

# def gomisute():


if __name__ == '__main__':
    while True:
        print (datetime.now().strftime('%Y/%m/%d %H:%M:%S'));
        result = db.get_user_from_grade("m1")
        text = "ゴミを捨てましょう"
        for i in range(len(result)):
            db.insert_message(result[i][0], BOT_ID, datetime.now().strftime('%Y%m%d%H%M%S'), text, 1)
            print(result[i][0])

        time.sleep(1);
<commit_msg>bot.pyで曜日取得<commit_after>import db
import time
from datetime import datetime
from datetime import date
import os

BOT_ID = 5

def gomisute():
    result = db.get_user_from_grade("b4")
    text = "ゴミを捨てましょう"
    for i in range(len(result)):
        db.insert_message(result[i][0], BOT_ID, datetime.now().strftime('%Y%m%d%H%M%S'), text, 1)
        print(result[i][0])

if __name__ == '__main__':
    while True:
        print (datetime.now().strftime('%Y/%m/%d %H:%M:%S'));
        print (datetime.now().weekday())


        time.sleep(1);

{'fraction_non_alphanumeric': 0.17037754114230397, 'fraction_numerical': 0.011616650532429816, 'mean_word_length': 3.220408163265306, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2504647', 'n_tokens_mistral': 409, 'n_tokens_neox': 395, 'n_words': 80}