This commit is contained in:
KaKi87 2024-01-28 03:08:10 +01:00
parent 333743ca04
commit e99a91e336

View file

@ -151,7 +151,7 @@ const
); );
} }
catch(error){ catch(error){
if(!error.code.startsWith?.('commander.')) if(!error.code?.startsWith?.('commander.'))
throw error; throw error;
} }
return response; return response;
@ -192,7 +192,7 @@ eris.on(
messageReference: { messageID } messageReference: { messageID }
} }
); );
chunk = `\`\`\`\n${line}`; chunk = isCodeBlock ? `\`\`\`\n${line}` : line;
} }
} }
}; };