diff options
| author | 2019-10-01 01:16:01 +0200 | |
|---|---|---|
| committer | 2019-10-01 01:16:01 +0200 | |
| commit | 8c82fd5c03b62f2d35cf6b0e2945e332a5b02bc3 (patch) | |
| tree | cf075901b150115c37101067c3b9290fe2bbe1c4 | |
| parent | Merge pull request #280 from python-discord/hacktoberfest_prep (diff) | |
added hacktober-issue-finder cog.
| -rw-r--r-- | bot/seasons/halloween/hacktober-issue-finder.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bot/seasons/halloween/hacktober-issue-finder.py b/bot/seasons/halloween/hacktober-issue-finder.py new file mode 100644 index 00000000..ce0993d3 --- /dev/null +++ b/bot/seasons/halloween/hacktober-issue-finder.py @@ -0,0 +1,18 @@ +import logging + +from discord.ext import commands + +log = logging.getLogger(__name__) + + +class SpookyEightBall(commands.Cog): + """Find a random hacktober python issue on GitHub.""" + + def __init__(self, bot: commands.Bot): + self.bot = bot + + +def setup(bot: commands.Bot) -> None: + """Hacktober issue finder Cog Load.""" + bot.add_cog(SpookyEightBall(bot)) + log.info("hacktober-issue-finder cog loaded") |