Renamed BOT_LOG to ACTIVITY_LOG for clarity

This commit is contained in:
Salmonllama 2020-09-06 14:27:43 -04:00
parent 3bca668a97
commit 82f825e4e1
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ public class BotConfig {
public static String OUTFIT_LOG = "outfit log channel"; public static String OUTFIT_LOG = "outfit log channel";
@ConfigurationOption @ConfigurationOption
public static String BOT_LOG = "bot_log_channel"; public static String ACTIVITY_LOG = "bot_log_channel";
@ConfigurationOption @ConfigurationOption
public static String HYDRIX_ROLE = "hydrix role id here"; public static String HYDRIX_ROLE = "hydrix role id here";

View File

@ -18,7 +18,7 @@ public class Logger {
private final String OUTFIT_LOG = BotConfig.OUTFIT_LOG; private final String OUTFIT_LOG = BotConfig.OUTFIT_LOG;
private final String REPORT_LOG = BotConfig.REPORT_LOG; private final String REPORT_LOG = BotConfig.REPORT_LOG;
private final String JOIN_LOG = BotConfig.JOIN_LOG; private final String JOIN_LOG = BotConfig.JOIN_LOG;
private final String BOT_LOG = BotConfig.BOT_LOG; private final String ACTIVITY_LOG = BotConfig.ACTIVITY_LOG;
private final String SALMONLLAMA = BotConfig.BOT_OWNER; private final String SALMONLLAMA = BotConfig.BOT_OWNER;
private EmbedBuilder reportEmbed; private EmbedBuilder reportEmbed;
@ -54,7 +54,7 @@ public class Logger {
} }
public void logError(String errorMsg) { public void logError(String errorMsg) {
api.getServerTextChannelById(BOT_LOG).ifPresentOrElse(channel -> { api.getServerTextChannelById(ACTIVITY_LOG).ifPresentOrElse(channel -> {
// Log the thing // Log the thing
channel.sendMessage("error"); channel.sendMessage("error");
}, () -> { }, () -> {