aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/highlight-block.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/highlight-block.ts')
-rw-r--r--src/commands/utilities/highlight-block.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/utilities/highlight-block.ts b/src/commands/utilities/highlight-block.ts
index 0240da4..a450d71 100644
--- a/src/commands/utilities/highlight-block.ts
+++ b/src/commands/utilities/highlight-block.ts
@@ -2,7 +2,7 @@ import { AllowedMentions, BushCommand, emojis, type ArgType, type CommandMessage
import assert from 'assert/strict';
import { Argument, ArgumentGeneratorReturn } from 'discord-akairo';
import { BaseChannel, GuildMember, User } from 'discord.js';
-import { BlockResult } from '../../lib/common/HighlightManager.js';
+import { HighlightBlockResult } from '../../lib/common/HighlightManager.js';
import { highlightSubcommands } from './highlight-!.js';
export default class HighlightBlockCommand extends BushCommand {
@@ -51,11 +51,11 @@ export default class HighlightBlockCommand extends BushCommand {
/* eslint-disable @typescript-eslint/no-base-to-string */
const content = (() => {
switch (res) {
- case BlockResult.ALREADY_BLOCKED:
+ case HighlightBlockResult.ALREADY_BLOCKED:
return `${emojis.error} You have already blocked ${args.target}.`;
- case BlockResult.ERROR:
+ case HighlightBlockResult.ERROR:
return `${emojis.error} An error occurred while blocking ${args.target}.`;
- case BlockResult.SUCCESS:
+ case HighlightBlockResult.SUCCESS:
return `${emojis.success} Successfully blocked ${args.target} from triggering your highlights.`;
}
})();