(self, message)
| 971 | |
| 972 | @requireServerFeature("chat") |
| 973 | def sendChat(self, message): |
| 974 | if self._protocol and self._protocol.logged: |
| 975 | try: |
| 976 | message = message.replace("\n", "").replace("\r", "") |
| 977 | except: |
| 978 | pass |
| 979 | message = utils.truncateText(message, constants.MAX_CHAT_MESSAGE_LENGTH) |
| 980 | self._protocol.sendChatMessage(message) |
| 981 | |
| 982 | @requireServerFeature("setOthersReadiness") |
| 983 | def setOthersReadiness(self, username, newReadyStatus): |
nothing calls this directly
no test coverage detected