test
This commit is contained in:
parent
e391d3e48e
commit
3e16f212da
@ -14,7 +14,7 @@ COPY src ./src
|
|||||||
RUN mvn clean package -T12
|
RUN mvn clean package -T12
|
||||||
|
|
||||||
# Stage 2: Running
|
# Stage 2: Running
|
||||||
FROM openjdk:17.0.1-jdk-slim
|
FROM openjdk:17.0.2-jdk-slim
|
||||||
|
|
||||||
# Set the work dir inside the container
|
# Set the work dir inside the container
|
||||||
WORKDIR /usr/local/app
|
WORKDIR /usr/local/app
|
||||||
|
@ -157,8 +157,11 @@ public final class DiscordService {
|
|||||||
log.info("Logging in..."); // Log that we're logging in
|
log.info("Logging in..."); // Log that we're logging in
|
||||||
System.out.println("Step 1");
|
System.out.println("Step 1");
|
||||||
JDA jda = JDABuilder.createDefault(token)
|
JDA jda = JDABuilder.createDefault(token)
|
||||||
// .setActivity(Activity.watching("your licenses"))
|
.enableIntents(
|
||||||
// .addEventListeners(new EventHandler())
|
GatewayIntent.GUILD_MEMBERS
|
||||||
|
).setStatus(OnlineStatus.DO_NOT_DISTURB)
|
||||||
|
.setActivity(Activity.watching("your licenses"))
|
||||||
|
.addEventListeners(new EventHandler())
|
||||||
.build();
|
.build();
|
||||||
System.out.println("step 2");
|
System.out.println("step 2");
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user