mirror of
https://github.com/fumiama/NanoBot.git
synced 2026-06-09 20:50:23 +08:00
optimize: hide caller & add preblock
This commit is contained in:
@@ -14,7 +14,7 @@ func main() {
|
||||
Handle(func(ctx *nano.Ctx) {
|
||||
_, _ = ctx.SendPlainMessage(false, "echo string")
|
||||
})
|
||||
nano.Run(&nano.Bot{
|
||||
nano.Run(nil, &nano.Bot{
|
||||
AppID: "你的AppID",
|
||||
Token: "你的Token",
|
||||
Secret: "你的Secret, 目前没用到, 可以不填",
|
||||
|
||||
Reference in New Issue
Block a user