diff --git a/main.go b/main.go index 3cf1eb3..7ba6eaf 100644 --- a/main.go +++ b/main.go @@ -111,7 +111,7 @@ func main() { go PillageKnight(client) go ListenDarkwing(client) go ListenCW(client) - go Listen(client) + // go ListenAll(client) go ListenGuild(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 { updateMsg := (*msg).(*tdlib.UpdateNewMessage) chatID := updateMsg.Message.ChatID