diff options
| author | 2019-03-03 21:50:01 -0500 | |
|---|---|---|
| committer | 2019-03-03 21:50:01 -0500 | |
| commit | b53d8d8b7fe7c33c6931fa9075c30c27ea9c02da (patch) | |
| tree | 92ab3e99bebbc0b0dac06571d1e2e6d30f2622cf /bot/seasons/halloween/hacktoberstats.py | |
| parent | Merge pull request #112 from RohanJnr/be-my-valentine-iceman (diff) | |
Add new Cog class inheritance & event listener decoration
Mitigates recent breaking d.py changes
Diffstat (limited to 'bot/seasons/halloween/hacktoberstats.py')
| -rw-r--r-- | bot/seasons/halloween/hacktoberstats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/halloween/hacktoberstats.py b/bot/seasons/halloween/hacktoberstats.py index 41cf10ee..8ac448b8 100644 --- a/bot/seasons/halloween/hacktoberstats.py +++ b/bot/seasons/halloween/hacktoberstats.py @@ -13,7 +13,7 @@ from discord.ext import commands log = logging.getLogger(__name__) -class HacktoberStats: +class HacktoberStats(commands.Cog): def __init__(self, bot): self.bot = bot self.link_json = Path("bot", "resources", "github_links.json") |