remove ListenAll
This commit is contained in:
parent
be3c56480d
commit
ddacb1fb27
4
main.go
4
main.go
@ -111,7 +111,7 @@ func main() {
|
|||||||
go PillageKnight(client)
|
go PillageKnight(client)
|
||||||
go ListenDarkwing(client)
|
go ListenDarkwing(client)
|
||||||
go ListenCW(client)
|
go ListenCW(client)
|
||||||
go Listen(client)
|
// go ListenAll(client)
|
||||||
go ListenGuild(client)
|
go ListenGuild(client)
|
||||||
// go ForwardOwnMsg(client)
|
// go ForwardOwnMsg(client)
|
||||||
|
|
||||||
@ -742,7 +742,7 @@ func ForwardOwnMsg(c *tdlib.Client) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
func Listen(c *tdlib.Client) {
|
func ListenAll(c *tdlib.Client) {
|
||||||
eventFilter := func(msg *tdlib.TdMessage) bool {
|
eventFilter := func(msg *tdlib.TdMessage) bool {
|
||||||
updateMsg := (*msg).(*tdlib.UpdateNewMessage)
|
updateMsg := (*msg).(*tdlib.UpdateNewMessage)
|
||||||
chatID := updateMsg.Message.ChatID
|
chatID := updateMsg.Message.ChatID
|
||||||
|
Loading…
Reference in New Issue
Block a user