mirror of
https://github.com/fumiama/NanoBot.git
synced 2026-06-06 03:00:24 +08:00
🐛 example
This commit is contained in:
@@ -14,7 +14,7 @@ func main() {
|
||||
AppID: "你的AppID",
|
||||
Token: "你的Token",
|
||||
Secret: "你的Secret, 目前没用到, 可以不填",
|
||||
Intents: nano.IntentPublic,
|
||||
Intents: nano.IntentGuildPublic,
|
||||
Handler: &nano.Handler{
|
||||
OnAtMessageCreate: func(s uint32, bot *nano.Bot, d *nano.Message) {
|
||||
u := ""
|
||||
|
||||
Reference in New Issue
Block a user