fix message parsing

master
dsc 2 years ago
parent 0ea32e8c21
commit 07ac409352

@ -169,11 +169,9 @@ async def handle_msg(nick, msg, target, now: float):
def _err(target, err):
return bot.send("PRIVMSG", target=target, message=err)
if "!dall" not in msg:
if "re @" in msg:
return
spl = msg.split(' ')
if "!dall" not in spl[:3]: # stupid fix for IRC bridge bots
if "!dall" not in msg:
return
msg = msg[msg.find("!dall"):]

Loading…
Cancel
Save