mirror of
https://github.com/RGBCube/VReplBot
synced 2025-07-25 23:47:45 +00:00
asdasd
This commit is contained in:
parent
c7b05bcf2c
commit
08cab8ba59
1 changed files with 5 additions and 3 deletions
|
@ -116,6 +116,7 @@ class Playground(
|
|||
content = await self.get_message_content(ctx.channel, ref)
|
||||
|
||||
if query := self.grep_link_query(content):
|
||||
print(query)
|
||||
code = await self.get_code(ctx, query)
|
||||
else:
|
||||
code = self.grep_code(content)
|
||||
|
@ -181,12 +182,13 @@ class Playground(
|
|||
|
||||
query = self.grep_link_query(content)
|
||||
|
||||
if not query:
|
||||
await ctx.reply("No query provided.")
|
||||
return
|
||||
else:
|
||||
query = self.extract_link_query(query)
|
||||
|
||||
if not query:
|
||||
await ctx.reply("No query provided.")
|
||||
return
|
||||
|
||||
code = await self.get_code(ctx, query)
|
||||
sanitized_code = self.sanitize(code)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue