diff options
author | 2018-11-18 13:03:12 +0000 | |
---|---|---|
committer | 2018-11-18 13:03:12 +0000 | |
commit | 80055e1c1edf0bb6ea77a6b557fbc4ec9f56313e (patch) | |
tree | 996ebee01d26eebe693893ef74342a28629bba23 /bot/cogs/hacktober/hacktoberstats.py | |
parent | Azure: Silence Pepper once again (diff) |
Hacktoberbot -> Seasonalbot
Diffstat (limited to 'bot/cogs/hacktober/hacktoberstats.py')
-rw-r--r-- | bot/cogs/hacktober/hacktoberstats.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/cogs/hacktober/hacktoberstats.py b/bot/cogs/hacktober/hacktoberstats.py index 0ccb41c1..0755503c 100644 --- a/bot/cogs/hacktober/hacktoberstats.py +++ b/bot/cogs/hacktober/hacktoberstats.py @@ -202,7 +202,7 @@ class Stats: For each PR: { "repo_url": str - "repo_shortname": str (e.g. "discord-python/hacktoberbot") + "repo_shortname": str (e.g. "python-discord/seasonalbot") "created_at": datetime.datetime } @@ -259,10 +259,10 @@ class Stats: """ Extract shortname from https://api.github.com/repos/* URL - e.g. "https://api.github.com/repos/discord-python/hacktoberbot" + e.g. "https://api.github.com/repos/python-discord/seasonalbot" | V - "discord-python/hacktoberbot" + "python-discord/seasonalbot" """ exp = r"https?:\/\/api.github.com\/repos\/([/\-\_\.\w]+)" return re.findall(exp, in_url)[0] |