Giter Site home page Giter Site logo

v2boardbot's Introduction

许可证

知识共享许可协议
v2boardbotv2boardbot 采用 知识共享 署名-非商业性使用-相同方式共享 4.0 国际 许可协议进行许可。
基于https://github.com/v2boardbot/v2boardbot上的作品创作。

声明: 本程序仅为个人学习使用,切勿用于商业用途

联系我们

如果有定制需求可联系个人电报,包括但不限于:数据采集、数据分析、数据标注、数据可视化、网站开发、公司官网建设、微信小程序开发、机器学习、深度学习、量化交易、毕业论文指导。

邮箱地址:[email protected]

电报群组:V2BoardBot

测试机器人:@v2boarddevbot

个人电报:@k23223

食用

机器人创建

请自行 @BotFather 创建机器人

机器人群组隐私设置

@BotFather 发送/mybots > 你的机器人 > Bot Settings > Group Privacy > Turn off

如果是Turn on就是禁用隐私设置了,不需要更改

老虎机等玩法依赖 Group Privacy ,如果 Group Privacy 为Turn off 将无法使用

克隆仓库

在你需要部署的机器上克隆本项目

git clone https://github.com/v2boardbot/v2boardbot.git

一键安装

cd v2boardbot
sh install.sh

安装完成会提示前台运行和后台运行,每次更新或者首次运行先前台运行,没问题以后再后台运行

更新

项目更新以后在你克隆的项目目录里执行git pull,如果更新日志中存在本地数据库更新类似的提示,删除本地的bot.db

然后执行sh install.sh

高级使用

如果是后台运行想要退出机器人或者重新启动机器人,运行ps -axu|grep Bot.py命令,也可通过该命令查看后台运行是否正常

[root@mycentos v2boardbot]# ps -axu|grep Bot.py
root      76614  2.9  2.2 264612 41208 pts/2    S    18:38   0:00 /root/v2boardbot/python-3.9.7/bin/python3.9 Bot.py
root      76652  0.0  0.0 112824  1000 pts/2    S+   18:39   0:00 grep --color=auto Bot.py

76614就是机器人运行的进程ID,可以使用kill -9 76614命令杀死机器人进程,76614换成你自己的进程ID

防白痴说明

在群内发送 设置为开奖群 可开启老虎机 可单独建一个专门开奖群

代码修改

本项目遵循Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)开源协议,在你有修改代码的能力的前提下,可遵循本协议继续开发;所有衍生版本不得修改版权信息(包括但不限于机器人菜单底部的项目链接按钮),自20230912.1 main起生效。

运行截图

管理端

image-20230831160608065

用户端

image-20230831160707624

image-20230831161022375

TODO

  • 重置流量

更新记录

20230924.1 main

🟢修复bug,优化代码

💡增加订阅链接配置 #13

20230912.1 main

🟢修复bug,优化代码

💡新成员加入未绑定机器人操作

20230907.1 main

💡开关老虎机开奖(游戏设置=>老虎机)

💡自动设置命令菜单

💡关键词自动回复

20230902.1 main

🟢修复首次运行没有默认配置导致得各种错误

🟢赌博模式开关显示方式修改为符合人类

🟢修复首次运行机器人token显示未配置得情况

💡新增config.yaml.example默认配置文件

💡新增"设置为开奖群"命令管理员验证

查看更多

共同维护

欢迎各位大佬提交pr,感谢为本开源项目做贡献;也感谢各位用户,让我有了继续开发得动力

可以提交issues给本项目提供建议,提交issues请把问题和建议讲清楚,感谢各位点击stars

鸣谢

支持开发

捐赠地址:TEqCzhQ48X8iJGYtordwbsd1HXBVYiX9Nr

仅支持 Tron 资产(TRC10/TRC20)

v2boardbot's People

Contributors

v2boardbot avatar standwithyou avatar kogekiplay 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.