points command server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
James Storey fa67f49cab typo 2 months ago
.gitignore start on scoring command 2 months ago
Dockerfile add docker config 2 months ago
LICENSE Initial commit 2 months ago
README.md Update readme for with examples 2 months ago
docker-compose.yaml add docker config 2 months ago
go.mod rework internal and output data structures 2 months ago
go.sum rework internal and output data structures 2 months ago
main.go typo 2 months ago


Sysreturn Point Commands

Server receives slack slash commands to read or write a database file. Uses https://git.sysreturn.net/auxreturn/sysreturn-points as file database.


The triggering command is set to /points. subcommands are accepted through the “text” parameter of the http body.

	prints this message

	returns message listing current scores

<name>[!] [<details>]
	Increments the score of the named user given by the caller.
	An optional exclaimation-point(!) can be added to the end 
	of the name to indicate a particularly egregious score

	Optionally add details to the event after the name. All text in 
	the command after the name are considered part of the details

	/points josh
		adds a point to josh's score

	/points josh!
		adds a big score to josh's score

	/points josh big mustard pun
		adds to josh's score with an added log detail of "big mustard pun"

reference: https://api.slack.com/slash-commands https://api.slack.com/docs/verifying-requests-from-slack