Giter Club home page Giter Club logo

telegram-jianada28-bot-v1.0's Introduction

电报加拿大28机器人



English | 简体中文
gvwgr-kre33

付费版本,提供全套服务,付款后可直接运营(仅售400USDT)

使用方法

1.申请一个telegram机器人,获取token
2.新建telegram群组,邀请机器人进群,给予管理员权限
3.安装Node.jsMySQL
4.新建MySQL数据库,导入telegram.sql文件
5.修改app.js文件中配置,在根目录终端输入 node app 启动程序

/*配置区开始*/
var pool = mysql.createPool({
    port:3306, //mysql端口
    user     : 'telegram', //mysql用户名
    password : 'telegram', //mysql密码
    database : 'telegram', //mysql数据库
});
var token = '你的token'; //机器人的token
var chatid = 123456; //发送群或用户的id
var periodTime = 10; //每一期开奖的间隔,默认10秒
var inline_keyboard = [ //内联键盘
    [{ text: '点数统计', callback_data: '1' },{ text: '长龙统计', callback_data: '2' }], 
    [{ text: '项目介绍', callback_data: '3' ,url:"https://github.com/byprogram/telegram-jianada28-bot-v1.0"}],
    [{ text: '联系作者', callback_data: '4' ,url:"https://t.me/byprogram"}]
]
/*配置区结束*/

技术疑问交流

Telegram:@byprogram
个人主页:https://www.byprogram.xyz/

声明

本项目仅供技术研究,请勿用于任何商业用途,请勿用于非法用途,如有任何人凭此做非法事情,均于作者无关,特此声明。

telegram-jianada28-bot-v1.0's People

Contributors

byprogram 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.