Metadata-Version: 2.2
Name: tgbot-python-v2
Version: 0.1.0
Summary: Add your description here
License: GPL-3.0-only
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: google-generativeai>=0.8.3
Requires-Dist: openai>=1.58.1
Requires-Dist: pygithub>=2.5.0
Requires-Dist: python-telegram-bot[job-queue]>=21.9
Requires-Dist: pytz>=2024.2
Requires-Dist: requests>=2.32.3

# Telegram Bot

This obsoletes the [bot written in fish](https//github.com/Hakimi0804/tgbot-fish).

## Usage

1. Get bot token from [@BotFather](https://t.me/BotFather)
1. Run credentials.py and paste the bot token (`python3 credentials.py`)
1. Run the bot (`python3 main.py`)

for details on how to make a module for the bot, refer [this](modules/README.md)

## Warnings
This codebase is pure cancer btw, not that I cannot write clean code, but I'm too
lazy to do so :p

## Sample Text for `modules/ai_spam_detection.py`
This can be used to test ai backend. Should give positive result.
```
New airdrop: Earnbet (BTC)
Total Reward: $1,000 worth of BTC
Rate: ⭐️⭐️⭐️⭐️
Winners: 50 Random
Distribution: same day

Airdrop Link: airdrop page

🔹Complete the tasks
🔹Submit your details on the airdrop page
🔹50 Random winners will receive $20 worth of BTC each

Note: Airdrop will end on 7th January and rewards will be distributed to the winners on the same day after airdrop ends.

Disclaimer: Please do your own research (DYOR) before joining to any airdrops project, also airdrop is 100% free. Don't send any fee for receiving airdrop tokens.
```

## License

This bot is licensed under GPLv3 which means you MUST make all of your changes public.

```
SPDX-License-Identifier: GPL-3.0-only

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Copyright (c) 2024, Firdaus Hakimi <hakimifirdaus944@gmail.com>
```
