blob: e1d19676b06aa65b29b575886c4e567c7a7e5edd (
plain)
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
|
.Dd December 19, 2018
.Dt CADEYBOT 1 URM
.Sh NAME
.Nm cadeybot
.Nd Markov bot based on my discord GDPR dump.
.Sh SYNOPSIS
.Nm
.Op Fl token Ar TOKEN
.Op Fl brain Ar BRAIN
.Sh DESCRIPTION
.Nm
is a simple markov chatbot. Mention it in any channel the bot is in to make it spew out amusing text.
.Bl -tag -width " " -offset indent -compact
.It Ev TOKEN Fl token Ar TOKEN
Specifies the Discord token that
.Nm
will use for client communication.
.It Ev BRAIN Fl token Ar TOKEN
Specifies the Markov chain brain that
.Nm
should load data into cadey.gob from.
.El
.Sh IMPLEMENTATION NOTES
In order for
.Nm
to get markov bot data, please put the importer tool and corpusmake.sh into the messages folder of your Discord GDPR dump. Then run corpusmake.sh and pass the resulting brain.txt as -brain to
.Nm .
.Sh EXAMPLES
.Li cadeybot
.Li cadeybot -brain brain.txt
.Sh DIAGNOSTICS
.Ex -std cadeybot
.Sh SEE ALSO
.Bl -bullet
.It
.Lk hyperlink: https://discordapp.com Discord
.El
|