Skip to content

Commit

Permalink
removed debugging thingamajigs
Browse files Browse the repository at this point in the history
  • Loading branch information
kidofcubes committed Jan 2, 2023
1 parent dff63b1 commit 6cced6a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/io/github/kidofcubes/EuphBridgeEuphoriaBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,8 @@ public void uploadLocalMessage(Message localMessage){
//map message parent
openBridges.forEach((key, value) -> {
if(roomSnowflakeMappings.get(key)!=null){
System.out.println("the parent was "+roomSnowflakeMappings.get(key).get(localMessage.parent));
if(roomSnowflakeMappings.get(key).containsKey(localMessage.parent)){
key.setName("<"+localMessage.sender.name+">");
System.out.println("the parent was "+roomSnowflakeMappings.get(key).get(localMessage.parent));
key.sendEuphoriaMessage(new Message(localMessage.content,roomSnowflakeMappings.get(key).get(localMessage.parent))).thenAccept((sentMessage) -> {
roomSnowflakeMappings.get(key).put(localMessage.id,sentMessage.id);
});
Expand Down

0 comments on commit 6cced6a

Please sign in to comment.