aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/massBan.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/massBan.ts')
-rw-r--r--src/commands/moderation/massBan.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/moderation/massBan.ts b/src/commands/moderation/massBan.ts
index 445506f..bb8d435 100644
--- a/src/commands/moderation/massBan.ts
+++ b/src/commands/moderation/massBan.ts
@@ -105,7 +105,7 @@ export default class MassBanCommand extends BotCommand {
map
);
- const success = (res: BanResponse): boolean => [banResponse.SUCCESS, banResponse.DM_ERROR].includes(res as any);
+ const success = (res: BanResponse): boolean => [banResponse.Success, banResponse.DmError].includes(res as any);
const lines = res.map((_, i) => {
const id = ids[i];