Skip to content

Commit

Permalink
Download2GDrive: Use PrefObj instead of "Bad Usage!" (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Velosh committed Apr 26, 2021
1 parent 712e043 commit 7572065
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void botReply(Update update, TelegramBot bot, PrefObj prefs) {
logger.error(e.getMessage(), e);
}
} else {
bot.sendMessage("Bad usage!", update);
bot.sendMessage(prefs.getString("bad_usage"), update);
}
} else {
bot.sendMessage(prefs.getString("only_master_can_run"), update);
Expand Down

0 comments on commit 7572065

Please sign in to comment.