mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
20 lines
No EOL
383 B
Python
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
|
|
""" |