
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
littlebad-bot
Advanced tools
基于 [oicq](https://github.com/takayama-lily/oicq) 开发的机器人平台,提供一些方便的接口简化插件开发
基于 oicq 开发的机器人平台,提供一些方便的接口简化插件开发
npm install littlebad-bot
or
yarn add littlebad-bot
const bot = createBot({
qq: 1287299719,
managers: [548481661],
dataPath: "botData/" + 1287299719
})
bot.start()
class Setu extends BasePlugin {
orderKeys = ["setu"]
onOrder(e) {
e.reply("不准色色")
}
}
const bot = createBot({
qq: 1287299719,
managers: [548481661],
dataPath: "botData/" + 1287299719
})
bot.use(new Setu())
bot.start()
class Setu extends BasePlugin {
setu = ["setu"]
noSetu = ["noSetu"]
orderKeys = [...this.setu, ...this.noSetu]
orders = [
this.onSetu.bind(this),
this.onNoSetu.bind(this)
]
onSetu(e) {
// 在此判断指令触发语句条件或其他条件
if (this.triggerKey(e.raw_message, this.setu)) {
return e.reply("不准色色")
}
}
onNoSetu(e) {
if (this.triggerKey(e.raw_message, this.noSetu)) {
return e.reply("好")
}
}
}
| 开发计划 | 状态 |
|---|---|
| 好图新图源 | √ |
| 收集值班空闲时间插件 | √ |
| 频道机器人整合 | ⛏ |
| 好友管理 | 📅 |
FAQs
基于 [oicq](https://github.com/takayama-lily/oicq) 开发的机器人平台,提供一些方便的接口简化插件开发
We found that littlebad-bot demonstrated a not healthy version release cadence and project activity because the last version was released 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
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.