Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #524 from AmyAssist/rainTodayFix
Browse files Browse the repository at this point in the history
fix will it rain today
  • Loading branch information
Hobbitsloth authored Sep 30, 2018
2 parents 49cf905 + 8d0e188 commit dec24ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ private String stringifyRainCheck(double probability, String precipType, String
return "0% chance of rain " + suffix + "!";
}

return round(probability * 100) + chanceOf + precipType + suffix;
return round(probability * 100) + chanceOf + precipType + " " + suffix + "!";

}

Expand Down
4 changes: 2 additions & 2 deletions plugins/weather/src/main/resources/WeatherSpeech.aim.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<gram>(today|tomorrow|on the weekend)</gram>
</EntityTemplate>
<EntityTemplate id="locationname" required="false">
<gram>*</gram>
<gram>+</gram>
</EntityTemplate>
</EntityTemplates>
</Intent>
Expand All @@ -49,4 +49,4 @@
</EntityTemplate>
</EntityTemplates>
</Intent>
</AmyInteractionModel>
</AmyInteractionModel>

0 comments on commit dec24ef

Please sign in to comment.