This Telegram bot helps in managing group chats, providing cryptocurrency prices, and greeting new members.
- Chat Management:
- Tracks changes in chat membership.
- Logs when a user starts or blocks the bot in private chats.
- Logs when the bot is added to or removed from groups or channels.
- Greeting New Members:
- Welcomes new members in group chats.
- Sets a time limit for new members to introduce themselves; otherwise, they get banned.
- Cryptocurrency Price Checking:
- Provides real-time cryptocurrency prices fetched from CoinMarketCap.
- Displays detailed information about the requested cryptocurrency, including price changes, volume, opening/closing prices, and more.
- Supports a wide range of cryptocurrency symbols.
- Error Handling:
- Logs exceptions that occur during bot operation.
- Notifies the developer about errors via Telegram messages, facilitating rapid debugging.
- Python 3.x
- Install required Python packages:
pip install -r requirements.txt
- Create a
secrets.json
file with your API keys and Telegram bot token. - Create a
credentials.txt
file with your binance credentials
Run the script:
python main.py
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request. Make sure to follow the contribution guidelines.
This project is licensed under the MIT License.
For any questions or inquiries, please contact meghamgarg@gmail.com.