diff options
Diffstat (limited to 'bot/cogs/hacktober')
| -rw-r--r-- | bot/cogs/hacktober/hacktoberstats.py | 6 | ||||
| -rw-r--r-- | bot/cogs/hacktober/spookyreact.py | 4 |
2 files changed, 5 insertions, 5 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] diff --git a/bot/cogs/hacktober/spookyreact.py b/bot/cogs/hacktober/spookyreact.py index 9146b797..8e9e8db6 100644 --- a/bot/cogs/hacktober/spookyreact.py +++ b/bot/cogs/hacktober/spookyreact.py @@ -25,11 +25,11 @@ class SpookyReact: async def on_message(self, ctx: discord.Message): """ - A command to send the hacktoberbot github project + A command to send the seasonalbot github project Lines that begin with the bot's command prefix are ignored - Hacktoberbot's own messages are ignored + Seasonalbot's own messages are ignored """ for trigger in SPOOKY_TRIGGERS.keys(): trigger_test = re.search(SPOOKY_TRIGGERS[trigger][0], ctx.content.lower()) |