From 2a7a4be4016bb6bbe77a4f095ab104a3835813dc Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Mon, 29 Apr 2024 16:31:05 -0500 Subject: [PATCH] Fix minor bug in `whoami` --- commands.py | 2 +- config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.py b/commands.py index 9625bc3..ac60326 100644 --- a/commands.py +++ b/commands.py @@ -194,7 +194,7 @@ def fmpull(bot: bare.bot, chan: str, name: str, message: str) -> None: def whoami(bot: bare.bot, chan: str, name: str, message: str) -> None: bot.msg( - f"I think you are {name}{' (bridge)' if bot.current == 'bridge' else '@{bot.tmpHost}'}", + f"I think you are {name}{' (bridge)' if bot.current == 'bridge' else '@'+bot.tmpHost}", chan, ) diff --git a/config.py b/config.py index 34d6c14..4efc0dd 100644 --- a/config.py +++ b/config.py @@ -6,7 +6,7 @@ from typing import Optional, Any import bare, pylast load_dotenv() -__version__ = "v3.0.5-dev" +__version__ = "v3.0.6" npbase: str = ( "\[\x0303last\.fm\x03\] [A-Za-z0-9_[\]{}\\|\-^]{1,$MAX} (is listening|last listened) to: \x02.+ - .*\x02( \([0-9]+ plays\)( \[.*\])?)?" # pyright: ignore [reportInvalidStringEscapeSequence] )