Let's try something

This commit is contained in:
Hamcha 2018-09-17 15:52:18 +02:00
parent 3670cafaac
commit da60c15f44
Signed by: hamcha
GPG Key ID: A40413D21021EAEE
1 changed files with 47 additions and 49 deletions

View File

@ -51,7 +51,6 @@ func webhook(update tg.APIUpdate) {
return
}
go func() {
query := update.Inline.Query
offset, _ := strconv.Atoi(update.Inline.Offset)
results, err := scryfallSearch(query, offset)
@ -102,5 +101,4 @@ func webhook(update tg.APIUpdate) {
// DO SOMETHING
return
}
}()
}