diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-27 16:57:39 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-27 16:57:39 -0400 |
commit | 877537043dd2a8ba16037f061716d9c6f7a5764a (patch) | |
tree | 9e9fd2c69b415d2f548e97d0d6abbf3bc8a314a8 /src/commands/moulberry-bush/capes.ts | |
parent | a1ab06dcfccef90192b90910aecdddbc505eca00 (diff) | |
download | tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.gz tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.tar.bz2 tanzanite-877537043dd2a8ba16037f061716d9c6f7a5764a.zip |
change printWidth to 130 and update dependecies
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, |