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