mirror of
https://github.com/RGBCube/VReplBot
synced 2025-07-26 07:57:47 +00:00
a
This commit is contained in:
parent
5ede9f5f7d
commit
8c4d1c5c3e
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ class Playground(
|
||||||
data = { "code": code },
|
data = { "code": code },
|
||||||
) as response:
|
) as response:
|
||||||
body = await response.json()
|
body = await response.json()
|
||||||
|
print(body)
|
||||||
text = sanitize_str_for_codeblock(body["output"])
|
text = sanitize_str_for_codeblock(body["output"])
|
||||||
|
|
||||||
if len(text) + 7 > 2000:
|
if len(text) + 7 > 2000:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue