sebatibot is a Telegram bot (written in Go) slash brainchild of me and my #1 favorite person in the world, @mlsaito. I won't go saying this is meant to be innovative or that sebatibot can do stuff you've never seen before because, honestly, as of writing, sebatibot is simply a project Mako and I (plan to) bond over during the weekends (aside from Monster Hunter: World and other stuff).
Nothing much at the moment :lmao: but here's our partial list:
-
reminds you:
remind me to go to the bank and pay my credit card later at 3:30pm
where sebatibot will respond and tell you
I will remind you to “go to the bank and pay my credit card later” at 3:30PM today.
-
says hello to you!
hi sebatibot!
and sebatibot will then say
hello!
Install glide
, Golang dependency manager
### For MacOS
$ brew install glide
Clone the project to your Go src
folder
$ cd $GOPATH/src
$ git clone https://github.com/kbleabres/sebatibot.git
$ cd sebatibot
Install all dependencies in project vendor folder.
$ glide install
Run the application
$ go run main.go
OR Run the following docker commands
## Build the docker image
$ docker build -t sebatibot .
# Run the API in a container.
$ docker run -p 3000:3000 sebatibot
$ curl http://localhost:3000
Expected Output:
Welcome!
Download ngrok here. Move ngrok to sebatibot folder. Execute ngrok to generate public URL.
$ ./ngrok http 3000
Copy URL to main.go on this line:
webhookUrl := "https://38e44fc0.ngrok.io/" + os.Getenv("TOKEN")
Update your .env with the appropriate TOKEN. Run main.go and send a message to Sebatibot on Telegram.
Special thanks to our reference boilerplate.
Please read our CONTRIBUTING.md before contributing.