mirror of
https://github.com/RGBCube/VReplBot
synced 2025-07-27 00:17:46 +00:00
nvm
This commit is contained in:
parent
8011df3783
commit
57fab87361
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue