An open API service indexing awesome lists of open source software.

https://github.com/poyea/telegram-bot-go

🤖 Telegram personal bot written in Go
https://github.com/poyea/telegram-bot-go

Last synced: 11 months ago
JSON representation

🤖 Telegram personal bot written in Go

Awesome Lists containing this project

README

          

telegram-bot-go logo

# telegram-bot-go [![Go](https://github.com/poyea/telegram-bot-go/actions/workflows/go.yml/badge.svg)](https://github.com/poyea/telegram-bot-go/actions/workflows/go.yml)

```bash
Fired up and ready to serve.
Beep Boop Beep.
WALL-E.
```

## 🐳
```console
# docker build . -t telegram-bot
# docker run --restart=always -d -i -e TOKEN='' --name telegram-bot-live telegram-bot
```

## Set your Telegram token
You may refer to https://core.telegram.org/bots.
```console
$ export TOKEN=
```

## To build the bot
```console
$ go build -o build/tg-helper
$ build/tg-helper
```

## To run the bot
Alternatively,
```console
$ go run main.go
```

## If you like this, please
* Star
* Fork
* Contribute

## License
This repository is licensed under MIT. See also [LICENSE](LICENSE) for details.