This commit is contained in:
Erik C. Thauvin 2020-04-29 11:52:28 -07:00
parent 1a5ae72d6e
commit 725937bf61
2 changed files with 4 additions and 4 deletions

View file

@ -85,7 +85,7 @@ public class FeedReader implements Runnable {
final List<SyndEntry> items = feed.getEntries();
if (items.isEmpty()) {
bot.send(sender, "There is currently nothing to view. Why don't you post something?", false);
bot.send(sender, "There is currently nothing to view.", false);
} else {
SyndEntry item;
for (int i = 0; (i < items.size()) && (i < MAX_ITEMS); i++) {

View file

@ -240,12 +240,12 @@ public final class CurrencyConverter extends ThreadedModule {
} else {
bot.send(sender, "To convert from one currency to another:", isPrivate);
bot.send(sender,
Utils.helpIndent(Utils.helpFormat("%c " + CURRENCY_CMD + " 100 USD to EUR", bot.getNick(), false)),
isPrivate);
Utils.helpIndent(Utils.helpFormat("%c " + CURRENCY_CMD + " 100 USD to EUR",
bot.getNick(), isPrivateMsgEnabled())), isPrivate);
bot.send(sender, "For a listing of current rates:", isPrivate);
bot.send(sender,
Utils.helpIndent(Utils.helpFormat("%c " + CURRENCY_CMD + ' ' + CURRENCY_RATES_KEYWORD,
bot.getNick(), false)), isPrivate);
bot.getNick(), isPrivateMsgEnabled())), isPrivate);
bot.send(sender, "The supported currencies are: ", isPrivate);
bot.sendList(sender, new ArrayList<>(EXCHANGE_RATES.keySet()), 11, isPrivate, false);
}