From e7868fd7a3de77d311d6a4e53400ee23be82059a Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 15 Jun 2018 02:44:10 +0200 Subject: [PATCH] added readme --- README.md | 13 +++++++++++++ sudobot | 1 + 2 files changed, 14 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6872115 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +**sudobot** is a Mastodon bot that toots offensive insults from sudo. + +# Installation and usage + +```SH +wget https://schlomp.space/tastytea/sudobot/raw/branch/master/sudobot +chmod +x sudobot +echo "token=" > ~/.config/sudobot.cfg +./sudobot +``` + +sudobot will download the offensive insults from sudo.ws on the first run. +It will toot an insult every time you start it, with the CW "insult". diff --git a/sudobot b/sudobot index 6eda366..86f4423 100755 --- a/sudobot +++ b/sudobot @@ -32,6 +32,7 @@ main() token=$(echo $token | sed 's/^.*=//') else echo "ERROR: no config file found in ${cfg}" >&2 + echo "Create it with the contents: token=" >&2 exit 1 fi