Compare commits

..

2 commits

Author SHA1 Message Date
ffff84b427 misc: Remove docker compose version
It is now deprecated.
2024-06-27 20:13:32 +02:00
d694ee0a11 bot: Add debug logging 2024-06-27 20:12:53 +02:00
3 changed files with 2 additions and 2 deletions

View file

@ -35,6 +35,7 @@ public final class ServerMessageHandler implements MessageHandler {
@Override @Override
public void handle(final MessageCreateEvent event) throws ResponseException, IOException, InterruptedException { public void handle(final MessageCreateEvent event) throws ResponseException, IOException, InterruptedException {
logger.debug("Handling server event");
final String content = extractContent(event); final String content = extractContent(event);
final long serverId = event.getServer().get().getId(); final long serverId = event.getServer().get().getId();
final String systemMessage = this.serverDBService.getConfig(String.valueOf(serverId)).get().systemMessage(); final String systemMessage = this.serverDBService.getConfig(String.valueOf(serverId)).get().systemMessage();

View file

@ -29,6 +29,7 @@ public final class UserMessageHandler implements MessageHandler {
@Override @Override
public void handle(final MessageCreateEvent event) throws ResponseException, IOException, InterruptedException { public void handle(final MessageCreateEvent event) throws ResponseException, IOException, InterruptedException {
logger.debug("Handling user event");
final String content = event.getReadableMessageContent(); final String content = event.getReadableMessageContent();
final String userId = String.valueOf(event.getMessageAuthor().getId()); final String userId = String.valueOf(event.getMessageAuthor().getId());
final UserConfig config = this.userDBService.getConfig(userId).get(); final UserConfig config = this.userDBService.getConfig(userId).get();

View file

@ -1,5 +1,3 @@
version: "3"
services: services:
monolith: monolith:
image: git.hhhammer.de/hamburghammer/dchat/monolith:latest image: git.hhhammer.de/hamburghammer/dchat/monolith:latest