GitPedia

NanoBot Plugin

基于 NanoBot 的 QQ 机器人插件合集

From FloatTech·Updated June 12, 2026·View on GitHub·

**NanoBot Plugin** is a 基于 NanoBot 的 QQ 机器人插件合集 The project is written primarily in Go, distributed under the GNU Affero General Public License v3.0 license, first published in 2023. Key topics include: automatic, channel, golang, golang-cli, guild.

Latest release: v0.1.8-beta1
December 1, 2023View Changelog →
<div align="center"> <img src=".github/nano.jpeg" alt="东云名乃" width = "256"> <br> <h1>NanoBot-Plugin</h1> 基于 <a href="https://github.com/fumiama/NanoBot">NanoBot</a> 的 QQ 机器人插件合集<br><br>

<img src="https://counter.seku.su/cmoe?name=NanoBot&theme=r34" /><br>

tencent-guild

</div>

命令行参数

[]代表是可选参数

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 -qq 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而物理禁用,减小插件体积。

<details> <summary>触发者撤回时也自动撤回(仅私域可用)</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/autowithdraw"

  • 撤回一条消息
</details> <details> <summary>base16384加解密</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/b14"

  • 加密xxx

  • 解密xxx

  • 用yyy加密xxx

  • 用yyy解密xxx

</details> <details> <summary>base64卦加解密</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/base64gua"

  • 六十四卦加密xxx

  • 六十四卦解密xxx

  • 六十四卦用yyy加密xxx

  • 六十四卦用yyy解密xxx

</details> <details> <summary>base天城文加解密</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/baseamasiro"

  • 天城文加密xxx

  • 天城文解密xxx

  • 天城文用yyy加密xxx

  • 天城文用yyy解密xxx

</details> <details> <summary>英文字符翻转</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/chrev"

  • 翻转 I love you
</details> <details> <summary>程序员做饭指南</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/dish"

  • 怎么做[xxx] | 烹饪[xxx]

  • 随机菜谱 | 随便做点菜

</details> <details> <summary>合成emoji</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/emojimix"

  • [emoji][emoji]
</details> <details> <summary>每日运势</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/fortune"

  • 运势 | 抽签

  • 设置底图[车万 DC4 爱因斯坦 星空列车 樱云之恋 富婆妹 李清歌 公主连结 原神 明日方舟 碧蓝航线 碧蓝幻想 战双 阴阳师 赛马娘 东方归言录 奇异恩典 夏日口袋 ASoul]

</details> <details> <summary>原神抽卡</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/genshin"

  • 切换原神卡池

  • 原神十连

</details> <details> <summary>百人一首</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/hyaku"

  • 百人一首

  • 百人一首之n

</details> <details> <summary>bot管理相关</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/manager"

  • /exposeid @user1 @user2
</details> <details> <summary>娶群友</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/qqwife"

  • 娶群友

  • 群老婆列表

  • (娶|嫁)@对方QQ

  • 牛@对方QQ

  • 闹离婚

  • 买礼物给@对方QQ

  • 做媒 @攻方QQ @受方QQ

  • 查好感度@对方QQ

  • 好感度列表

  • [允许|禁止]自由恋爱

  • [允许|禁止]牛头人

  • 设置CD为xx小时 →(默认12小时)

</details> <details> <summary>在线代码运行</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/runcode"

  • >runcode [language] help

  • >runcode [language] [code block]

  • >runcoderaw [language] [code block]

</details> <details> <summary>签到</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/score"

  • 签到

  • 获得签到背景

  • 查看等级排名

</details> <details> <summary>自检</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/status"

  • [检查身体 | 自检 | 启动自检 | 系统状态]
</details> <details> <summary>塔罗牌</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/tarot"

  • 抽[塔罗牌|大阿卡纳|小阿卡纳]

  • 解塔罗牌[牌名]

</details> <details> <summary>抽老婆</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/wife"

  • 抽老婆
</details> <details> <summary>猜单词</summary>

import _ "github.com/FloatTech/NanoBot-Plugin/plugin/wordle"

  • 个人猜单词

  • 团队猜单词

  • 团队六阶猜单词

  • 团队七阶猜单词

</details>

特别感谢

Contributors

Showing top 3 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from FloatTech/NanoBot-Plugin via the GitHub API.Last fetched: 6/27/2026