aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-23 20:15:16 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-23 20:15:16 -0500
commitd64563e89034b8e016d1b0a24e2b44280900b14c (patch)
tree2fdd881217d554a5afece9880936b49606291299 /src
parent582d8ec90985d6f257f30ebd65ed3bdda1fea7be (diff)
downloadtanzanite-d64563e89034b8e016d1b0a24e2b44280900b14c.tar.gz
tanzanite-d64563e89034b8e016d1b0a24e2b44280900b14c.tar.bz2
tanzanite-d64563e89034b8e016d1b0a24e2b44280900b14c.zip
feat(RoleAllCommand): use sendNew when finished
Diffstat (limited to 'src')
-rw-r--r--src/commands/admin/roleAll.ts4
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(' ')}`,