aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/highlight-unblock.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/highlight-unblock.ts')
-rw-r--r--src/commands/utilities/highlight-unblock.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/commands/utilities/highlight-unblock.ts b/src/commands/utilities/highlight-unblock.ts
index 9413601..c437e6f 100644
--- a/src/commands/utilities/highlight-unblock.ts
+++ b/src/commands/utilities/highlight-unblock.ts
@@ -44,10 +44,7 @@ export default class HighlightUnblockCommand extends BushCommand {
return await message.util.reply(`${util.emojis.error} You can only unblock text-based channels.`);
const [highlight] = await Highlight.findOrCreate({
- where: {
- guild: message.guild.id,
- user: message.author.id
- }
+ where: { guild: message.guild.id, user: message.author.id }
});
const key = `blacklisted${args.target instanceof Channel ? 'Channels' : 'Users'}` as const;