mata_bot

some cheeky bot for #unix_surrealism
git clone https://git.pastanoggin.com/mata_bot.git
Log | Files | Refs | README | LICENSE

commit a199d22b47feb506d546b9ba5821830dc2b8c2f0
parent e9ae263711555c8ad2f1dd9d39721ca918cd445e
Author: noodle <noodle@pastanoggin.com>
Date:   Tue, 17 Jun 2025 16:27:05 +0300

matabot.8: split lines that have more than one sentence

mdoc takes care of inter-sentence spacing.
thanks, humm!

Diffstat:
Mmatabot.8 | 33+++++++++++++++++++++------------
1 file changed, 21 insertions(+), 12 deletions(-)

diff --git a/matabot.8 b/matabot.8 @@ -22,8 +22,8 @@ starts an IRC bot nicknamed .Sq mata_bot and joins the channel .Sq #testmatabot -on localhost (port 6667) with with TLS turned off by default. It's typically -started as a daemon via an rc.d script. +on localhost (port 6667) with with TLS turned off by default. +It's typically started as a daemon via an rc.d script. .Pp The options are as follows: .Bl -tag -width Ds @@ -58,23 +58,27 @@ Load the quotes file from Turn on TLS. .El .Sh COMMANDS -Bot can do some tricks (non-exhaustive list. he's kinda flexible so just speak to him :3): +Bot can do some tricks (non-exhaustive list. +he's kinda flexible so just speak to him :3): .Bl -tag -width Ds .It ...mata_bot... Says something! This boy talks back!? .It mata_bot, What doth life? or mata_bot, What doth life? -Answers your burning questions... (can't hear you if you don't +Answers your burning questions... +(can't hear you if you don't .Sq \&? him). .It ...http://what.ever/idk#lol... or ...https://what.ever/idk#lol... -Reads the website title or content-type for you. +Reads out the website title or content-type for you. .It ...watch?=SOMEID... -Reads out the youtube video title for you (make sure that the char after end of +Reads out the youtube video title for you. +(Make sure that the char after end of .Sq SOMEID is outside the range of valid characters for youtube video ID's okay?). .It mata_bot ...${number1}d${number2}... -Rolls some ${number1} of ${number2}-sided dice. He's a dungeon master too!! -.It mata_bot, good boy! (or boi, girl, bot) +Rolls some ${number1} of ${number2}-sided dice. +He's a dungeon master too!! +.It mata_bot, good boy! (or boi, girl, bot). Praise your future master. .It thank you mata_bot!! Thank your future master. @@ -92,7 +96,8 @@ Ask him how he's doin. .It Pa /etc/rc.d/matabot OpenBSD rc script for running matabot as a service. .It Pa /usr/local/share/matabot/ball -8ball answers file. has 10 answers for positive, negative, and ambigious each +8ball answers file. +has 10 answers for positive, negative, and ambigious each; keep the ratio when adding new lines as the answer is chosen randomly from the file. .It Pa /usr/local/share/matabot/quotes @@ -152,10 +157,14 @@ Test on a local ircd (without TLS): .An noodle Aq Mt noodle@pastanoggin.com Ns . . .Sh CAVEATS -Noodle (noodle) is the only person in chat who can give direct commands to mata_bot (it's hard-coded. sorry). +Noodle (noodle) is the only person in chat who can give direct commands to mata_bot. +(It's hard-coded. +Sorry). .Sh BUGS -The bot doesn't have the ability te re-connect on network loss yet. You can +The bot doesn't have the ability te re-connect on network loss yet. +You can .Sq rcctl restart matabot for now. .Pp -The bot cannot detach from terminal yet to become a daemon. daemon-izing is handled in the rc service script. +The bot cannot detach from terminal yet to become a daemon. +daemon-izing is handled in the rc service script.