From c051abf49ce5bb82d127c8ddfad7ece431bb028f Mon Sep 17 00:00:00 2001 From: ToxicKidz <78174417+ToxicKidz@users.noreply.github.com> Date: Tue, 4 May 2021 13:15:55 -0400 Subject: chore: Apply suggested changes --- bot/exts/evergreen/magic_8ball.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bot/exts/evergreen/magic_8ball.py') 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()) -- cgit v1.2.3