|
@@ -122,7 +122,7 @@ async def shellrunner(client, message):
|
|
|
)
|
|
)
|
|
|
await edit_or_reply(
|
|
await edit_or_reply(
|
|
|
message,
|
|
message,
|
|
|
- text="**Error:**\n```{''.join(errors)}```")
|
|
|
|
|
|
|
+ text=f"**Error:**\n```{''.join(errors)}```")
|
|
|
return
|
|
return
|
|
|
output = process.stdout.read()[:-1].decode('utf-8')
|
|
output = process.stdout.read()[:-1].decode('utf-8')
|
|
|
if str(output) == '\n':
|
|
if str(output) == '\n':
|
|
@@ -141,7 +141,7 @@ async def shellrunner(client, message):
|
|
|
return
|
|
return
|
|
|
await edit_or_reply(
|
|
await edit_or_reply(
|
|
|
message,
|
|
message,
|
|
|
- text="**Output:**\n```{output}```"
|
|
|
|
|
|
|
+ text=f"**Output:**\n```{output}```"
|
|
|
)
|
|
)
|
|
|
else:
|
|
else:
|
|
|
await edit_or_reply(
|
|
await edit_or_reply(
|