<commit_before>import praw
import time
import bot

r = praw.Reddit(user_agent = "an account that replies thank you, prime minister of India, by /u/agitatedgenius")
r.login(bot.username,bot.password)
words_to_match= ['thanks modi']
cache = []

def run_bot():
	subreddit = r.get_subreddit("india")
	comments = subreddit.get_comments(limit=50)
	for comment in comments:
		comment_text = comment.body.lower()
		isMatch = any(string in comment_text for string in words_to_match)
		if comment.id not in cache and isMatch:
			comment.reply("you are welcome saar." '\n \n \n \n [github](https://github.com/agitatedgenius/redbot)')
			cache.append(comment.id)

while True:
	run_bot()
	time.sleep(10)<commit_msg>Cleanup of Code<commit_after>import praw
import time

r = praw.Reddit(user_agent = "an account that replies thank you, prime minister of India")
r.login()
words_to_match= ['thanks modi']
cache = []

def run_bot():
	subreddit = r.get_subreddit("india")
	comments = subreddit.get_comments(limit=50)
	for comment in comments:
		comment_text = comment.body.lower()
		isMatch = any(string in comment_text for string in words_to_match)
		if comment.id not in cache and isMatch:
			comment.reply("you are welcome saar.")
			cache.append(comment.id)

while True:
	run_bot()
	time.sleep(10)
{'fraction_non_alphanumeric': 0.11535463756819954, 'fraction_numerical': 0.006235385814497272, 'mean_word_length': 4.917050691244239, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '4167203', 'n_tokens_mistral': 458, 'n_tokens_neox': 440, 'n_words': 124}