parent
0ba9803644
commit
416f110ca6
3 changed files with 5 additions and 8 deletions
|
@ -75,7 +75,6 @@ public class DiscordPlugin extends JavaPlugin implements IListener<ReadyEvent> {
|
|||
public static IChannel annchannel;
|
||||
public static IChannel genchannel;
|
||||
public static IChannel chatchannel;
|
||||
public static IChannel botroomchannel;
|
||||
|
||||
public static boolean Test = true;
|
||||
|
||||
|
@ -94,13 +93,11 @@ public class DiscordPlugin extends JavaPlugin implements IListener<ReadyEvent> {
|
|||
annchannel = mainServer.getChannelByID("126795071927353344"); // announcements
|
||||
genchannel = mainServer.getChannelByID("125813020357165056"); // general
|
||||
chatchannel = mainServer.getChannelByID("249663564057411596"); // minecraft_chat
|
||||
botroomchannel = devServer.getChannelByID("239519012529111040");//bot-room
|
||||
dc.changeStatus(Status.game("on TBMC"));
|
||||
} else {
|
||||
botchannel = devServer.getChannelByID("239519012529111040"); // bot-room
|
||||
annchannel = devServer.getChannelByID("239519012529111040"); // bot-room
|
||||
genchannel = devServer.getChannelByID("239519012529111040"); // bot-room
|
||||
botroomchannel = devServer.getChannelByID("239519012529111040");//bot-room
|
||||
botchannel = devServer.getChannelByID("239519012529111040"); // bottest
|
||||
annchannel = devServer.getChannelByID("239519012529111040"); // bottest
|
||||
genchannel = devServer.getChannelByID("239519012529111040"); // bottest
|
||||
chatchannel = devServer.getChannelByID("248185455508455424"); // minecraft_chat_test
|
||||
dc.changeStatus(Status.game("testing"));
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ public class DebugMessageListener implements Listener{
|
|||
message = message.substring(0, 2000);
|
||||
sb.append(message).append("\n");
|
||||
sb.append("```");
|
||||
DiscordPlugin.sendMessageToChannel(DiscordPlugin.botroomchannel, sb.toString());
|
||||
DiscordPlugin.sendMessageToChannel(DiscordPlugin.botchannel, sb.toString());
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ public class ExceptionListener implements Listener {
|
|||
stackTrace = stackTrace.substring(0, 2000);
|
||||
sb.append(stackTrace).append("\n");
|
||||
sb.append("```");
|
||||
DiscordPlugin.sendMessageToChannel(DiscordPlugin.botroomchannel, sb.toString());
|
||||
DiscordPlugin.sendMessageToChannel(DiscordPlugin.botchannel, sb.toString());
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue