Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hirbodbehnam/mailgatherbot

A Telegram bot to gather emails from users in a group for a purpose.
https://github.com/hirbodbehnam/mailgatherbot

Last synced: 14 days ago
JSON representation

A Telegram bot to gather emails from users in a group for a purpose.

Awesome Lists containing this project

README

        

# Mail Gather Bot

A Telegram bot to gather mails for an event in a group.

## Running

To run the bot, at first build it. Then set `DATABASE_NAME` and `API_TOKEN` environment variables. For example:

```bash
export CGO_ENABLED=1
go build -o mail-gather-bot
export API_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
export DATABASE_NAME=database.db
./mail-gather-bot
```