Coder Social home page Coder Social logo

cc-checker's Introduction

This is a Telegram bot written in Python using the Pyrogram framework. The bot fetches card information from a specific Telegram channel and performs actions based on the fetched data.

Prerequisites

Before running the bot, make sure you have the following prerequisites installed:

  • Python 3.8 or higher
  • pip package manager

Installation

  1. Clone the repository:

    git clone https://github.com/BalaPriyan/CC-Checker.git
    
  2. Change into the project directory: cd telegram-bot

  3. Install the required packages: pip install -r requirements.txt

Configuration

1.Open the config.py file in a text editor.

2.Replace the following placeholders with your own values:

API_ID: Your Telegram API ID obtained from the Telegram API platform. API_HASH: Your Telegram API hash obtained from the Telegram API platform. PHONE_NUMBER: Your phone number associated with your Telegram account. CHANNEL: The channel URL or username where you want to fetch the messages from. LOG_CHANNEL: The username or ID of your log channel where the mirrored activities will be sent. BOT_USERNAME: Your bot's username. MONGO_URI: Your MongoDB connection URI. DATABASE_NAME: The name of the MongoDB database to use. COLLECTION_NAME: The name of the MongoDB collection to use. TELEGRAPH_TOKEN: Your Telegraph token obtained from the Telegraph API platform.

Usage

1.Run the bot using the following command:

python bot.py

2.The bot will connect to the specified Telegram channel, fetch card information, and perform actions based on the fetched data.

3.The bot will also send a welcome message with a button to the log channel and the user. The user can click the button to access the bot.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

You can create a README.md file in your project's root directory and replace the placeholders with the appropriate information for your bot. This README.md file provides instructions on installation, configuration, usage, and contributing to the project. Additionally, it includes a license section where you can specify the license for your bot (e.g., MIT License). Feel free to customize the file according to your needs and add any additional sections or information as required.

cc-checker's People

Contributors

balapriyan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.