Skip to content

Commit

Permalink
Fix empty line when pvp ranks filtered, closes #282
Browse files Browse the repository at this point in the history
  • Loading branch information
versx authored Jun 23, 2022
1 parent f09ca2d commit 21adcfc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/embeds/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"{{/if}}{{#if is_ditto}}**Catch Pokemon:** {{original_pkmn_name}}",
"{{/if}}{{#if has_capture_rates}}{{capture_1_emoji}} {{capture_1}}% {{capture_2_emoji}} {{capture_2}}% {{capture_3_emoji}} {{capture_3}}%",
"{{/if}}{{#if is_event}}Go Fest Spawn",
"{{/if}}{{#if has_pvp}}",
"{{#each pvp}}**{{@key}}**",
"{{/if}}{{#if has_pvp}}{{#each pvp}}**{{@key}}**",
"{{#each this}}",
"#{{rank}} {{getPokemonName pokemonId}} {{getFormName formId}} {{cp}}CP @ L{{level}} {{formatPercentage percentage}}%",
"{{/each}}{{/each}}{{/if}}**[Google]({{gmaps_url}}) | [Apple]({{applemaps_url}}) | [Waze]({{wazemaps_url}}) | [Scanner]({{scanmaps_url}})**"
Expand Down

0 comments on commit 21adcfc

Please sign in to comment.