mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-02-11 05:58:26 -06:00
Change error log channel.
This commit is contained in:
@@ -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() {
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user