
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
alicebot
Advanced tools
AliceBot 是一个简单的 Python 异步多后端机器人框架,支持多种协议适配,可以轻松地编写易于学习和使用的插件来拓展其功能。
本项目受到了 NoneBot 项目的启发,您可以在对比小节中查看这两个项目的异同,以便您选择更适合自己的机器人框架。
目前 AliceBot 官方维护了以下协议适配:
更多协议正在适配中 ...
更多信息:简介 - AliceBot 文档
安装:
pip install alicebot[all]
第一个 AliceBot 项目:
from alicebot import Bot
bot = Bot()
bot.load_adapters("alicebot.adapter.cqhttp")
bot.run()
第一个 AliceBot 插件:
from alicebot import Plugin
class Echo(Plugin):
async def handle(self) -> None:
await self.event.reply(self.event.message.replace("echo ", ""))
async def rule(self) -> bool:
if self.event.adapter.name != "cqhttp":
return False
if self.event.type != "message":
return False
return self.event.message.startswith("echo ")
更多信息请参阅 AliceBot 文档。
本项目受到了 NoneBot 项目的启发,以下简单介绍两者的异同。
相同点:
不同点:
总而言之,两者有着各自的特点,您可以根据需要选用。
AliceBot 采用 MIT 许可证开放源代码。
本项目的图标由迷糊小梦神绘制,作为本项目的一部分,使用与本项目相同的许可证开放使用。
FAQs
A simply asynchronous python chatbot framework.
We found that alicebot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.