Skip to content

TGRTON/LuckNFTbot

Repository files navigation

LuckNFTbot - Telegram Bot

A Comprehensive Guide to Kickstart Your Telegram Bot Development!
Explore the Documentation »
View Demo · Report Bug · Request Feature

Downloads Contributors Issues License

Table Of Contents

About The Project

The LuckNFTbot project is a comprehensive solution for anyone looking to quickly launch a feature-rich Telegram bot. Designed for engaging communication with an interested audience, the bot facilitates AirDrop NFTs, AirDrop Tokens, and includes a robust referral program. It is an ideal starting point for both hobbyists and professionals looking to delve into the world of Telegram bots.

Built With

Developed using procedural PHP (version 7+), this project stands out for its simplicity and efficiency. The absence of third-party libraries means it's lightweight and can be deployed on any PHP and MySQL supported hosting. This straightforward approach also makes the bot highly customizable and accessible for developers at any skill level.

Getting Started

To set up this project locally and get it running smoothly, follow these straightforward steps.

Prerequisites

  • Ensure your hosting environment supports PHP 7 and MySQL.
  • Basic understanding of PHP and MySQL configuration is recommended.

Installation

To get your Telegram bot up and running, follow these installation steps. The primary script for the bot is tgbot.php, which serves as the main executable.

  1. Configure User Data in config.php:

    Edit the config.php file to include your specific user data. This configuration is crucial as it sets up the core parameters for your bot's operation. Here's a breakdown of what each line in the configuration file means:

    // Main administrative user of the bot, typically the bot owner or developer.
    $admin = 00000; // Replace 00000 with your Telegram ChatID
    
    // These are the Telegram channel nicknames used for verifying user subscriptions.
    $channel_id1 = "@nickname"; // Replace "@nickname" with the actual nickname of your channel #1
    $channel_id2 = "@nickname"; // Replace "@nickname" with the nickname of your channel #2
    $channel_id3 = "@nickname"; // And so on for your channel #3
    
    // Wallet address for receiving payments.
    $recepientWallet = "XXXX"; // Replace "XXXX" with your TON Wallet address
    
    // Social media and external links associated with the bot.
    $twitterLNK = "https://twitter.com/nickname"; // Replace with your Twitter profile link
    $TGchannel1 = ""; // Link to an advertised Telegram channel
    $TGchannel2 = ""; // Another advertised Telegram channel
    $VKLNK = "https://vk.com/nickname"; // Replace with your VK profile link
    $MetaMaskLNK = "https://tegro.click/nickname"; // Replace with your MetaMask link
    
    // Bot API Token from Telegram.
    define('TOKEN', 'XXXXX'); // Replace 'XXXXX' with your actual Bot API Token
    
  2. Database Configuration:

    • Update MySQL details in global.php.
    • Import structure from database.sql.
  3. Webhook Installation:

  4. Localize and Customize:

    • Modify bot responses in lang.php as needed.

Usage

Locate the bot in Telegram by searching @YourBot, and initiate interaction using the /start command. The bot's intuitive interface and responsive design make it easy for users to navigate and engage with its features.

Roadmap

Discover what's next for LuckNFTbot by checking our open issues for a list of proposed features and ongoing improvements.

Contributing

Your contributions are what drive the incredible growth and success of open source projects like this. We welcome and appreciate any contributions, big or small.

  • Suggestions and Improvements: Feel free to open an issue to propose changes, or directly create a pull request with your updates to the README.md.
  • Best Practices: Ensure your contributions are well-documented and error-free.
  • Respect the Process: Adhere to our Code Of Conduct and follow our contribution guidelines for a smooth collaboration.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

For more information about the license, visit License Commit Link.

Authors

Acknowledgements

  • Special thanks to Lana for their invaluable contributions to this project.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages