From e23ff2ca3e19a3fb891fabde4f4a1c219fd00c17 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 23 Nov 2017 08:38:52 -0500 Subject: [PATCH] document commandss --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/README.md b/README.md index 289c350..3ab6a1c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,53 @@ # grahamcofborg +## Commands + +1. To trigger the bot, the comment _must_ start with a case + insensitive version of `@GrahamcOfBorg`. +2. To use multiple commands, insert a bit of whitespace and then your + new command. + +Commands: + +``` +@grahamcofborg build list of attrs +``` + +``` +@grahamcofborg eval +``` + +Multiple Commands: + +``` +@grahamcofborg build list of attrs +@grahamcofborg eval +``` + +or even: + +``` +@grahamcofborg build list of attrs @grahamcofborg eval +``` + +This will _not_ work: + +``` +looks good to me! +@grahamcofborg build list of attrs +``` + +Also this is bad: + +``` +@grahamcofborg build list of attrs +looks good to me! +``` + +as it'll try to build `list` `of` `attrs` `looks` `good` `to` `me!`. + +# arch + 1. All github events go in to web/index.php, which sends the event to an exchange named for the full name of the repo (ex: nixos/nixpkgs) in lower case. The exchange is set to "fanout"