Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/hirbodbehnam/mailgatherbot
- Owner: HirbodBehnam
- License: mit
- Created: 2023-02-27T19:23:54.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-13T06:16:48.000Z (3 months ago)
- Last Synced: 2024-08-13T07:34:15.559Z (3 months ago)
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
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
```