mirror of
https://github.com/RGBCube/VReplBot
synced 2025-05-31 05:08:11 +00:00
debugging
This commit is contained in:
parent
b787bb4fd9
commit
ce76c1b251
1 changed files with 2 additions and 0 deletions
|
@ -49,10 +49,12 @@ class Playground(
|
|||
content = await get_message_content(ctx.channel, reply)
|
||||
code = codeblock_converter(content)
|
||||
|
||||
print(code.content)
|
||||
async with await self.bot.session.post(
|
||||
f"https://play.vlang.io/{type}",
|
||||
data = { "code": code.content },
|
||||
) as response:
|
||||
print(await response.text())
|
||||
text = sanitize_str_for_codeblock(await response.text())
|
||||
|
||||
if len(text) + 6 > 2000:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue