Skip to content

Commit

Permalink
fix(set): group set error
Browse files Browse the repository at this point in the history
  • Loading branch information
indes committed May 28, 2019
1 parent 271f31f commit dc90e50
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bot/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,11 @@ func makeHandle() {

B.Handle("/set", func(m *tb.Message) {

if HasAdminType(m.Chat.Type) {
_, _ = B.Send(m.Chat, "Group和Channel暂时不支持该功能")
} else {

}
//if HasAdminType(m.Chat.Type) {
// _, _ = B.Send(m.Chat, "Group和Channel暂时不支持该功能")
//} else {
//
//}
sources, _ := model.GetSourcesByUserID(m.Chat.ID)

var replyButton []tb.ReplyButton
Expand Down

0 comments on commit dc90e50

Please sign in to comment.