1
Fork 0
mirror of https://github.com/RGBCube/VReplBot synced 2025-07-27 00:17:46 +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() text = await response.text()
if text == "Not found.": if text == "Not found.":
print(f"Query {query} not found.")
await ctx.reply("Invalid query.") await ctx.reply("Invalid query.")
raise StopCommandExecution() raise StopCommandExecution()
@ -183,7 +182,7 @@ class Playground(
await ctx.reply("No query provided.") await ctx.reply("No query provided.")
return return
else: else:
query = self.extract_link_query(query) or query query = self.extract_link_query(query)
code = await self.get_code(ctx, query) code = await self.get_code(ctx, query)
sanitized_code = self.sanitize(code) sanitized_code = self.sanitize(code)