mirror of
https://github.com/RGBCube/VReplBot
synced 2025-07-25 15:37:46 +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 },
|
||||
) as response:
|
||||
body = await response.json()
|
||||
print(body)
|
||||
text = sanitize_str_for_codeblock(body["output"])
|
||||
|
||||
if len(text) + 7 > 2000:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue