Revert "Revert "Added bot-room channel""
This reverts commit 416f110ca6
.
This commit is contained in:
parent
416f110ca6
commit
b5c0d481dc
3 changed files with 8 additions and 5 deletions
|
@ -75,6 +75,7 @@ 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;
|
||||
|
||||
|
@ -93,11 +94,13 @@ 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"); // bottest
|
||||
annchannel = devServer.getChannelByID("239519012529111040"); // bottest
|
||||
genchannel = devServer.getChannelByID("239519012529111040"); // bottest
|
||||
botchannel = devServer.getChannelByID("239519012529111040"); // bot-room
|
||||
annchannel = devServer.getChannelByID("239519012529111040"); // bot-room
|
||||
genchannel = devServer.getChannelByID("239519012529111040"); // bot-room
|
||||
botroomchannel = devServer.getChannelByID("239519012529111040");//bot-room
|
||||
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.botchannel, sb.toString());
|
||||
DiscordPlugin.sendMessageToChannel(DiscordPlugin.botroomchannel, 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.botchannel, sb.toString());
|
||||
DiscordPlugin.sendMessageToChannel(DiscordPlugin.botroomchannel, sb.toString());
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue