mirror of
https://github.com/demodude4u/Factorio-FBSR.git
synced 2025-01-11 18:24:27 +02:00
Forgot to save file...
This commit is contained in:
parent
5ab4b368a6
commit
23ec85b6e7
@ -33,8 +33,8 @@ public class BlueprintBotIRCService extends AbstractIdleService {
|
||||
private PircBotX bot;
|
||||
|
||||
private String server;
|
||||
|
||||
private String channel;
|
||||
private String command;
|
||||
|
||||
private void handleBlueprintCommand(GenericMessageEvent event) {
|
||||
String content = event.getMessage();
|
||||
@ -96,7 +96,7 @@ public class BlueprintBotIRCService extends AbstractIdleService {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.getMessage().toLowerCase().startsWith("!blueprint ")) {
|
||||
if (event.getMessage().toLowerCase().startsWith(command + " ")) {
|
||||
handleBlueprintCommand(event);
|
||||
}
|
||||
}
|
||||
@ -113,6 +113,7 @@ public class BlueprintBotIRCService extends AbstractIdleService {
|
||||
|
||||
server = configJson.getString("server");
|
||||
channel = configJson.getString("channel");
|
||||
command = configJson.getString("command");
|
||||
Configuration configuration = new Configuration.Builder()//
|
||||
.setName(configJson.getString("name"))//
|
||||
.setNickservPassword(configJson.optString("password", null))//
|
||||
|
Loading…
Reference in New Issue
Block a user