Add basic project structure with Maven and JDA
This commit is contained in:
21
src/main/java/wtf/beatrice/hidekobot/HidekoBot.java
Normal file
21
src/main/java/wtf/beatrice/hidekobot/HidekoBot.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package wtf.beatrice.hidekobot;
|
||||
|
||||
import net.dv8tion.jda.api.JDA;
|
||||
import net.dv8tion.jda.api.JDABuilder;
|
||||
|
||||
import javax.security.auth.login.LoginException;
|
||||
|
||||
public class HidekoBot
|
||||
{
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
try
|
||||
{
|
||||
JDA jda = JDABuilder.createDefault("token").build();
|
||||
} catch (LoginException e)
|
||||
{
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user