-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
24 lines (19 loc) · 708 Bytes
/
Copy pathMain.java
File metadata and controls
24 lines (19 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import Listeners.myEventListener;
import Utils.Rifts;
import javax.security.auth.login.LoginException;
import net.dv8tion.jda.core.AccountType;
import net.dv8tion.jda.core.JDA;
import net.dv8tion.jda.core.JDABuilder;
import net.dv8tion.jda.core.exceptions.RateLimitedException;
public class Main
{
public static JDA jda;
public static final String BOT_Token = "LEL";
public Main() {}
public static void main(String[] args)
throws LoginException, IllegalArgumentException, InterruptedException, RateLimitedException
{
jda = new JDABuilder(AccountType.BOT).addEventListener(new Object[] { new myEventListener() }).setToken("LEL").buildBlocking();
Rifts rifts = new Rifts();
}
}