Skip to content

Commit

Permalink
docs: Fix dead link to auxin
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT2 committed Oct 11, 2022
1 parent 8730825 commit d3b31f9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ poetry install

## Signal-cli ##

[Signal-cli](https://github.com/AsamK/signal-cli) is a command line interface for Signal. Forest bots run with signal-cli or [auxin-cli](https://github.com/mobilecoinofficial/auxin-cli) as the backend. Auxin-cli is beta software, and does not yet allow to register a new phone number, so for this guide we will use signal-cli.
[Signal-cli](https://github.com/AsamK/signal-cli) is a command line interface for Signal. Forest bots run with signal-cli or [auxin-cli](https://github.com/mobilecoinofficial/auxin) as the backend. Auxin-cli is beta software, and does not yet allow to register a new phone number, so for this guide we will use signal-cli.

To install or run signal-cli you will need Java 17. Verify that you have it installed by running:
```bash
Expand Down
2 changes: 1 addition & 1 deletion forest/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ async def decode_signal_line(self, line: str) -> None:
# maybe also send this to admin as a signal message
for _line in tb:
logging.error(_line)
# {"jsonrpc":"2.0","method":"receive","params":{"envelope":{"source":"***REMOVED***","sourceNumber":"***REMOVED***","sourceUuid":"412e180d-c500-4c60-b370-14f6693d8ea7","sourceName":"sylv","sourceDevice":3,"timestamp":1637290344242,"dataMessage":{"timestamp":1637290344242,"message":"/ping","expiresInSeconds":0,"viewOnce":false}},"account":"+447927948360"}}
# {"jsonrpc":"2.0","method":"receive","params":{"envelope":{"source":"+***REMOVED***","sourceNumber":"+***REMOVED***","sourceUuid":"412e180d-c500-4c60-b370-14f6693d8ea7","sourceName":"sylv","sourceDevice":3,"timestamp":1637290344242,"dataMessage":{"timestamp":1637290344242,"message":"/ping","expiresInSeconds":0,"viewOnce":false}},"account":"+447927948360"}}
try:
await self.enqueue_blob_messages(blob)
except KeyError:
Expand Down
4 changes: 2 additions & 2 deletions forest/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class Quote(Dictable):
def __init__(self, quote: dict) -> None:
assert quote
# signal-cli:
# {"id":1641591686224,"author":"***REMOVED***","authorNumber":"***REMOVED***","authorUuid":"412e180d-c500-4c60-b370-14f6693d8ea7","text":"hi","attachments":[]}
# {"id":1641591686224,"author":"+***REMOVED***","authorNumber":"+***REMOVED***","authorUuid":"412e180d-c500-4c60-b370-14f6693d8ea7","text":"hi","attachments":[]}
# auxin:
# {'authorUuid': 'da1fb04c-bf1a-458f-92c7-6f21ad443684', 'id': 1647300333914, 'text': '/pong'}
self.ts = quote["id"]
Expand All @@ -213,7 +213,7 @@ def __init__(self, blob: dict) -> None:
self.id = blob.get("id")
result = blob.get("result", {})
self.envelope = envelope = blob.get("envelope", {})
# {"envelope":{"source":"***REMOVED***","sourceNumber":"***REMOVED***","sourceUuid":"412e180d-c500-4c60-b370-14f6693d8ea7","sourceName":"sylv","sourceDevice":3,"timestamp":1637290589910,"dataMessage":{"timestamp":1637290589910,"message":"/ping","expiresInSeconds":0,"viewOnce":false}},"account":"+447927948360"}
# {"envelope":{"source":"+***REMOVED***","sourceNumber":"+***REMOVED***","sourceUuid":"412e180d-c500-4c60-b370-14f6693d8ea7","sourceName":"sylv","sourceDevice":3,"timestamp":1637290589910,"dataMessage":{"timestamp":1637290589910,"message":"/ping","expiresInSeconds":0,"viewOnce":false}},"account":"+447927948360"}
self.uuid = envelope.get("sourceUuid")
self.source: str = envelope.get("source") or self.uuid
self.name: str = envelope.get("sourceName") or self.source
Expand Down
2 changes: 1 addition & 1 deletion imogen/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ kill_timeout = 5
processes = []

[env]
BOT_NUMBER="***REMOVED***"
BOT_NUMBER="+***REMOVED***"
SIGNAL="signal-cli"
LOGLEVEL="DEBUG"

Expand Down
2 changes: 1 addition & 1 deletion sample_bots/tiamat.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def payments_test(
return Test(name, name, recipient, steps=steps)


imogen = "+12406171474" # "***REMOVED***"
imogen = "+12406171474" # "+***REMOVED***"
echopay = get_secret("ECHOPAY")

ping_test = script_test(
Expand Down

0 comments on commit d3b31f9

Please sign in to comment.