diff options
author | 2025-04-15 23:30:10 +0100 | |
---|---|---|
committer | 2025-04-15 23:30:10 +0100 | |
commit | cf4e715ce5825e658e8aef6fe2864a660ff86547 (patch) | |
tree | 418b4b46f7aef54ed74f228d69b0342dcf8fa475 | |
parent | Actually use f-strings (diff) |
Add palceholders for when stdout or stderr are empty
-rw-r--r-- | arthur/exts/fun/remote_command_runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arthur/exts/fun/remote_command_runner.py b/arthur/exts/fun/remote_command_runner.py index a01645c..a5e7e71 100644 --- a/arthur/exts/fun/remote_command_runner.py +++ b/arthur/exts/fun/remote_command_runner.py @@ -27,8 +27,8 @@ class RemoteCommands(Cog): await ctx.send( f"{response.returncode = }\n" - f"stderr:```{response.stderr}```\n" - f"stdout:```{response.stdout}```" + f"stderr:```{response.stderr or '~Empty~'}```\n" + f"stdout:```{response.stdout or '~Empty~'}```\n" ) |