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 | |
| parent | Azure: Silence Pepper once again (diff) | |
Hacktoberbot -> Seasonalbot
Diffstat (limited to 'bot/cogs')
| -rw-r--r-- | bot/cogs/hacktober/hacktoberstats.py | 6 | ||||
| -rw-r--r-- | bot/cogs/hacktober/spookyreact.py | 4 | ||||
| -rw-r--r-- | bot/cogs/template.py | 4 |
3 files changed, 7 insertions, 7 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()) diff --git a/bot/cogs/template.py b/bot/cogs/template.py index aa01432c..e1b646e3 100644 --- a/bot/cogs/template.py +++ b/bot/cogs/template.py @@ -13,9 +13,9 @@ class Template: @commands.command(name='repo', aliases=['repository', 'project'], brief='A link to the repository of this bot.') async def repository(self, ctx): """ - A command to send the hacktoberbot github project + A command to send the seasonalbot github project """ - await ctx.send('https://github.com/discord-python/hacktoberbot') + await ctx.send('https://github.com/python-discord/seasonalbot') @commands.group(name='git', invoke_without_command=True, brief="A link to resources for learning Git") async def github(self, ctx): |