Update handlechat.py

This commit is contained in:
Sarasayed0118 2024-04-07 05:14:58 +05:30 committed by GitHub
parent 1d5bfaca51
commit bf6cb27b88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,7 +70,7 @@ def filter_chat_message(msg, client_id):
return Main.QuickAccess(msg, client_id)
elif msg.startswith(".") and settings["allowInGameChat"]:
return Main.QuickAccess(msg, client_id)
elif msg.startswith("-dm") and settings["allowInGameDm"]:
elif msg.startswith("/dm") and settings["allowInGameDm"]:
return Main.QuickAccess(msg, client_id)
return msg