From ce76c1b2512eefbfc2fea42ee60f70a6c6b0c516 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Tue, 31 Jan 2023 20:34:10 +0300 Subject: [PATCH] debugging --- v_repl_bot/cogs/playground.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v_repl_bot/cogs/playground.py b/v_repl_bot/cogs/playground.py index a61b747..e66870b 100644 --- a/v_repl_bot/cogs/playground.py +++ b/v_repl_bot/cogs/playground.py @@ -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: