Renamed BOT_LOG to ACTIVITY_LOG for clarity
This commit is contained in:
parent
3bca668a97
commit
82f825e4e1
@ -58,7 +58,7 @@ public class BotConfig {
|
||||
public static String OUTFIT_LOG = "outfit log channel";
|
||||
|
||||
@ConfigurationOption
|
||||
public static String BOT_LOG = "bot_log_channel";
|
||||
public static String ACTIVITY_LOG = "bot_log_channel";
|
||||
|
||||
@ConfigurationOption
|
||||
public static String HYDRIX_ROLE = "hydrix role id here";
|
||||
|
@ -18,7 +18,7 @@ public class Logger {
|
||||
private final String OUTFIT_LOG = BotConfig.OUTFIT_LOG;
|
||||
private final String REPORT_LOG = BotConfig.REPORT_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 EmbedBuilder reportEmbed;
|
||||
@ -54,7 +54,7 @@ public class Logger {
|
||||
}
|
||||
|
||||
public void logError(String errorMsg) {
|
||||
api.getServerTextChannelById(BOT_LOG).ifPresentOrElse(channel -> {
|
||||
api.getServerTextChannelById(ACTIVITY_LOG).ifPresentOrElse(channel -> {
|
||||
// Log the thing
|
||||
channel.sendMessage("error");
|
||||
}, () -> {
|
||||
|
Loading…
Reference in New Issue
Block a user