- Install golang 1.17
- Create .env file with token
go mod vendor
go run main.go
- Add bot to channel
- Send
/register
to bot
curl -X "POST" "http://localhost:8000
-H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
--data-urlencode "text=Alex 2"