Fixed the capitalisation issue #2

Merged
Sugary merged 2 commits from chiefjazzdiewltr/nyabot:master into master 2024-03-16 10:03:50 +00:00
Showing only changes of commit 4517b17a50 - Show all commits

View file

@ -293,7 +293,7 @@ async def on_message(message: discord.Message):
# Should prevent the bot from being accidentally triggered from now on. Also will make
# the people here have to say nya more often which is always a bonus.
if (message.content.lower().startswith('nya')) == False:
if message.content.lower().startswith('nya') == False:
return
# TODO: Do proper parsing of the message