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

@@ -14,8 +14,8 @@ const commandList = ['--help', 'add', 'remove', 'name', 'listall', 'displayName'
*
* @param {User} author - The id of the message author
* @param {string[]} args - The message arguments
* @param {string | null} attachmentUrl - The message attachments
* @returns {Promise<string> | Promise <EmbedBuilder>} A message, or an information embed.
* @param {string | null} attachmentUrl - The message attachment url.
* @returns {Promise<string> | Promise <EmbedBuilder>} A message, or an informational embed.
*/
mh.parseMemberCommand = async function(author, args, attachmentUrl){
const authorId = author.id;