From cd1e9c27e9d615925fd7edf8d5da3fbc5b51bcc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=A4?= =?UTF-8?q?=D0=B5=D0=B4=D0=BE=D1=80=D0=BE=D0=B2?= Date: Sun, 3 Apr 2022 18:15:09 +0700 Subject: [PATCH] add /start and /ping commands --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a609761..1941fa8 100644 --- a/main.go +++ b/main.go @@ -52,7 +52,7 @@ func run() { if err != nil { panic(err) } - opts.Token = token + opts.Token = strings.ReplaceAll(token, "\n", "") } fmt.Println(opts.Token)