make memberCommand exit when error occurs with parseMemberCommand

This commit is contained in:
Aster Fialla
2026-02-24 19:54:10 -05:00
parent 102d694240
commit de674281f9

View File

@@ -35,7 +35,7 @@ cmds.memberCommand = async function(message, args) {
reply = await memberHelper.parseMemberCommand(message.author.id, authorFull, args, attachmentUrl, attachmentExpires) reply = await memberHelper.parseMemberCommand(message.author.id, authorFull, args, attachmentUrl, attachmentExpires)
} }
catch(e) { catch(e) {
await message.reply(e.message); return await message.reply(e.message);
} }
if (typeof reply === 'string') { if (typeof reply === 'string') {