MCPcopy Create free account
hub / github.com/Virtual-Protocol/virtuals-python / react

Method react

src/virtuals_sdk/twitter_agent/agent.py:243–258  ·  view source on GitHub ↗

React to a tweet

(self, session_id: str, platform: str, tweet_id: str = None, event: str = None, task: str = None)

Source from the content-addressed store, hash-verified

241 )
242
243 def react(self, session_id: str, platform: str, tweet_id: str = None, event: str = None, task: str = None):
244 """
245 React to a tweet
246 """
247 return self.game_sdk.react(
248 session_id=session_id,
249 platform=platform,
250 event=event,
251 task=task,
252 tweet_id=tweet_id,
253 goal=self.goal,
254 description=self.description,
255 world_info=self.world_info,
256 functions=self.enabled_functions,
257 custom_functions=self.custom_functions
258 )
259
260 def deploy_twitter(self):
261 """

Callers 2

example-custom.pyFile · 0.45
example-twitter.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected