Skip to content

Commit

Permalink
don't start webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Oct 14, 2023
1 parent 4101fc2 commit c08bcb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/vc/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}


@Bean
public GatewayDiscordClient gatewayDiscordClient() {
return DiscordClientBuilder.create(token).build()
Expand Down Expand Up @@ -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);
}
}
}
1 change: 1 addition & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spring.main.web-application-type=none

0 comments on commit c08bcb8

Please sign in to comment.