Add basic project structure with Maven and JDA

This commit is contained in:
2022-08-25 21:51:00 +02:00
parent 554c342ae8
commit 5d34048ae6
3 changed files with 75 additions and 0 deletions

View 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);
}
}
}