diff --git a/src/main/java/vc/Application.java b/src/main/java/vc/Application.java index 1bfdbd9..f3fd7c9 100644 --- a/src/main/java/vc/Application.java +++ b/src/main/java/vc/Application.java @@ -24,7 +24,6 @@ public static void main(String[] args) { SpringApplication.run(Application.class, args); } - @Bean public GatewayDiscordClient gatewayDiscordClient() { return DiscordClientBuilder.create(token).build() @@ -52,6 +51,8 @@ public PlayerLookup playerLookup() { @Override public void run(final ApplicationArguments args) throws Exception { - System.out.println("Application started"); + while (true) { + Thread.sleep(100000); + } } } diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e69de29..b420d3f 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.main.web-application-type=none