Skip to content

Commit cf4e715

Browse files
committed
Add palceholders for when stdout or stderr are empty
1 parent 958cfb1 commit cf4e715

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arthur/exts/fun/remote_command_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ async def rce(self, ctx: Context, *, command: str) -> None:
2727

2828
await ctx.send(
2929
f"{response.returncode = }\n"
30-
f"stderr:```{response.stderr}```\n"
31-
f"stdout:```{response.stdout}```"
30+
f"stderr:```{response.stderr or '~Empty~'}```\n"
31+
f"stdout:```{response.stdout or '~Empty~'}```\n"
3232
)
3333

3434

0 commit comments

Comments
 (0)