diff options
Diffstat (limited to 'src/commands/utilities/highlight-block.ts')
-rw-r--r-- | src/commands/utilities/highlight-block.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/commands/utilities/highlight-block.ts b/src/commands/utilities/highlight-block.ts index efc5437..4ad1a86 100644 --- a/src/commands/utilities/highlight-block.ts +++ b/src/commands/utilities/highlight-block.ts @@ -49,10 +49,7 @@ export default class HighlightBlockCommand extends BushCommand { return await message.util.reply(`${util.emojis.error} You can only block 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; |