Skip to content

Commit cdc00ba

Browse files
committed
Minor changes from CR
* Empty lines for readability * Slightly rephrased a user facing string
1 parent d751fcb commit cdc00ba

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

application/src/main/java/org/togetherjava/tjbot/commands/free/ChannelMonitor.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,15 @@ public void updateStatusFor(@NotNull Guild guild) {
269269
"Guild %s is not configured in the free command system."
270270
.formatted(guild.getName()));
271271
}
272+
272273
long channelId = guildIdToStatusChannel.get(guild.getIdLong());
273274
TextChannel channel = guild.getTextChannelById(channelId);
275+
274276
if (channel == null) {
275277
throw new IllegalStateException("Status channel %d does not exist in guild %s"
276278
.formatted(channelId, guild.getName()));
277279
}
280+
278281
return channel;
279282
}
280283

application/src/main/java/org/togetherjava/tjbot/commands/free/UserStrings.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ enum UserStrings {
2525
Command not ready please try again in a minute.
2626
"""),
2727
NOT_MONITORED_ERROR("This channel is not being monitored for free/busy status. If you"
28-
+ " believe this channel should be part of the free/busy status system, please discuss it"
29-
+ " with a moderator."),
28+
+ " believe this channel should be part of the free/busy status system, please"
29+
+ " consult a moderator."),
3030
NOT_CONFIGURED_ERROR("""
3131
This guild (%s) is not configured to use the '/free' command.
3232
Please add entries in the config, restart the bot and try again.

0 commit comments

Comments
 (0)