diff options
Diffstat (limited to 'src/commands/moulberry-bush')
-rw-r--r-- | src/commands/moulberry-bush/capes.ts | 14 | ||||
-rw-r--r-- | src/commands/moulberry-bush/rule.ts | 3 |
2 files changed, 8 insertions, 9 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, diff --git a/src/commands/moulberry-bush/rule.ts b/src/commands/moulberry-bush/rule.ts index 42745bb..fa421f5 100644 --- a/src/commands/moulberry-bush/rule.ts +++ b/src/commands/moulberry-bush/rule.ts @@ -32,8 +32,7 @@ const rules = [ }, { title: '7.) Impersonation', - description: - 'Do not try to impersonate others for the express intent of being deceitful, defamation , and/or personal gain.' + description: 'Do not try to impersonate others for the express intent of being deceitful, defamation , and/or personal gain.' }, { title: '8.) Swearing', description: 'Swearing is allowed only when not used as an insult.' }, { |