Update Gachabot to only announce on net gains of cards.

This commit is contained in:
sigonasr2 2018-11-30 15:07:39 -06:00
parent 5493ba3ceb
commit 1063e1f25a
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -389,7 +389,7 @@ public class GachaBot {
oldcardcount = cardcount;
}
}
if (cardcount != oldcardcount) {
if (cardcount != oldcardcount && cardcount>oldcardcount) {
int newCards = (cardcount-oldcardcount);
BandoriBot.bot.getTextChannelById(509845287284768801l).sendMessage("**"+newCards+" new cards are now available! Good Luck!** ("+(Card.star2total+Card.star3total+Card.star4total)+" total)").queue();
String[] newdata = new String[]{Integer.toString(cardcount)};