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] )