girinovey on Nostr: Done, i now have a fully working bot that does like that: 1- waits for a message from ...
Done, i now have a fully working bot that does like that:
1- waits for a message from the reply Guy
2- when found, replies to it and waits for replies
3- if found a reply to my reply, go back to 2
4- else, after 10 secs without reply, go back to 1
It's in golang, i can send you the code as a private message (are private messages here encrypted?)
Published at
2024-09-22 19:10:11Event JSON
{
"id": "e9163dac5378c65f907d4702f0c0f5f3df29f8b1f7df7ad83225cf5704a9753a",
"pubkey": "3ffac3a6c859eaaa8cdddb2c7002a6e10b33efeb92d025b14ead6f8a2d656657",
"created_at": 1727032211,
"kind": 1,
"tags": [
[
"e",
"f149d495de508fa72df1533d5df476aa300cb4616044065d597425b63580bcc0",
"",
"root"
],
[
"e",
"9f4f448e4b90c2f1bb90186eb65e154a3ce2825a4a42a01741376b028bb132c4",
"",
"reply"
],
[
"p",
"3ffac3a6c859eaaa8cdddb2c7002a6e10b33efeb92d025b14ead6f8a2d656657"
],
[
"p",
"8685ebef665338dd6931e2ccdf3c19d9f0e5a1067c918f22e7081c2558f8faf8"
]
],
"content": "Done, i now have a fully working bot that does like that:\n1- waits for a message from the reply Guy\n2- when found, replies to it and waits for replies\n3- if found a reply to my reply, go back to 2\n4- else, after 10 secs without reply, go back to 1\n\nIt's in golang, i can send you the code as a private message (are private messages here encrypted?)",
"sig": "c7c25ef296739255fb71b27fe0a1ffb9aee9319a97433b61959aefb9460e5944fe3c7346131f96ba44d7018bd7e6601bcda5e88bff0d2d437056b883312fb737"
}