Added jcenter()

This commit is contained in:
Erik C. Thauvin 2016-07-03 20:03:37 -07:00
parent 85c7fe14fd
commit 95c7c416cb
2 changed files with 1 additions and 4 deletions

View file

@ -46,6 +46,7 @@ mainClassName = packageName + '.Mobibot'
repositories { repositories {
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
jcenter()
} }
dependencies { dependencies {

View file

@ -934,7 +934,6 @@ public class Mobibot extends PircBot
{ {
send(sender, "To have the bot leave the channel and come back:"); send(sender, "To have the bot leave the channel and come back:");
send(sender, helpIndent("/msg " + getNick() + ' ' + Commands.CYCLE_CMD)); send(sender, helpIndent("/msg " + getNick() + ' ' + Commands.CYCLE_CMD));
} }
else if (lcTopic.equals(Commands.ME_CMD) && isOp(sender)) else if (lcTopic.equals(Commands.ME_CMD) && isOp(sender))
{ {
@ -963,7 +962,6 @@ public class Mobibot extends PircBot
send(sender, "To toggle your ignore status:"); send(sender, "To toggle your ignore status:");
send(sender, helpIndent(getNick() + ": " + Commands.IGNORE_CMD + ' ' + Commands.IGNORE_ME_KEYWORD)); send(sender, helpIndent(getNick() + ": " + Commands.IGNORE_CMD + ' ' + Commands.IGNORE_ME_KEYWORD));
} }
else if (lcTopic.equals(Tell.TELL_CMD) && tell.isEnabled()) else if (lcTopic.equals(Tell.TELL_CMD) && tell.isEnabled())
{ {
@ -971,7 +969,6 @@ public class Mobibot extends PircBot
} }
else else
{ {
for (final AbstractModule module : MODULES) for (final AbstractModule module : MODULES)
{ {
for (final String cmd : module.getCommands()) for (final String cmd : module.getCommands())
@ -1149,7 +1146,6 @@ public class Mobibot extends PircBot
private boolean isIgnoredNick(final String nick) private boolean isIgnoredNick(final String nick)
{ {
return Utils.isValidString(nick) && ignoredNicks.contains(nick.toLowerCase()); return Utils.isValidString(nick) && ignoredNicks.contains(nick.toLowerCase());
} }
/** /**