From d64563e89034b8e016d1b0a24e2b44280900b14c Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 23 Feb 2022 20:15:16 -0500 Subject: feat(RoleAllCommand): use sendNew when finished --- src/commands/admin/roleAll.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/admin/roleAll.ts b/src/commands/admin/roleAll.ts index c056bbd..a701998 100644 --- a/src/commands/admin/roleAll.ts +++ b/src/commands/admin/roleAll.ts @@ -68,7 +68,7 @@ export default class RoleAllCommand extends BushCommand { const failed = (await Promise.allSettled(promises)).filter((val) => val.status === 'rejected'); if (!failed.length) { - await message.util.reply({ + await message.util.sendNew({ content: `${util.emojis.success} Finished adding <@&${args.role.id}> to **${members.size}** member${ members.size > 1 ? 's' : '' }.`, @@ -76,7 +76,7 @@ export default class RoleAllCommand extends BushCommand { }); } else { const array = [...members.values()]; - await message.util.reply({ + await message.util.sendNew({ content: `${util.emojis.warn} Finished adding <@&${args.role.id}> to **${members.size - failed.length}** member${ members.size - failed.length > 1 ? 's' : '' }! Failed members:\n${failed.map((_, index) => `<@${array[index].id}>`).join(' ')}`, -- cgit