diff options
Diffstat (limited to 'src/commands/utilities/highlight-show.ts')
-rw-r--r-- | src/commands/utilities/highlight-show.ts | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/commands/utilities/highlight-show.ts b/src/commands/utilities/highlight-show.ts index 0558005..48b4971 100644 --- a/src/commands/utilities/highlight-show.ts +++ b/src/commands/utilities/highlight-show.ts @@ -8,7 +8,7 @@ export default class HighlightShowCommand extends BushCommand { super('highlight-show', { aliases: [], category: 'utilities', - description: highlightSubcommands.show, + description: highlightSubcommands.show.description, usage: [], examples: [], clientPermissions: [], @@ -19,9 +19,7 @@ export default class HighlightShowCommand extends BushCommand { public override async exec(message: CommandMessage | SlashMessage) { assert(message.inGuild()); - const [highlight] = await Highlight.findOrCreate({ - where: { guild: message.guild.id, user: message.author.id } - }); + const [highlight] = await Highlight.findOrCreate({ where: { guild: message.guild.id, user: message.author.id } }); void this.client.highlightManager.syncCache(); @@ -60,9 +58,6 @@ export default class HighlightShowCommand extends BushCommand { } ]); - return await message.util.reply({ - embeds: [embed], - allowedMentions: AllowedMentions.none() - }); + return await message.util.reply({ embeds: [embed], allowedMentions: AllowedMentions.none() }); } } |