From 7306ca0fb508c5192c47ac5db02ca998f443fc77 Mon Sep 17 00:00:00 2001 From: Suhail Date: Sun, 31 Mar 2019 14:52:30 +0100 Subject: add `commands.Cog` --- bot/seasons/halloween/spookyrating.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot') diff --git a/bot/seasons/halloween/spookyrating.py b/bot/seasons/halloween/spookyrating.py index 01fb607b..a9cfda9b 100644 --- a/bot/seasons/halloween/spookyrating.py +++ b/bot/seasons/halloween/spookyrating.py @@ -16,7 +16,7 @@ with Path('bot', 'resources', 'halloween', 'spooky_rating.json').open() as file: SPOOKY_DATA = sorted((int(key), value) for key, value in SPOOKY_DATA.items()) -class SpookyRating: +class SpookyRating(commands.Cog): """A cog for calculating one's spooky rating""" def __init__(self, bot): -- cgit v1.2.3