mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Work on communication
Testing only FIx test
This commit is contained in:
@@ -685,7 +685,8 @@ async def check_data_q():
|
||||
channel = client.get_channel(1062047367337095268)
|
||||
try:
|
||||
data = IN_COMM_Q.get(block=False)
|
||||
await channel.send(f"O. A tak będzie wyglądało coś ciekawego w przyszłości: {data}")
|
||||
if data.finished:
|
||||
await channel.send(f"O. A tak będzie wyglądało coś ciekawego w przyszłości: {data}")
|
||||
except Empty:
|
||||
pass
|
||||
|
||||
@@ -2110,7 +2111,10 @@ class DoSearchView(discord.ui.View):
|
||||
)
|
||||
async def wyszukaj_linki_do_dokumentow(ctx):
|
||||
query = ctx.message.content
|
||||
query_uuid = uuid.uuid4()
|
||||
#TODO: TESTING ONLY!!
|
||||
#query_uuid = uuid.uuid4()
|
||||
query_uuid = uuid.UUID('{12345678-1234-5678-1234-567812345678}')
|
||||
|
||||
# query_uuid = "test"
|
||||
# 3 wyslij Librariana
|
||||
json_query = {"UUID": str(query_uuid), "query": str(query)[30:], "page": 1}
|
||||
|
||||
Reference in New Issue
Block a user