Repository navigation
Expand file tree
/
Copy pathbots.config.example.json
More file actions
39 lines (39 loc) Β· 1.84 KB
/
Copy pathbots.config.example.json
File metadata and controls
39 lines (39 loc) Β· 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[
{
"name": "echo-bot",
"channel": "#echo",
"enabled": true,
"minHops": 1,
"maxMessageBytes": 120,
"commands": [
{
"trigger": "!echo",
"response": "π @[{sender}]! {hopCount} hops via {path}",
"overflowResponse": "π @[{sender}]! {hopCount} hops - π https://map.okimesh.org/#/packets/{hash}"
},
{
"trigger": "!spam",
"response": "π @[{sender}]! {hopCount} hops via {path}",
"overflowResponse": "π @[{sender}]! {hopCount} hops - π https://map.okimesh.org/#/packets/{hash}"
},
{ "trigger": "!about", "response": "π€ Robotti is a mesh network bot that can echo messages, and provide packet links. Use !commands to see commands."},
{ "trigger": "!commands", "response": "Available commands: !about, !commands, !echo, !packet, !link, !lookup, !stats" },
{ "trigger": "!packet", "response": "π @[{sender}] - https://map.okimesh.org/#/packets/{hash}"},
{ "trigger": "!link", "response": "π https://github.com/Robotti-io/Meshcore-Observer" },
{
"trigger": "!lookup",
"kind": "lookup",
"foundResponse": "π‘ @[{sender}]! {nodePrefix} (heard {lastHeard}) = {name}",
"notFoundResponse": "β @[{sender}]! no repeater with prefix {query} heard in our list of {repeaterCount} repeaters.",
"ambiguousResponse": "β οΈ @[{sender}]! {matchCount} repeaters match {query}, most recent: {name} - use more hex digits",
"invalidResponse": "β οΈ @[{sender}]! give at least 1 byte in hex, e.g. !lookup E8"
},
{
"trigger": "!stats",
"kind": "stats",
"response": "π {range}: {packetsReceived} pkts, {packetsDecoded} decoded, {repliesSent} replies, {repeatersHeard} repeaters",
"usageResponse": "β οΈ usage: !stats <1h|6h|1d|3d|all>"
}
]
}
]