diff options
Diffstat (limited to 'src/commands/moulberry-bush/capes.ts')
-rw-r--r-- | src/commands/moulberry-bush/capes.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/commands/moulberry-bush/capes.ts b/src/commands/moulberry-bush/capes.ts index d5d8531..3590d9f 100644 --- a/src/commands/moulberry-bush/capes.ts +++ b/src/commands/moulberry-bush/capes.ts @@ -52,7 +52,12 @@ export default class CapesCommand extends BushCommand { const capes1: { name: string; url: string; index: number; purchasable?: boolean }[] = []; client.consts.mappings.capes.forEach((mapCape) => { if (!capes.some((gitCape) => gitCape.match!.groups!.name === mapCape.name) && mapCape.custom) { - capes1.push({ name: mapCape.name, url: mapCape.custom, index: mapCape.index, purchasable: mapCape.purchasable }); + capes1.push({ + name: mapCape.name, + url: mapCape.custom, + index: mapCape.index, + purchasable: mapCape.purchasable + }); } }); capes.forEach((gitCape) => { @@ -92,12 +97,7 @@ export default class CapesCommand extends BushCommand { } } - private makeEmbed(cape: { - name: string; - url: string; - index: number; - purchasable?: boolean | undefined; - }): MessageEmbedOptions { + private makeEmbed(cape: { name: string; url: string; index: number; purchasable?: boolean | undefined }): MessageEmbedOptions { return { title: `${cape.name} cape`, color: util.colors.default, |