Skip to content

Commit 13a8886

Browse files
committed
这么简单的东西我都得改来改去的服了破防了气哭了紫砂了我一次也没有觉得写代码开心过受不了了发布 0.6.12
1 parent 4c0c5eb commit 13a8886

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cmd/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
const (
10-
Version string = "0.6.11"
10+
Version string = "0.6.12"
1111
)
1212

1313
var VersionCmd = &cobra.Command{

telegram/telegram.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,10 @@ func InitBot() {
131131
}
132132
Bot.SetMyCommands(&telego.SetMyCommandsParams{
133133
Commands: adminCommands,
134-
Scope: &telego.BotCommandScopeChat{
134+
Scope: &telego.BotCommandScopeChatMember{
135135
Type: telego.ScopeTypeChat,
136-
ChatID: telegoutil.ID(adminID),
136+
ChatID: GroupChatID,
137+
UserID: adminID,
137138
},
138139
})
139140
}

0 commit comments

Comments
 (0)