We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d58b63e commit c954bc6Copy full SHA for c954bc6
src/main/java/oakbot/bot/Bot.java
@@ -53,6 +53,7 @@
53
public class Bot implements IBot {
54
private static final Logger logger = LoggerFactory.getLogger(Bot.class);
55
static final int BOTLER_ID = 13750349;
56
+ private static final Duration ROOM_JOIN_DELAY = Duration.ofSeconds(2);
57
58
private final String userName;
59
private final String trigger;
@@ -160,7 +161,7 @@ private void joinRoomsOnStart(boolean quiet) {
160
161
* resolve an issue where the bot chooses to ignore all messages
162
* in certain rooms.
163
*/
- Sleeper.sleep(2000);
164
+ Sleeper.sleep(ROOM_JOIN_DELAY);
165
}
166
167
try {
0 commit comments