mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 00:31:54 +00:00
Initial Discordbot Integration (#37)
This commit is contained in:
committed by
Daniel Ginovker
parent
42f545e0bc
commit
7b9e2f7163
@@ -8,6 +8,7 @@ import org.apache.mina.common.IoAcceptor;
|
||||
import org.apache.mina.transport.socket.nio.SocketAcceptor;
|
||||
import org.apache.mina.transport.socket.nio.SocketAcceptorConfig;
|
||||
|
||||
import redone.discord.JavaCord;
|
||||
import redone.event.CycleEventHandler;
|
||||
import redone.event.TaskScheduler;
|
||||
import redone.game.content.minigames.FightCaves;
|
||||
@@ -111,6 +112,12 @@ public class Server {
|
||||
*/
|
||||
System.out.println("Launching " + Constants.SERVER_NAME + "...");
|
||||
|
||||
/**
|
||||
* Start Discord Bot
|
||||
*/
|
||||
|
||||
JavaCord.init();
|
||||
|
||||
/**
|
||||
* Accepting Connections
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user