From e191df1a38e020f5f7569cab54bc0ff80a707e25 Mon Sep 17 00:00:00 2001 From: imcompiling Date: Wed, 16 Jul 2025 15:57:31 -0400 Subject: [PATCH] Fix: spelling and ignore pylance warning. --- dakiny_bot/cogs/message_listener/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dakiny_bot/cogs/message_listener/__init__.py b/dakiny_bot/cogs/message_listener/__init__.py index e1a08a3..56b2285 100644 --- a/dakiny_bot/cogs/message_listener/__init__.py +++ b/dakiny_bot/cogs/message_listener/__init__.py @@ -17,7 +17,7 @@ class SubmissionListener(commands.Cog, name="Message Listener"): async def on_message(self, message: nextcord.Message) -> None: """Listener for message creation. Adds score and attachments to submission.""" # don't want to process any messages from bot. - if message.author.id == self.bot.user.id: + if message.author.id == self.bot.user.id: # pyright: ignore[reportOptionalMemberAccess] return # Ban all members who message in this channel. Everyone in guild is a member, so shouldn't miss a ban @@ -40,7 +40,7 @@ def setup(bot: commands.Bot) -> None: async def birthday_action(message: nextcord.Message) -> None: """ - Checks a message's auther and mentions to see if they are in the birthday list. + Checks a message's author and mentions to see if they are in the birthday list. Args: message (nextcord.Message): The message to check for a birthday person.