From 2b01970c14e437cfb5dcfa7e5e358e8518e8a5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastiaan=20Dani=C2=89=C2=89els?= Date: Fri, 19 Apr 2024 20:24:24 +0200 Subject: [PATCH] Update polls.py --- cogs/polls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cogs/polls.py b/cogs/polls.py index fe325387..b4844068 100644 --- a/cogs/polls.py +++ b/cogs/polls.py @@ -6,16 +6,16 @@ import database -class MessageCounter(commands.Cog): - def __init__(self: MessageCounter, bot: commands.Bot) -> None: +class Polls(commands.Cog): + def __init__(self: Polls, bot: commands.Bot) -> None: self.bot = bot self.db = database.connect() self.cursor = self.db.cursor() @commands.Cog.listener() - async def on_message(self: MessageCounter, message: discord.Message) -> None: + async def on_message(self: Polls, message: discord.Message) -> None: ... def setup(bot: commands.Bot) -> None: - bot.add_cog(MessageCounter(bot)) + bot.add_cog(Polls(bot))