forked from Firepup650/FireBot
Compare commits
No commits in common. "b50a6aef00ada7cb227e0a965e0d783da63edf2f" and "ce5c979e8dd2f3d4caddd850835e0a722978a3c4" have entirely different histories.
b50a6aef00
...
ce5c979e8d
2 changed files with 1 additions and 6 deletions
|
@ -6,7 +6,7 @@ from typing import Optional, Any
|
|||
import bare, pylast
|
||||
|
||||
load_dotenv()
|
||||
__version__ = "v3.0.7"
|
||||
__version__ = "v3.0.7-dev"
|
||||
npbase: str = (
|
||||
"\[\x0303last\.fm\x03\] [A-Za-z0-9_[\]{}\\|\-^]{1,$MAX} (is listening|last listened) to: \x02.+ - .*\x02( \([0-9]+ plays\)( \[.*\])?)?" # pyright: ignore [reportInvalidStringEscapeSequence]
|
||||
)
|
||||
|
|
|
@ -172,10 +172,6 @@ def PART(bot: bare.bot, msg: str) -> tuple[None, None]:
|
|||
bot.channels.pop(channel, None)
|
||||
return None, None
|
||||
|
||||
def QUIT(bot: bare.bot, msg: str) -> tuple[None, None]:
|
||||
if bot.server == "replirc":
|
||||
if msg.split("!", 1)[0][1:] == "FireMCBot":
|
||||
bot.send("TOPIC #firemc :FireMC Relay channel (offline)\n")
|
||||
|
||||
def NULL(bot: bare.bot, msg: str) -> tuple[None, None]:
|
||||
return None, None
|
||||
|
@ -190,5 +186,4 @@ handles: dict[
|
|||
"PART": PART,
|
||||
"MODE": NULL,
|
||||
"TOPIC": NULL,
|
||||
"QUIT": QUIT
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue