Change error log channel.

This commit is contained in:
NovaFox161
2018-06-21 12:43:30 -05:00
parent 281f287b93
commit 3158f8d2eb
2 changed files with 7 additions and 4 deletions

View File

@@ -14,6 +14,9 @@ public class DisCalAPI {
public final long calId = 142107863307780097L;
public final long dreamId = 282662248365817867L;
public final long errorLog = 459411923935690752L;
public final long serverId = 375357265198317579L;
private DisCalAPI() {
}

View File

@@ -108,8 +108,8 @@ public class Logger {
//Get DisCal guild and channel..
IGuild guild = DisCalAPI.getAPI().getClient().getGuildByID(266063520112574464L);
IChannel channel = guild.getChannelByID(302249332244217856L);
IGuild guild = DisCalAPI.getAPI().getClient().getGuildByID(DisCalAPI.getAPI().serverId);
IChannel channel = guild.getChannelByID(DisCalAPI.getAPI().errorLog);
MessageManager.sendMessage(em.build(), "```" + shortError + "```", channel);
}
@@ -155,8 +155,8 @@ public class Logger {
//Get DisCal guild and channel..
IGuild guild = DisCalAPI.getAPI().getClient().getGuildByID(266063520112574464L);
IChannel channel = guild.getChannelByID(302249332244217856L);
IGuild guild = DisCalAPI.getAPI().getClient().getGuildByID(DisCalAPI.getAPI().serverId);
IChannel channel = guild.getChannelByID(DisCalAPI.getAPI().errorLog);
MessageManager.sendMessage(em.build(), "```" + message + "```", channel);
}