Removed checkstyle, using IDEA default code format.

This commit is contained in:
Erik C. Thauvin 2021-06-18 21:31:40 -07:00
parent fdd1fb7e42
commit 7c2ad09ff1
9 changed files with 56 additions and 306 deletions

View file

@ -52,8 +52,8 @@ public final class War extends AbstractModule {
// War command
private static final String WAR_CMD = "war";
// Deck of card
private static final String[] WAR_DECK =
{"Ace", "King", "Queen", "Jack", "10", "9", "8", "7", "6", "5", "4", "3", "2"};
private static final String[] WAR_DECK =
{"Ace", "King", "Queen", "Jack", "10", "9", "8", "7", "6", "5", "4", "3", "2"};
// Suits for the deck of card
private static final String[] WAR_SUITS = {"Hearts", "Spades", "Diamonds", "Clubs"};

View file

@ -130,7 +130,7 @@ class Twitter(bot: Mobibot) : ThreadedModule(bot) {
}
post(message = msg, isDm = false)
} catch (e: ModuleException) {
if (bot.logger.isWarnEnabled) logger.warn("Failed to post entry on Twitter.", e)
if (logger.isWarnEnabled) logger.warn("Failed to post entry on Twitter.", e)
}
}.start()
removeEntry(index)