mirror of
https://github.com/RGBCube/VReplBot
synced 2025-07-27 00:17:46 +00:00
Hotfix
This commit is contained in:
parent
710a20c328
commit
c9fe6fc55e
1 changed files with 5 additions and 5 deletions
|
@ -177,12 +177,12 @@ class Playground(
|
||||||
content = await self.get_message_content(ctx.channel, ref)
|
content = await self.get_message_content(ctx.channel, ref)
|
||||||
|
|
||||||
query = self.grep_link_query(content)
|
query = self.grep_link_query(content)
|
||||||
else:
|
|
||||||
query = self.extract_link_query(query)
|
|
||||||
|
|
||||||
if not query:
|
if not query:
|
||||||
await ctx.reply("No query provided.")
|
await ctx.reply("No query provided.")
|
||||||
return
|
return
|
||||||
|
else:
|
||||||
|
query = self.extract_link_query(query) or 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