🐛 Fix 6a8d564
This commit is contained in:
parent
333743ca04
commit
e99a91e336
1 changed files with 2 additions and 2 deletions
4
main.js
4
main.js
|
@ -151,7 +151,7 @@ const
|
|||
);
|
||||
}
|
||||
catch(error){
|
||||
if(!error.code.startsWith?.('commander.'))
|
||||
if(!error.code?.startsWith?.('commander.'))
|
||||
throw error;
|
||||
}
|
||||
return response;
|
||||
|
@ -192,7 +192,7 @@ eris.on(
|
|||
messageReference: { messageID }
|
||||
}
|
||||
);
|
||||
chunk = `\`\`\`\n${line}`;
|
||||
chunk = isCodeBlock ? `\`\`\`\n${line}` : line;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue