Removed checkstyle, using IDEA default code format.
This commit is contained in:
parent
fdd1fb7e42
commit
7c2ad09ff1
9 changed files with 56 additions and 306 deletions
|
@ -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"};
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue