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.