This commit is contained in:
Auric Vente
2024-04-20 13:00:43 -06:00
parent 0254aa773b
commit bf26702639

View File

@@ -226,6 +226,9 @@ async def on_message(ws, message):
except BaseException:
return
if data["data"]["name"] == username:
return
if data["type"] == "files":
dta = data.get("data")
@@ -250,9 +253,6 @@ async def on_message(ws, message):
if blocked():
return
if data["data"]["name"] == username:
return
text = data["data"]["text"].strip()
if not text.startswith(prefix):