From b3f6168d6d5326d416bca5aa6ba6fa774684656d Mon Sep 17 00:00:00 2001 From: UntouchedOdin0 Date: Tue, 13 Oct 2020 18:05:45 +0100 Subject: [PATCH] Update bot.py --- tweepy-bot/bot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tweepy-bot/bot.py b/tweepy-bot/bot.py index 71e153a..a29b9fd 100644 --- a/tweepy-bot/bot.py +++ b/tweepy-bot/bot.py @@ -1,4 +1,4 @@ -# this is the code for importing the module +# This is the code for importing the module import tweepy import requests import json @@ -8,14 +8,14 @@ logging.basicConfig(level=logging.INFO) logger = logging.getLogger() -# making GET request to github API +# Making GET request to github API def make_req(): response = requests.get("https://api.github.com/search/issues?q=label:hacktoberfest+is:issue+is:open&sort=updated&order=desc") return response prev_issues = [] -#because I need to index a blank list later +# Because I need to index a blank list later for i in range(0,30): prev_issues.append("") @@ -69,5 +69,5 @@ def main(): if __name__ == "__main__": main() -# update the status +# Update the status # api.update_status(status ="Happy hacktober Everyone!")