ACGFans126 on Nostr: ...
構思也不太難,就是弄一個bot,用npub,身份存在於所有節點,接收端和發言端使用群主指定的5~6個節點
像網絡初期的聊天應用一樣,群主和群管理用/list /ban /relayReceive /relayAssign 等指令碼來控制bot 的行動
例:
輸入/admin = (第一次有效) 認證群主npub來源並記錄
輸入/list = bot 將指令列表發出
輸入/relayDistribAdd + relay address = 加入發送端relay
輸入 /relayReceiveAdd + relay address = 加入接收端relay
輸入 /relayReceiveCancel = 令某個被relay收到的信息不再轉發(防備bot)
然後BOT的個人頁面是接收端relay的公告
Published at
2023-02-09 16:00:50Event JSON
{
"id": "61b2b519ce5476989fa01b1ab15044f652c41c1bd97692ea972c8e61ce1cd0c7",
"pubkey": "1b779f644ea5e942ed1345f1b8843460f081782d47960a4653a345038d6ac11a",
"created_at": 1675958450,
"kind": 1,
"tags": [
[
"e",
"fd6c1532e890e152d1a570b99f194d3a20093fc871e9c88e30e0b449dbff75d3"
],
[
"e",
"ad9f508df4d4af129ba20161842e07beeda78780019bfb213095af84c571d0fa"
],
[
"e",
"ce27a50fd1b55692baa5067c3538d4ecb5738f6b3325fa45faf7a275ea0116a3"
],
[
"p",
"1b779f644ea5e942ed1345f1b8843460f081782d47960a4653a345038d6ac11a"
]
],
"content": "構思也不太難,就是弄一個bot,用npub,身份存在於所有節點,接收端和發言端使用群主指定的5~6個節點\n\n像網絡初期的聊天應用一樣,群主和群管理用/list /ban /relayReceive /relayAssign 等指令碼來控制bot 的行動\n\n例:\n輸入/admin = (第一次有效) 認證群主npub來源並記錄\n輸入/list = bot 將指令列表發出\n輸入/relayDistribAdd + relay address = 加入發送端relay\n輸入 /relayReceiveAdd + relay address = 加入接收端relay\n輸入 /relayReceiveCancel = 令某個被relay收到的信息不再轉發(防備bot)\n\n然後BOT的個人頁面是接收端relay的公告",
"sig": "f7cd1a14238e076d616b3ee58f1f3eaf7b0492138ba4ce919f63189fd22646f5c9a4f1d3a9cd13ec02c2b0a3f4b3f94be2760620a3a6ca82e7389969b000276b"
}