diff --git a/example/echo/main.go b/example/echo/main.go index e668061..51abdac 100644 --- a/example/echo/main.go +++ b/example/echo/main.go @@ -13,6 +13,6 @@ func init() { return } msg := ctx.Value.(*tgba.Message) - ctx.Caller.Send(tgba.NewMessage(msg.Chat.ID, args)) + _, _ = ctx.Caller.Send(tgba.NewMessage(msg.Chat.ID, args)) }) } diff --git a/example/main.go b/example/main.go index 80b136b..a77b0ef 100644 --- a/example/main.go +++ b/example/main.go @@ -11,7 +11,7 @@ func main() { rei.OnMessageFullMatch("help").SetBlock(true).SecondPriority(). Handle(func(ctx *rei.Ctx) { msg := ctx.Value.(*tgba.Message) - ctx.Caller.Send(tgba.NewMessage(msg.Chat.ID, "echo string")) + _, _ = ctx.Caller.Send(tgba.NewMessage(msg.Chat.ID, "echo string")) }) rei.Run(rei.Bot{ Token: "",