Home

Awesome

<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>

命令行参数

[]代表是可选参数

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不可为[]

- 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"

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

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

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

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

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

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

</details> <details> <summary>程序员做饭指南</summary>

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

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

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

</details> <details> <summary>每日运势</summary>

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

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

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

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

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

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

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

</details> <details> <summary>娶群友</summary>

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

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

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

</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>

特别感谢