MCPcopy Create free account
hub / github.com/Syncplay/syncplay / sendChatMessage

Method sendChatMessage

syncplay/server.py:799–803  ·  view source on GitHub ↗
(self, message, skipIfSupportsFeature=None)

Source from the content-addressed store, hash-verified

797 self._connector.sendControlledRoomAuthStatus(success, username, room)
798
799 def sendChatMessage(self, message, skipIfSupportsFeature=None):
800 if self._connector.meetsMinVersion(constants.CHAT_MIN_VERSION):
801 if skipIfSupportsFeature and self.supportsFeature(skipIfSupportsFeature):
802 return
803 self._connector.sendMessage({"Chat": message})
804
805 def sendList(self, toGUIOnly=False):
806 if toGUIOnly and self.isGUIUser(self._connector.getFeatures()):

Callers 3

sendChatMethod · 0.45
sendChatMethod · 0.45
setReadyMethod · 0.45

Calls 3

supportsFeatureMethod · 0.95
meetsMinVersionMethod · 0.80
sendMessageMethod · 0.80

Tested by

no test coverage detected