diff options
| author | 2020-11-21 01:06:18 +0100 | |
|---|---|---|
| committer | 2020-11-21 01:06:18 +0100 | |
| commit | bce8a0d2fceae622d24329d90a29e1e212f0a633 (patch) | |
| tree | fd1dfe3bef8af3de11a0bb129b9f7e8755ec8f99 /bot/exts/halloween/hacktoberstats.py | |
| parent | Merge branch 'master' into redis-persist (diff) | |
| parent | Remove dead ShowProjects cog. (diff) | |
Merge pull request #528 from python-discord/lemon/refactor/seasonalbot_name_change
Rebrand bot to Sir Lancebot.
Diffstat (limited to 'bot/exts/halloween/hacktoberstats.py')
| -rw-r--r-- | bot/exts/halloween/hacktoberstats.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/halloween/hacktoberstats.py b/bot/exts/halloween/hacktoberstats.py index 26d75565..84b75022 100644 --- a/bot/exts/halloween/hacktoberstats.py +++ b/bot/exts/halloween/hacktoberstats.py @@ -193,7 +193,7 @@ class HacktoberStats(commands.Cog): For each PR: { "repo_url": str - "repo_shortname": str (e.g. "python-discord/seasonalbot") + "repo_shortname": str (e.g. "python-discord/sir-lancebot") "created_at": datetime.datetime "number": int } @@ -360,10 +360,10 @@ class HacktoberStats(commands.Cog): """ Extract shortname from https://api.github.com/repos/* URL. - e.g. "https://api.github.com/repos/python-discord/seasonalbot" + e.g. "https://api.github.com/repos/python-discord/sir-lancebot" | V - "python-discord/seasonalbot" + "python-discord/sir-lancebot" """ exp = r"https?:\/\/api.github.com\/repos\/([/\-\_\.\w]+)" return re.findall(exp, in_url)[0] |