Bombsquad-Ballistica-Modded.../dist/ba_root/mods/chatHandle/handlechat.py
Ayush Saini bd5bbb4995 bugs fix
now server can start atleast
2021-04-22 14:54:47 +05:30

20 lines
No EOL
383 B
Python

# Released under the MIT License. See LICENSE for details.
from playersData import pdata
from chatHandle.ChatCommands import Main
import ba, _ba
def filter_chat_message(msg, client_id):
if msg.startswith("/"):
return Main.Command(msg, client_id)
return msg
"""
if chatfilter.isAbuse(msg):
pdata.warn(public_id(client_id))
return None
return msg
"""