hdcola / maotaiwangwangbot Goto Github PK
View Code? Open in Web Editor NEW毛台汪汪机器人是一个忠实的帮助你去完成守护的机器人。
毛台汪汪机器人是一个忠实的帮助你去完成守护的机器人。
MaotaiWangWangBot/cmdproc/admincmd.py
Lines 101 to 104 in 53301ff
如果多行button时,显示时少一个 ',' :(
msgid = context.args[0]
for uid, zy in all_zys.items():
for _zy in zy.get('ZY', []):
mid = _zy['MESSAGEID'].split("/")[-1]
msgid 出来的是日期,mid对应的是链接的消息id,貌似匹配不到一起?
_command = update.effective_message.text.split("/lzy ")
群里面命令后面会带 @bot, 这样这里就没有办法按照/lzy来split消息。
如果在群里/lzy是不是应该显示发送消息的人的作业,而不是所有人提交的信息?
需求:现阶段一些数据存储在本地一个json文件,编写程序阶段需要知道存储位置和json的详细结构,加个sqlite存储数据的能力
提供一个通用接口通过id,type进行数据query,通过id,type,string进行数据put
message.reply_to_message.photo == None and message.reply_to_message.document == None
无图片的时候message.reply_to_message.photo 总是[],不是None。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.