-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig-sample.toml
132 lines (112 loc) · 2.5 KB
/
config-sample.toml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# db_path = "/path/to/frozenbbs/frozenbbs.db"
bbs_name = "My Frozen BBS❅"
my_id = "!cafeb33d"
serial_device = "/dev/ttyUSB0"
tcp_address = "localhost:4403"
sysops = []
public_channel = 0
ad_text = "I'm running a BBS on this node. DM me to get started!"
[menus.General]
help_suffix = "G"
[[menus.General.commands]]
arg = "?"
help = "Who and where am I?"
pattern = "\\?"
available = "always"
func = "state::describe"
[[menus.General.commands]]
arg = "U"
help = "Recently active users"
pattern = "u"
available = "always"
func = "user::active"
[[menus.General.commands]]
arg = "S"
help = "Recently seen users"
pattern = "s"
available = "always"
func = "user::seen"
[[menus.General.commands]]
arg = "DM user msg"
help = "Send a message"
pattern = "(?s)dm\\s*(\\S+)\\s+(.+?)\\s*"
available = "always"
func = "dm::send"
[[menus.General.commands]]
arg = "BIO"
help = "Show your bio"
pattern = "bio"
available = "always"
func = "user::bio_read"
[[menus.General.commands]]
arg = "BIO msg"
help = "Update your bio"
pattern = "(?s)bio\\s*(.+?)\\s*"
available = "always"
func = "user::bio_write"
[menus.Board]
help_suffix = "B"
[[menus.Board.commands]]
arg = "B"
help = "Board list"
pattern = "b"
available = "always"
func = "board::lister"
[[menus.Board.commands]]
arg = "Bn"
help = "Enter board #n"
pattern = "b\\s*(\\d+)"
available = "always"
func = "board::enter"
[[menus.Board.commands]]
arg = "Q"
help = "Read the next unread message in any board"
pattern = "q"
available = "always"
func = "board::quick"
[[menus.Board.commands]]
arg = "P"
help = "Read the previous message"
pattern = "p"
available = "in_board"
func = "board::previous"
[[menus.Board.commands]]
arg = "R"
help = "Read the current message"
pattern = "r"
available = "in_board"
func = "board::current"
[[menus.Board.commands]]
arg = "N"
help = "Read the next message"
pattern = "n"
available = "in_board"
func = "board::next"
[[menus.Board.commands]]
arg = "W msg"
help = "Write a new message"
pattern = "(?s)w\\s*(.+?)\\s*"
available = "in_board"
func = "board::write"
[[menus.Board.commands]]
arg = "BA"
help = "Show the current message's author."
pattern = "ba"
available = "in_board"
func = "board::author"
[menus.Local]
help_suffix = "L"
[[menus.Local.commands]]
arg = "LA"
help = "Send an advertisement to the public channel."
pattern = "la"
available = "local"
func = "sysop::advertise"
[menus.Sysop]
help_suffix = "!"
[[menus.Sysop.commands]]
arg = "!A"
help = "Send an advertisement to the public channel."
pattern = "!a"
available = "sysop"
func = "sysop::advertise"