diff options
author | 2021-05-04 13:15:55 -0400 | |
---|---|---|
committer | 2021-05-04 13:15:55 -0400 | |
commit | c051abf49ce5bb82d127c8ddfad7ece431bb028f (patch) | |
tree | 02d1795959d12529bf4d616752c98268f7dd9ae2 /bot/exts/evergreen/magic_8ball.py | |
parent | Merge branch 'spring-cleanup' of https://github.com/ToxicKidz/sir-lancebot in... (diff) |
chore: Apply suggested changes
Diffstat (limited to 'bot/exts/evergreen/magic_8ball.py')
-rw-r--r-- | bot/exts/evergreen/magic_8ball.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/evergreen/magic_8ball.py b/bot/exts/evergreen/magic_8ball.py index 708aa6d2..7c9b929d 100644 --- a/bot/exts/evergreen/magic_8ball.py +++ b/bot/exts/evergreen/magic_8ball.py @@ -13,7 +13,7 @@ log = logging.getLogger(__name__) class Magic8ball(commands.Cog): """A Magic 8ball command to respond to a user's question.""" - def __init__(self, _bot: Bot): + def __init__(self): with open(Path("bot/resources/evergreen/magic8ball.json"), "r", encoding="utf8") as file: self.answers = json.load(file) @@ -28,5 +28,5 @@ class Magic8ball(commands.Cog): def setup(bot: Bot) -> None: - """Load the Magic8Ball cog.""" - bot.add_cog(Magic8ball(bot)) + """Load the Magic8Ball Cog.""" + bot.add_cog(Magic8ball()) |