diff options
| -rw-r--r-- | bot/exts/utils/snekbox/_cog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/snekbox/_cog.py b/bot/exts/utils/snekbox/_cog.py index a46fb8f44..c0e8e432e 100644 --- a/bot/exts/utils/snekbox/_cog.py +++ b/bot/exts/utils/snekbox/_cog.py @@ -329,7 +329,7 @@ class Snekbox(Cog): output, paste_link = await self.format_output(result.stdout) msg = f"{ctx.author.mention} {result.status_emoji} {msg}.\n" - if not result.files or output not in ("[No output]", ""): + if output not in ("[No output]", "") or not (result.files or result.failed_files): msg += f"\n```\n{output}\n```" if paste_link: |