desperately trying to make error handling work

This commit is contained in:
Aster Fialla
2026-02-14 18:10:53 -05:00
committed by pieartsy
parent d2007f5274
commit 6339da1592
4 changed files with 7 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ const cmds = new Map();
cmds.set('member', {
description: enums.help.SHORT_DESC_MEMBER,
async execute(message, client, args) {
const reply = await memberHelper.parseMemberCommand(message.author, args, message.attachments[0] = null);
const reply = await memberHelper.parseMemberCommand(message.author, args, message.attachments[0] = null).catch(e => message.reply(e));
if (typeof reply === 'string') {
await message.reply(reply);
}