From c08bcb82aec83f662dd264716c014c5ea8166ec4 Mon Sep 17 00:00:00 2001 From: rfresh2 <89827146+rfresh2@users.noreply.github.com> Date: Fri, 13 Oct 2023 21:05:33 -0700 Subject: [PATCH] don't start webserver --- src/main/java/vc/Application.java | 5 +++-- src/main/resources/application.properties | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) 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