diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..07827cc --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +target/ +.idea/ \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..18f67f4 --- /dev/null +++ b/pom.xml @@ -0,0 +1,52 @@ + + + 4.0.0 + + wtf.beatrice.hidekobot + HidekoBot + 1.0-SNAPSHOT + + + 16 + 16 + UTF-8 + + + + + net.dv8tion + JDA + 5.0.0-alpha.18 + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + package + + single + + + + + wtf.beatrice.hidekobot.HidekoBot + + + + jar-with-dependencies + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/wtf/beatrice/hidekobot/HidekoBot.java b/src/main/java/wtf/beatrice/hidekobot/HidekoBot.java new file mode 100644 index 0000000..9a0d814 --- /dev/null +++ b/src/main/java/wtf/beatrice/hidekobot/HidekoBot.java @@ -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); + } + } +}