mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
QUick fix
This commit is contained in:
@@ -2128,13 +2128,12 @@ async def wyszukaj_linki_do_dokumentow(ctx):
|
||||
query_response.json()["data"][2],
|
||||
)
|
||||
if ctx.message.author.nick:
|
||||
username = ctx.message.author.nick
|
||||
else:
|
||||
username = ctx.message.author.name
|
||||
|
||||
username = ctx.message.author.nick
|
||||
else:
|
||||
username = ctx.message.author.name
|
||||
query_object = QueryControl(username, query_uuid, query, logger)
|
||||
|
||||
COMM_Q.put()
|
||||
COMM_Q.put(query_object)
|
||||
# TODO: tutaj jest informacja UUID o requescie zapisywana w queue i konczymy
|
||||
# TODO: response'y idą do serwera, serwer sobie je mieli i potem wysyła do nas posta albo response
|
||||
await ctx.send(f"No dobra poszło. Zapamiętaj proszę {query_uuid} - to identyfikator twojego zapytania. Jesteś {queue_size} w kolejce."+
|
||||
|
||||
Reference in New Issue
Block a user