https://github.com/floattech/nanobot-plugin
基于 NanoBot 的 QQ 机器人插件合集
https://github.com/floattech/nanobot-plugin
automatic channel golang golang-cli guild plugin plugin-architecture plugin-manager plugin-repo plugin-system qq qq-bot qqrobot reibot telegram-bot zerobot
Last synced: 5 months ago
JSON representation
基于 NanoBot 的 QQ 机器人插件合集
- Host: GitHub
- URL: https://github.com/floattech/nanobot-plugin
- Owner: FloatTech
- License: agpl-3.0
- Created: 2023-10-15T15:32:48.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-01T18:25:40.000Z (almost 2 years ago)
- Last Synced: 2025-04-06T20:36:05.946Z (6 months ago)
- Topics: automatic, channel, golang, golang-cli, guild, plugin, plugin-architecture, plugin-manager, plugin-repo, plugin-system, qq, qq-bot, qqrobot, reibot, telegram-bot, zerobot
- Language: Go
- Homepage:
- Size: 160 KB
- Stars: 78
- Watchers: 3
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
NanoBot-Plugin
基于 NanoBot 的 QQ 机器人插件合集
[](https://pd.qq.com/s/fjkx81mnr)
## 命令行参数
> `[]`代表是可选参数
```bash
nanobot [参数] ID1 ID2 ...
参数:
-D enable debug-level log output
-T int
api timeout (s) (default 60)
-a string
qq appid
-c string
load from config
-h print this help
-public
only listen to public intent
also listen QQ intent
-s string
qq secret
-sandbox
run in sandbox api
-save string
save bot config to filename (eg. config.yaml)
-shardcount uint
shard count
-shardindex uint
shard index
-superallqq
make all QQ users to be SuperUser
-t string
qq api token
```其中公域配置参考如下,为一个数组,可自行增加更多 bot 实例。注意`Properties`不可为`[]`
```yaml
- AppID: "123456"
Token: xxxxxxx
Secret: ""
SuperUsers:
- "123456789"
Timeout: 1m0s
Intents: 1812730883
ShardIndex: 0
ShardCount: 0
Properties: null
```## 功能
> 在编译时,以下功能均可通过注释`main.go`中的相应`import`而物理禁用,减小插件体积。触发者撤回时也自动撤回(仅私域可用)
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/autowithdraw"`
- [x] 撤回一条消息
base16384加解密
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/b14"`
- [x] 加密xxx
- [x] 解密xxx
- [x] 用yyy加密xxx
- [x] 用yyy解密xxx
base64卦加解密
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/base64gua"`
- [x] 六十四卦加密xxx
- [x] 六十四卦解密xxx
- [x] 六十四卦用yyy加密xxx
- [x] 六十四卦用yyy解密xxx
base天城文加解密
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/baseamasiro"`
- [x] 天城文加密xxx
- [x] 天城文解密xxx
- [x] 天城文用yyy加密xxx
- [x] 天城文用yyy解密xxx
英文字符翻转
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/chrev"`
- [x] 翻转 I love you
程序员做饭指南
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/dish"`
- [x] 怎么做[xxx] | 烹饪[xxx]
- [x] 随机菜谱 | 随便做点菜合成emoji
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/emojimix"`
- [x] [emoji][emoji]
每日运势
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/fortune"`
- [x] 运势 | 抽签
- [x] 设置底图[车万 DC4 爱因斯坦 星空列车 樱云之恋 富婆妹 李清歌 公主连结 原神 明日方舟 碧蓝航线 碧蓝幻想 战双 阴阳师 赛马娘 东方归言录 奇异恩典 夏日口袋 ASoul]
原神抽卡
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/genshin"`
- [x] 切换原神卡池
- [x] 原神十连
百人一首
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/hyaku"`
- [x] 百人一首
- [x] 百人一首之n
bot管理相关
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/manager"`
- [x] /exposeid @user1 @user2
娶群友
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/qqwife"`
- [x] 娶群友
- [x] 群老婆列表
- [x] (娶|嫁)@对方QQ
- [x] 牛@对方QQ
- [x] 闹离婚
- [x] 买礼物给@对方QQ
- [x] 做媒 @攻方QQ @受方QQ
- [x] 查好感度@对方QQ
- [x] 好感度列表
- [x] [允许|禁止]自由恋爱
- [x] [允许|禁止]牛头人
- [x] 设置CD为xx小时 →(默认12小时)在线代码运行
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/runcode"`
- [x] >runcode [language] help
- [x] >runcode [language] [code block]
- [x] >runcoderaw [language] [code block]
签到
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/score"`
- [x] 签到
- [x] 获得签到背景
- [x] 查看等级排名
自检
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/status"`
- [x] [检查身体 | 自检 | 启动自检 | 系统状态]
塔罗牌
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/tarot"`
- [x] 抽[塔罗牌|大阿卡纳|小阿卡纳]
- [x] 解塔罗牌[牌名]
抽老婆
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/wife"`
- [x] 抽老婆
猜单词
`import _ "github.com/FloatTech/NanoBot-Plugin/plugin/wordle"`
- [x] 个人猜单词
- [x] 团队猜单词
- [x] 团队六阶猜单词
- [x] 团队七阶猜单词
## 特别感谢
- [ZeroBot](https://github.com/wdvxdr1123/ZeroBot)