Improved weather help.

This commit is contained in:
Erik C. Thauvin 2017-04-02 20:15:22 -07:00
parent 312c0b572f
commit 8aaf9f1246
3 changed files with 7 additions and 3 deletions

View file

@ -13,9 +13,9 @@ import java.time.*;
* Annotation Processor</a>
*/
public final class ReleaseInfo {
private final static String buildmeta = "015";
private final static String buildmeta = "016";
private final static LocalDateTime date =
LocalDateTime.ofInstant(Instant.ofEpochMilli(1491187126281L), ZoneId.systemDefault());
LocalDateTime.ofInstant(Instant.ofEpochMilli(1491189257001L), ZoneId.systemDefault());
private final static int major = 0;
private final static int minor = 7;
private final static int patch = 0;

View file

@ -87,6 +87,10 @@ public class Weather2 extends AbstractModule {
public void helpResponse(final Mobibot bot, final String sender, final String args, final boolean isPrivate) {
bot.send(sender, "To display weather information:");
bot.send(sender, bot.helpIndent(bot.getNick() + ": " + WEATHER_CMD + " <city> [, <country code>]"));
bot.send(sender, "For example:");
bot.send(sender, bot.helpIndent(bot.getNick() + ": " + WEATHER_CMD + "paris, fr"));
bot.send(sender, "The default ISO 3166 country code is " + Utils.bold("US")
+ ". Zip codes are supported in the US.");
}
/**

View file

@ -5,4 +5,4 @@ version.major=0
version.minor=7
version.patch=0
version.prerelease=beta
version.buildmeta=015
version.buildmeta=016