Giter Club home page Giter Club logo

ssrpanel_gamebot's Introduction

原作

Forked from https://github.com/Git-Lofter/game-bot

魔改game-bot

适用于SSRPanel的telegram博彩机器人。sspanel的请访问原作。

环境要求

php7.0 + redis5.0 测试通过

如何使用

  • 导入mysql.sql至SSRPanel同一数据库,添加game,lottery数据表。
  • 导入lottery.sql至SSRPanel同一数据库,添加lottery数据表初始内容。
  • 配置config.php中的数据库和bot信息。
  • 修改telegram bot WebHook,访问:https://api.telegram.org/bot(BOT_TOKEN)/setWebhook?url=https://yoursite.com.
  • 宝塔监控 每天20:20访问一次cron.php。 php /www/wwwroot/您的安装目录/cron.php.
  • 宝塔监控 每一分钟访问一次open.php。 php /www/wwwroot/您的安装目录/open.php
  • 在网站上的个人设置里将微信号改为你的TG名称。

支付宝打赏

算了,不打了。

ssrpanel_gamebot's People

Forkers

usaweili

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.