Skip to content

Commit

Permalink
v0.8.3 - Fix spelling and ruff formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 committed Oct 18, 2023
1 parent d5a6660 commit 2c4f143
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/StatusBot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

__title__ = "StatusBot"
__author__ = "CoolCat467"
__version__ = "0.8.2"
__version__ = "0.8.3"
__ver_major__ = 0
__ver_minor__ = 8
__ver_patch__ = 2
__ver_patch__ = 3

import asyncio
import base64
Expand Down Expand Up @@ -2054,13 +2054,13 @@ async def on_message(self, message: discord.message.Message) -> None:
args = parse_args(message.clean_content.lower())
pfx = args[0] == self.prefix if len(args) >= 1 else False
# of it starts with us being mentioned,
meant = False
mentioned = False
if message.content.startswith("<@"):
new = message.content.replace("!", "")
new = new.replace("&", "")
assert self.user is not None, "self.user is None"
meant = new.startswith(self.user.mention)
if pfx or meant:
mentioned = new.startswith(self.user.mention)
if pfx or mentioned:
# we are, in reality, the fastest typer in world. aw yep.
async with message.channel.typing():
# Process message as guild
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.2
0.8.3

0 comments on commit 2c4f143

Please sign in to comment.