diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-23 20:15:16 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-23 20:15:16 -0500 |
commit | d64563e89034b8e016d1b0a24e2b44280900b14c (patch) | |
tree | 2fdd881217d554a5afece9880936b49606291299 /src/commands | |
parent | 582d8ec90985d6f257f30ebd65ed3bdda1fea7be (diff) | |
download | tanzanite-d64563e89034b8e016d1b0a24e2b44280900b14c.tar.gz tanzanite-d64563e89034b8e016d1b0a24e2b44280900b14c.tar.bz2 tanzanite-d64563e89034b8e016d1b0a24e2b44280900b14c.zip |
feat(RoleAllCommand): use sendNew when finished
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/admin/roleAll.ts | 4 |
1 files 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(' ')}`, |