mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -25,7 +25,7 @@ module.exports = class ExecCommand extends Command {
|
||||
run(msg, { command }) {
|
||||
const results = this.exec(command);
|
||||
return msg.reply(stripIndents`
|
||||
_${results.err ? 'Successfully executed.' : 'An error occurred:'}_
|
||||
_${results.err ? 'An error occurred:' : 'Successfully executed.'}_
|
||||
\`\`\`sh
|
||||
${results.std}
|
||||
\`\`\`
|
||||
|
||||
Reference in New Issue
Block a user