This commit is contained in:
Auric Vente 2024-04-20 13:00:43 -06:00
parent 0254aa773b
commit bf26702639
1 changed files with 3 additions and 3 deletions

View File

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