Official repository of SiskamlingBot, written in Golang
- Golang 1.15+
- MongoDB
- Nginx or OpenLiteSpeed for reverse proxy (Optional)
- Bot Token
- Clone this repo.
- Install MongoDB and create database e.g.
test
. - Copy .example.env to .env and fill all required fields.
- Type
go run .
in your CLI. - Your bot has succesfully working local as Development using Poll mode.
- Clone this repo.
- Install MongoDB and create database e.g.
test
. - Copy .example.env to .env and fill all required fields.
- Server with domain name must include HTTPS support (e.g https://yoursite.co.id) for using webhook mode.
- Run
go build .
and place your binary somewhere. - Setup reverse proxy for Web Server, here example.
- Launch bot with
./SiskamlingBot
, your bot will run using poll or webhook.