File tree 4 files changed +15
-3
lines changed
src/main/java/com/baeldung/discordbot
4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1
- README.md
2
1
target /
3
2
! .mvn /wrapper /maven-wrapper.jar
4
3
! ** /src /main /** /target /
Original file line number Diff line number Diff line change
1
+ ## DISCORD4J
2
+
3
+ This module contains articles about Discord4J
4
+
5
+ ### Relevant Articles:
6
+
7
+ - [ Creating a Discord Bot with Discord4J + Spring Boot] ( https://www.baeldung.com/spring-discord4j-bot )
Original file line number Diff line number Diff line change 23
23
<groupId >org.springframework.boot</groupId >
24
24
<artifactId >spring-boot-starter</artifactId >
25
25
</dependency >
26
+ <dependency >
27
+ <groupId >org.springframework.boot</groupId >
28
+ <artifactId >spring-boot-starter-webflux</artifactId >
29
+ </dependency >
30
+ <dependency >
31
+ <groupId >org.springframework.boot</groupId >
32
+ <artifactId >spring-boot-starter-actuator</artifactId >
33
+ </dependency >
26
34
27
35
<dependency >
28
36
<groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ public <T extends Event> GatewayDiscordClient gatewayDiscordClient(List<EventLis
36
36
.onErrorResume (listener ::handleError )
37
37
.subscribe ();
38
38
}
39
-
40
- client .onDisconnect ().block ();
41
39
}
42
40
catch ( Exception exception ) {
43
41
log .error ( "Be sure to use a valid bot token!" , exception );
You can’t perform that action at this time.
0 commit comments