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

@ -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.");
}
/**