MCPcopy Create free account
hub / github.com/bnjbvr/trinity / onMsg

Method onMsg

java-module/TrinityModuleImpl.java:18–23  ·  view source on GitHub ↗
(String content, String authorId, String authorName, String room)

Source from the content-addressed store, hash-verified

16 }
17
18 public static ArrayList<TrinityModule.Message> onMsg(String content, String authorId, String authorName, String room) {
19 TrinityModule.Message msg = new TrinityModule.Message("Hello, " + authorId + "!", authorId);
20 ArrayList<TrinityModule.Message> list = new ArrayList();
21 list.push(msg);
22 return list;
23 }
24}

Callers 1

wasmExportOnMsgMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected