Let's try something
This commit is contained in:
parent
3670cafaac
commit
da60c15f44
1 changed files with 47 additions and 49 deletions
2
main.go
2
main.go
|
@ -51,7 +51,6 @@ func webhook(update tg.APIUpdate) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
go func() {
|
|
||||||
query := update.Inline.Query
|
query := update.Inline.Query
|
||||||
offset, _ := strconv.Atoi(update.Inline.Offset)
|
offset, _ := strconv.Atoi(update.Inline.Offset)
|
||||||
results, err := scryfallSearch(query, offset)
|
results, err := scryfallSearch(query, offset)
|
||||||
|
@ -102,5 +101,4 @@ func webhook(update tg.APIUpdate) {
|
||||||
// DO SOMETHING
|
// DO SOMETHING
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}()
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue