1
Fork 0
mirror of https://github.com/RGBCube/VReplBot synced 2025-07-25 23:47:45 +00:00
This commit is contained in:
RGBCube 2023-02-03 22:54:39 +03:00
parent 8011df3783
commit 57fab87361

View file

@ -33,7 +33,6 @@ class Playground(
text = await response.text()
if text == "Not found.":
print(f"Query {query} not found.")
await ctx.reply("Invalid query.")
raise StopCommandExecution()
@ -183,7 +182,7 @@ class Playground(
await ctx.reply("No query provided.")
return
else:
query = self.extract_link_query(query) or query
query = self.extract_link_query(query)
code = await self.get_code(ctx, query)
sanitized_code = self.sanitize(code)