g1331 / xiaomai-bot Goto Github PK
View Code? Open in Web Editor NEW以Graia Ariadne框架为基础的战地1QQ机器人
License: GNU General Public License v3.0
以Graia Ariadne框架为基础的战地1QQ机器人
License: GNU General Public License v3.0
佬你好,最近在抄你的gateway_api时,我想把所有网络请求都交给同个函数来处理,用到的也是aiohttp,然后在Authentication_getEnvIdViaAuthCode
这个函数里也遇到了无法完成请求的情况,用postman测试后发现只要把该函数的header里的Content-Length
项去掉即可正常发送请求,希望能帮到你。
It seems that the tutorial for docker uses "-v" option where the former path should be an absolute path on the host machine. Here you use /xiaomai-bot/... but users may not clone the repo into the root path. Maybe $(pwd)
is a better choice.
Additionally you can tag certain commits for release so that we can checkout to those stable versions easily.
由于当前是每个群每个人的对话独立,在bot用户数量大的情况下会在gpt网页模式下建立非常多的新对话
入群审核、入群欢迎、bf1备注修改功能分离
bf1战绩功能所需静态资源、存放文件地址的初始化检查
您好,我是 GraiaProject 成员、Ariadne 贡献者 @ProgramRipper。
由于 Ariadne 0.9.0 中的修改 对好友,群,群成员和版本等信息使用缓存 (@ProgramRipper)
引入的 bug,Ariadne 会缓存全部好友、群、群成员、消息和版本信息,并且不会过期,导致严重的内存泄露。
这一问题已在 GraiaProject/Ariadne#206 和 GraiaProject/Ariadne@3ad9a61 (0.9 backport) 中修复,并随后发布了修复版本 Ariadne 0.10.2 和 Ariadne 0.9.10。
这一问题波及使用了 Ariadne 0.9.0~0.9.8, 0.10.0 的所有应用(只要接收消息就有内存泄露风险)。很遗憾,此仓库正受到此问题影响。您可以通过升级 Ariadne 来修复这一问题:
pip install --upgrade graia-ariadne
poetry update graia-ariadne
pdm update graia-ariadne
# pyproject.toml
## poetry
[tool.poetry.dependencies]
graia-ariadne = "^0.10.2"
### or backport...
graia-ariadne = "^0.9.10"
## pdm
dependencies = [
"graia-ariadne>=0.10.2",
# ...
]
### or backport...
dependencies = [
"graia-ariadne>=0.9.10",
# ...
]
# requirements.txt
graia-ariadne==0.10.2
### or backport...
graia-ariadne==0.9.10
如果您的仓库中有 poetry.lock 或 pdm.lock 文件,也请不要忘记通过 poetry lock
或 pdm lock
更新它们。
在此,我对此问题已造成的损失,以及因为此问题而耽误您的宝贵时间和精力而感到抱歉。如果您有更多问题,可以在此议题下回复,我将尽我所能提供解答、协助。
{
"alias": {
"group_id": {
"module_name": {
"指令key": ["alias"]
}
}
}
}
绑服自动识别服管账号
当服务器开启时,通过开关控制服务器的150白名单,若不在白名单内的150将自动踢出
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.